Wednesday, June 2, 2010

Convert mp4 to mpg

Use ffmpeg

ffmpeg -i strong.mp4 -ab 56 -ar 22050 -b 200  str.mpg

See explanation of the parameters in the post http://kheyali.blogspot.com/2010/05/convert-flv-to-mpg-using-ffmpeg.html

But this gives a blocky ouput. To finely control the quality of the output use -qscale option. -qscale 1 gives best image quality 2 ,3 ... are progressively worse but generate files of smaller size. It is all a size and quality balancing game.

ffmpeg -i strong.mp4 -ab 56 -ar 22050 -qscale 6  str6.mpg

No comments:

OK GOOGLE on Samsung Galaxy S7 doesn’t work

To make Ok Google detection work on Galaxy S7 (Galaxy series phones) we need to perform a couple of steps. 1. As long as Samsung S vo...