Alex Balgavy

Just some stuff about me.

Here's my dotfiles repository.

Check out my blog.

My keys: PGP, SSH

My crypto wallets (BTC, XMR)

ffmpeg how to convert flv to mp4

Written by John Riselvato - original link

Remember when flash was a big thing? Well turns out there are still video players online that use Flash Live Video (flv) to stream video. If you run into these files from a download, you might be hard pressed to find a player that works for it. So converting to mp4 is ideal: 

$ ffmpeg -i input.flv -vcodec libx264 output.mp4

NOTE: You’ll notice in this example, we had to specify a -vcodec libx264, this is good practice as the default codec (mpeg4 on some machines) for mp4 conversions might downgrade video quality. 

Luckily, that’s all it takes to convert FLV to MP4. Extremely easy and quick.