3000 explained code solutions for 75 technologies

ffmpegHow to use presets

ffmpeg -i in.mp4 -c:v libx264 -preset slow -crf 22 -c:a copy out.mkvctrl + c

name of the package to install

-i in.mp4

input video file

-c:v libx264

use H.264 codec


specify preset (mode) to use for conversion, where ultrafast is fastest but primitive and veryslow is slowest but most efficient


we want to use slow preset - average efficiency and speed


resulting file