[MEncoder-users] Re: Mencoder: converting to mp4, quicktime problem

Michael Hobbs mike at hobbshouse.org
Mon Jun 19 23:03:26 CEST 2006


sentenza <sentenza9 <at> gmail.com> writes:

> 
> >
> >
> > -lavcopts vglobal=1:aglobal=1
> >
> > [...]
> > --
> > Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> >
> > In the past you could go to a library and read, borrow or copy any book
> > Today you'd get arrested for mere telling someone where the library is
> > _______________________________________________
> > MEncoder-users mailing list
> > MEncoder-users <at> mplayerhq.hu
> > http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
> >
> 
> I tried with thoses options but QT always has error. Now this isn't data
> sequence error but an unknown error ...
> Temporarily, to solve the problem, after encoded the mp4 with mencoder, I
> encode it again with ffmpeg, because the mp4 generated with ffmpeg is well
> played :/
> 

Try including:
-ffourcc mp4v

Here are some command line settings that work for me (adapted from 
http://ffmpeg.mplayerhq.hu/faq.html#SEC16):

mencoder "$infile" -vf scale=320:240 -oac faac -faacopts mpeg=4:raw:br=128 -ovc 
lavc -lavcopts 
vcodec=mpeg4:vbitrate=1200:mbd=2:cmp=2:subcmp=2:trell=yes:v4mv=yes:aic=2:vglobal
=1:aglobal=1 -ffourcc mp4v -of lavf -lavfopts 
format=mp4:i_certify_that_my_video_stream_does_not_use_b_frames -o "$outfile"

or

mencoder "$infile" -vf scale=320:240 -oac lavc -ovc lavc -lavcopts 
acodec=aac:abitrate=128:vcodec=mpeg4:vbitrate=1200:mbd=2:cmp=2:subcmp=2:trell=ye
s:v4mv=yes:aic=2:vglobal=1:aglobal=1 -ffourcc mp4v -of lavf -lavfopts 
format=mp4:i_certify_that_my_video_stream_does_not_use_b_frames -o "$outfile"







More information about the MEncoder-users mailing list