Tips: Convert flv to mpg or avi


Following converts video.flv into video.mpg file:

CODE
ffmpeg -i video.flv -ab 56 -ar 22050 -b 500 -s 320x240 video.mpg

and following convertsĀ  video.flv into video.AVI with MP3 Audio:

CODE
ffmpeg -i I_test.flv -ab 56 -ar 22050 -b 500 -s 320x240 -vcodec xvid -acodec mp3 video.avi