Original paste: Http://linuxdesktop.cn/2007/07/25/ffmpeg-convert-flv-to-mpeg
convert FLV to MPEG in ffmpeg 2007-07-25 13:50 | Classified Audio and video | by Tualatrix | 315 Times Read
YouTube downloads some video from the FLV format, but it's a little bit of a problem.
Originally mplayer can be very good support for the FLV file playback, direct play Open is. But put the audio and video will appear in the different step, need to modify the configuration.
There are also some flv, the sound image will have a problem when playing with MPlayer. Use other players to put, but because there is no like mplayer with X11/XIMAGE/SHM this to render the video, as long as I move other things the image will disappear, you have to shake the window to do. In case I can't find a good flv player for the time being, I think I'm going to convert the problematic FLV to MPEG format so that it's all happy with MPlayer.
First sudo apt-get install ffmpeg to install this thing. FFmpeg is really a terrible thing, it is not only a video conversion software, because the light is in the terminal hit FFmpeg, will come out up to 156 lines of command line parameters ... It's so hard to master it, and today I'm going to talk about its video conversion function.
Suppose the file name to be converted is: 03.flv, then execute
Ffmpeg-i 03.flv 03.avi
Then wait for it to convert finished, what resolution AH, rate ah, are automatic recognition, do not have to do it yourself.
FFmpeg is a powerful thing, learn it will certainly give its own audio-visual processing to help a lot of busy.
PS: If there is a good front end, haha ~