[MPlayer-dev-eng] [PATCH] new mpeg muxer

Nico Sabbi nsabbi at tiscali.it
Thu Feb 24 01:06:04 CET 2005


D Richard Felker III wrote:

>On Wed, Feb 23, 2005 at 06:27:49PM -0500, D Richard Felker III wrote:
>  
>
>>- i seem to occasionally get weird out-of-order glitched frames during
>>  really high motion scenes. is this due to buggy reordering of some
>>  sort in the muxer, failure to enforce closed gops, or something
>>  else? i think i can extract small samples that exhibit the problem
>>  if you want to see one.
>>    
>>
>
>fyi, the "noreorder" option makes the problem go away, but i have no
>idea if the resulting file is "valid". i'm very confused what
>reordering would be needed for anyway, since the encoder always
>outputs frames in decoding order, not display order.
>  
>
>with that said, i expect the bug is occurring when lavc's scene change
>detection kicks in and causes a new gop to start somewhere it
>shouldn't. i'm going to try disabling scene change detection and
>reenabling reordering and see if that fixes the problem too. but i'm
>still confused why any reordering at the muxer stage would be needed
>or desirable.
>
>rich
>
>  
>

disabling reordering makes sense,  but as I wrote in the other
reply very early versions of some encoders (maybe even lavc older
than 2 years) output frames in decoding order, so if you want to
remux those streams correctly you have to reorder frames.
I'm interested to see those samples and fix the bug.
Maybe we should disable frame reordering by default?






More information about the MPlayer-dev-eng mailing list