[MEncoder-users] Producing .mp4 files?

Stephen Norum snorum at slac.stanford.edu
Thu Jan 11 02:27:55 CET 2007


Hello,

I'm using x264 svn rev 617 and mencoder svn rev 21877.  Following the  
instructions on the page, I get the following errors:

Option x264encopts: Unknown suboption 4x4mv
Option x264encopts: Bad argument direct_pred=3

when "4x4mv" and "direct_pred=3" options for x264encopts are used.   
Setting direct_pred to one of "none", "spatial", "temporal", or  
"auto", and removing "4x4mv" allows mencoder to process the input  
file using these commands:

Pass 1
--------------
mencoder ../301.vob -o /dev/null -ss 00:15:05 -endpos 00:00:10 - 
passlogfile 301.log -ovc x264 \
-x264encopts  
pass=1:bitrate=300:frameref=1:subq=1:bframes=1:me=umh:trellis=1:qp_step= 
4:qcomp=0.7:direct_pred=auto:keyint=300:threads=2 \
-vf crop=640:480,scale=-10:-1,yadif,harddup \
-oac faac -faacopts br=128:mpeg=4:object=1 -channels 2 -srate  
48000     \
-ofps 30000/1001


Pass 2
--------------
mencoder ../301.vob -o 301.avi -ss 00:15:05 -endpos 00:00:10 - 
passlogfile 301.log -ovc x264 \
-x264encopts  
pass=2:bitrate=300:frameref=5:subq=6:bframes=1:me=umh:trellis=1:qp_step= 
4:qcomp=0.7:direct_pred=auto:keyint=300:threads=2 \
-vf crop=640:480,scale=-10:-1,yadif,harddup \
-oac faac -faacopts br=128:mpeg=4:object=1 -channels 2 -srate 48000 \
-ofps 30000/1001


The resulting avi is also successfully converted to mp4 following the  
instructions from the website.  Any ideas why 4x4mv does not work and  
what direct_pred=3 is?


Thanks,



Stephen















On Jan 10, 2007, at 9:41 AM, Kevin Downey wrote:

> On 1/10/07, Serhiy Tkachenko <altserg at yahoo.com> wrote:
>> Is it possible to produce Apple quicktime .mp4 files
>> with mencoder ?
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.com
>> _______________________________________________
>> MEncoder-users mailing list
>> MEncoder-users at mplayerhq.hu
>> http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>>
> I believe you can do it by using lavc's container format stuff. But
> if you plan on streaming the mp4 files it most likely will not work
> since they are not hinted.
> I suggest something like:
> http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat- 
> quicktime-7.html#menc-feat-quicktime-7-remux
>
> -- 
> The biggest problem with communication is the illusion that it has  
> occurred.
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users




More information about the MEncoder-users mailing list