[MPlayer-dev-eng] [PATCH] mencoder, B-frames, and video/audio delay
Corey Hickey
bugfood-ml at fatooh.org
Mon Jan 23 20:43:38 CET 2006
Corey Hickey wrote:
>>>Why the +1? This seems incorrect, certainly incorrect with 0 B frames.
>>
>>
>>this depends upon the codec, 0 B fames can be 0 or 1 delay
>>the correct delay is lavc_venc_context->delay
>
>
> Nice; I didn't know the encoders set that. For x264 it seems to be
> mod->x264->frames.i_delay. I've checked both of those and they are both
> set by then.
>
> I had a look around in the source of xvid 1.1.0. I can't find any delay
> parameter anywhere. Am I just not finding it? If nobody knows here I'll
> try asking on xvid-devel.
I posted to xvid-devel yesterday and haven't gotten any response.
Judging from the list archives, there isn't much traffic to speak of and
I don't really expect a response soon, if at all. I would join the forum
and ask there but it won't let me:
---
Sorry! Registration of new user accounts has been disabled.
Reasons:
---
If anybody on this list is in touch with xvid development and would be
willing to ask the developers on my behalf, I would appreciate it. My
question is here:
http://list.xvid.org/pipermail/xvid-devel/2006-January/005302.html
Meanwhile, I'm going to just prepare a patch that makes mencoder's XviD
encoding set the encoder delay based on the number of B-frames.
Realistically, that should do exactly the same thing. Using a variable
set by XviD would just be nicer/cleaner.
-Corey
More information about the MPlayer-dev-eng
mailing list