[MEncoder-users] Re: quicktime compatible mp4 using x264encopts?

Jon Drukman jsd at cluttered.com
Fri Jun 30 19:40:09 CEST 2006


Rich Felker wrote:
>> this doesn't:
>>
>> $bin $1 -ffourcc h264 -ovc x264 \
>> -x264encopts 
>> subq=6:4x4mv:8x8dct:me=3:frameref=5:bframes=3:b_pyramid:weight_b:bitrate=$bitrate 
>> \
>> -of lavf -lavfopts 
>> format=mp4:i_certify_that_my_video_stream_does_not_use_b_frames \
>> -oac lavc -lavcopts acodec=aac  -ofps 30000/1001 -o test264.mp4 -frames 300
> 
> Do you really fail to see the irony of the above command line??
> Of course it won't work because you told it a lie.

it doesn't work if i take out bframes=3 either.  sorry i didn't spot 
that earlier.

in fact, it doesn't work if i remove x264encopts entirely.

$bin $1 -ffourcc h264 -ovc x264 -of lavf \
-lavfopts format=mp4:i_certify_that_my_video_stream_does_not_use_b_frames \
-oac lavc -lavcopts acodec=aac  -ofps 30000/1001 -o test264.mp4 -frames 300

feel free to abuse me further if you like.  i freely admit i am a total 
novice when it comes to h.264.  does libx264 always generate b frames? 
if so, i guess it's not possible to mux into mp4 with mencoder+libx264?

-jsd-




More information about the MEncoder-users mailing list