How to convert online flash or flv (youtube) videos into mpeg format using ffmpeg

Although youtube provides high quality videos now, there is still a lot of media content on the web which is available in flv. In this howto, I will show you how to convert those flv files into mpeg format using ffmpeg in a single command.

Suppose we have a file video.flv and we want to convert it into video.mpeg. This is how we convert a flv file into mpeg using FFmpeg.

[shredder12]$ ffmpeg -i video.flv -sameq video.mpeg

Yes, exactly its that simple. You can do a bit of tweaking with various other ffmpeg flags but since the specs of a flv file are already pretty low, its better to let the default method handle it

1 Comment

ffmpeg-windows-user (not verified)
September 18th, 2010 10:29 am
i can help you with converting video files, gianmhl@yahoo.com

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <img> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <h1> <h2> <h3> <h4> <h5> <h6> <p> <br>
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Use syntax $$latex$$ to insert LaTeX formulas.
  • Image links with 'rel="lightbox"' in the <a> tag will appear in a Lightbox when clicked on.
  • Search Engines will index and follow ONLY links to allowed domains.

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.