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.
Love FFmpeg? Grab a copy of FFmpeg For Beginners on Kindle or Paperback to learn over 120 ways to master FFmpeg!