📽 ffmpeg

Latest FFMPEG build – https://jeremylee.sh/bin.html/

HEVC 10-bit Encoding using Nvidia NVENC
ffmpeg -i myfile.mkv -c:v hevc_nvenc -global_quality 22 -profile:v main10 -tier high -preset:v slow my_new_video.mkv
HEVC Encoding using Intel Quicksync
ffmpeg -i myfile.mkv -c:v hevc_qsv -load_plugin hevc_hw -preset:v slow -global_quality 20 my_new_video.mkv
Burn subtitle file into video image (Hard Coded)
ffmpeg -i video.mp4 -vf subtitles=subtitle.srt out.mkv
Burn subtitles into video from embedded subtitle file (Hard Coded)
ffmpeg -i video.mkv -vf subtitles=video.mkv out.avi
Concat / Join Files
ffmpeg -i "concat:input1.ts|input2.ts|input3.ts" -c copy output.ts
Resize Video to 720p
ffmpeg -i myfile.mkv -s 1280x720 my_new_video.mkv
Encode a specific duration / Creating a clip
-ss: Offset time from beginning. Value can be in seconds or HH:MM:SS format.
-t: Output duration. Value can be in seconds or HH:MM:SS format.
ffmpeg -i myfile.mkv -ss 00:05:00 -t 30 my_new_file.mkv
Deinterlace video using the Bob Weaver Deinterlacing Filter encoding to HEVC CRF=22 and AAC 2-channel audio
ffmpeg -i tv_show.mkv -c:v hevc crf=22 -vf bwdif -c:a aac -ac 2 output.mkv
Map only english audio tracks
ffmpeg -i input_file.mkv -map 0:v -map 0:m:language:eng out_file.mkv
Facebook Comments Box