Last active
August 24, 2020 09:44
-
-
Save waltercool/0723f53ed479c25061bcdb1178198c97 to your computer and use it in GitHub Desktop.
ffmpeg personal swissknife
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Compress x265 with deinterlace using Cuda | |
ffmpeg -hwaccel cuvid -i <INPUT> -pix_fmt p010le -vf yadif -c:v hevc_nvenc -preset slow -acodec copy <OUTPUT> #NOT WORKING ANYMORE | |
ffmpeg -i <INPUT> -vf yadif=parity=auto -vcodec hevc_nvenc -acodec copy -preset slow <OUTPUT> | |
# Merge Video+Audio | |
ffmpeg -i <Video> -i <Audio> -codec copy -shortest <OUTPUT> | |
# Extract audio from Video under Mono | |
ffmpeg -i <VIDEO> -vn -ac 1 <Audio> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment