Today we will see the contrary to what was published in How to convert YouTube video to mpeg. Remember you must have mpeg supported in ffmpeg, access this post How to compile and install ffmpeg in Ubuntu 11.04 to know how you can do that.
So, open a terminal and run:
ffmpeg -i [file_name.mpg] -ab 56k -ar 22050 -b 500k -s 352x288 [file_name.flv]
ffmpeg -i video.mpg -ab 64k -ar 22050 -b 733k -s 352x288 video.flv
Like was posted in How to convert YouTube video to mpeg you can get some information about the file you want to convert. Still in the terminal and using the example above, type:
ffmpeg -i video.mpg
That’s it. See you next time.