Regarding the bframe argument....
** MUXER_LAVF *****************************************************************
If you wish to use libavformat muxing, you must ensure that your video stream
does not contain B frames (out of order decoding) and specify:
-lavfopts i_certify_that_my_video_stream_does_not_use_b_frames
on the command line.
REMEMBER: MEncoder's libavformat muxing is presently broken and will generate
INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
mencoder MP4 encoding is also currently hit or miss, so it'll have to wait until that's fixed.
Edit:
Here's what I made:
http://nsrt.edgeemu.com/smb-ll.mp4 feel free to test it.
However the video doesn't look that great, perhaps because sticking x264 videos into MP4s doesn't work, that's XviD at a bit rate designed to give a file which is in the same size as the x264 AVI.
And for reasons I don't know, it desyncs.
Here's the options used:
mencoder -mc 0 -vf decimate=60:64:128:1 -of lavf -lavfopts format=mp4:i_certify_that_my_video_stream_does_not_use_b_frames -o smb-ll.mp4 -oac copy -ovc xvid -xvidencopts fixed_quant=10 smb-ll.avi