

Now lets create a new script: ffmpeg -i bigBuckBunny.mp4 -c:v libx264 -crf 18 -preset:v veryslow -c:a aac -b:a 128k bugBuckBunny-converted.mp4

So first off we need a video to convert, any video will do but I'll be using Big Buck Bunnys MP4 video found here, I've actually gone for the 4K version but anything will do, and for the purpose of this guide I've renamed it to "bigBuckBunny.mp4". Since the internet is full of guides for H.264, there's little to no point in me creating another one, instead we'll go through the process of creating a batch file which will give us a multi-use ability to convert any video we want into a high quality, or low quality it's your choice, video file using the H.264 codec, plus some audio, all using FFmpeg.

H.264 is a great codec, ofcourse it's been superceeded by it's more powerful brother H.265 but it's still very much in use and certainly will not be going away anytime soon, so there's no reason to abandon it yet.
