[FFmpeg-user] From mpeg2 to mpeg4
michael.rampe at gmail.com
Tue Oct 25 23:55:47 CEST 2011
Jonathan Isom wrote:
> On Sun, Oct 23, 2011 at 1:41 PM, Lorenzo Travaglio
> <lorenzo.travaglio@> wrote:
>> On Sun, 23/10/2011 17:34, Jonathan Isom wrote:
>>> The first thing just about anybody on this list will tell you is
>>> that you are using a
>>> very old(2009) version. You should try to install a recent version.
>>> FFmpeg is under
>>> constant development so many options have changed and codecs improved.
>>> It would
>>> also be beneficial to know the command line you tried. Also are you
>>> wanting just
>>> mpeg4 or mpeg4 AVC(aka h.264)?
>> Thank you Jonathan for your answer.
>> This package is declared as "up-to-date" by apt-get. However I will try
>> download the source and to recompile even because some switches like '-a'
>> change the aspect ratio do not work.
>> I tried many command line like "ffmpeg -i prova.mpg -vcodec mpeg4
>> prova4.mpg" but the results are very poor. In this particular case I
>> obtained a reduced but not visible file. In other cases I obtained
>> versions but video was very poor, as with "ffmpeg -i prova.mpg -s 720*368
>> prova3.mpg" or "ffmpeg -i prova.mpg -r 50 prova2.mpg".
> You may wish to add a bitrate for the video(-b) and audio(-ab). -r is
> for framerate. you may get better results
> with 25 than 50 though that cuts it in half. You'll have to test for
> your needs.
> ffmpeg -i prova.mpg -vcodec mpeg4 -b 800000 -ac 2 -acodec mp3 -ab
> 128000 -r 50 -s 720x368 prova2.mpg
mpeg4 video is not supported in a .mpg container.
use .mp4 for your output instead.
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/From-mpeg2-to-mpeg4-tp3930435p3938428.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
More information about the ffmpeg-user