Video/Audio Encoding Cheat Sheet for FFmpeg.
Video/Audio Encoding Cheat Sheet
This is a small personal cheat sheet for encoding audio/video encoding where I put some of my most used stuff with FFmpeg and other tools. I use H.264 and AAC on MP4, M4V or MKV container most of the time.
If you have any question just contact me.
Video editing Ubuntu – Wiki.
one pass: ffmpeg -i input -acodec libfaac -ab 128k -vcodec libx264 -vpre slow -crf 22(smaller value=higher quality/bitrate) -threads 0 output.mp4 2pass: Instead of using -crf you use a determined bitrate which can be useful while converting some kind of videos and permit to have a stable output size ffmpeg -y -i “input” -an -vcodec libx264