|
Converting movie formats
convert .flv to .mpg using ffmpeg
The following is from this page
First you need to download your .flv file to a folder and you need to Open a terminal window and go in to the .flv file folder and type the following command
ffmpeg -i jokes.flv -ab 56 -ar 22050 -b 500 -s 320x240 jokes.mpg
jokes.flv is the file you want to convert, so the name must be the same as the source file.You can name jokes.mpg whatever you want as long as it has the .mpg extension.
-b bitrate: set the video bitrate in kbit/s (default = 200 kb/s)
-ab bitrate: set the audio bitrate in kbit/s (default = 64)
-ar sample rate: set the audio samplerate in Hz (default = 44100 Hz)
-s size: set frame size. The format is WxH (default 160x128 )
convert mpg to flv using ffmpeg
ffmpeg -i mymovie.mpg -ar 44100 mymovie.flv
This works. It can also work to convert mp4 to avi:
ffmpeg -i mymovie.mp4 -ar 44100 mymovie.avi
...and apparently for converting between many more formats.
I found the above at this link.
|