[MEncoder-users] x264 questions

Loren Merritt lorenm at u.washington.edu
Thu Nov 8 01:54:21 CET 2007


On Tue, 6 Nov 2007, Rich Felker wrote:
> On Tue, Nov 06, 2007 at 11:01:40AM -0800, RC wrote:
>> On Tue, 6 Nov 2007 13:50:25 -0500
>> Rich Felker <dalias at aerifal.cx> wrote:
>>
>>> Nope, nothing was fixed. The files will still be horribly broken.
>>> Someone just removed that option without asking me while I was away
>>
>> ------------------------------------------------------------------------
>> r23976 | michael | 2007-07-31 10:28:47 -0700 (Tue, 31 Jul 2007) | 5
>> lines
>>
>> get rid of this idiotic
>> i_certify_that_my_video_stream_does_not_use_b_frames muxer_lavf can now
>> generate correct files with b frames as long as the timestamps provided
>> to it are correct (they should be with lavc encoding, expect trouble
>> with stream copy though)
>
> Hmm, since when does mencoder use the timestamps at all??? AFAIK it
> does not... Can anyone confirm that this works? If so then mencoder is
> nowhere near as broken as we expect it to be, but I'm quite
> doubtful...

~> mencoder -ovc lavc -of lavf -lavfopts format=mp4 in.avi -o out.mp4
Works.

~> mencoder -ovc lavc -lavcopts vmax_b_frames=1 -of lavf -lavfopts format=mp4 in.avi -o out.mp4
Horribly broken. mplayer -demuxer mp4 can't even decode it, let alone 
check timestamps. -demuxer lavf and ffplay work. MP4Box can't parse it.

~> mencoder -ovc lavc -lavcopts vmax_b_frames=1 -of lavf -lavfopts format=mkv in.avi -o out.mkv
Works, including correct timestamps.

~> mencoder -ovc x264 -x264encopts qp=20:bframes=1 -of lavf -lavfopts format=mp4 in.avi -o out.mp4
Wrong timestamps. mplayer plays it anyway.

~> mencoder -ovc x264 -x264encopts qp=20:bframes=1 -of lavf -lavfopts format=mkv in.avi -o out.mkv
Wrong timestamps. mplayer plays it anyway.

--Loren Merritt



More information about the MEncoder-users mailing list