[MEncoder-users] Mencoder soft telecine broken; fix included

Nicolas Hesler nicolas.hesler at sheridanc.on.ca
Tue Oct 2 16:42:00 CEST 2007


xiphmont at xiph.org wrote:
> On 9/28/07, Nico Sabbi <nicola_sabbi at fastwebnet.it> wrote:
>   
>> Il Friday 28 September 2007 07:01:10 xiphmont at xiph.org ha scritto:
>>     
>
>   
>> committed, but with a fix:
>>
>> -  if(((s->buffer[i+4] & 0xf0) == 0x20))
>> + if(((s->buffer[i+4] & 0xf0) == 0x10))
>>    {
>>             se_ptr = &(s->buffer[i+4]);
>>             if(priv->patch_sde)
>>                 patch_panscan(priv, se_ptr);
>>
>>
>> this is wrong: se_ptr must point to the sequence_extension (0x10),
>> while patch_panscan must work on the sequence_display_extension.
>>     
>
> Ah!  And now I see how the telecine bug crept in.  Thank you for the review.
>
> Monty
>   
In the official release of MPlayer, the soft telecine seemed to work 
well.   Now, when I try the same command line with the latest cvs (Oct 
1st, 2007), I get Mencoder reporting "Skipping frame!" every ten or 
twenty frames.  I've tried the "alternate" soft telecine method with 
tele_src and tele_dest with the same result.  Am I missing something here??


mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf:telecine 
-vf scale=720:480,harddup -srate 48000 -af lavcresample=48000:0:2 
-lavcopts 
vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=7000:vbitrate=6000:keyint=12:trell:mbd=2:acodec=ac3:abitrate=224:aspect=16/9:vstrict=0 
-ofps 24000/1001 -o "output.mpg" "input.mpg"



Skipping frame!
Pos:  13.3s    352f ( 8%)  5.22fps Trem:  12min 124mb  A-V:0.086 [6040:224]
Skipping frame!
Pos:  13.6s    362f ( 8%)  5.23fps Trem:  12min 121mb  A-V:0.086 [6011:224]
Skipping frame!
Pos:  14.4s    382f ( 8%)  5.28fps Trem:  12min 124mb  A-V:0.086 [5963:223]
Skipping frame!
Pos:  14.8s    392f ( 8%)  5.31fps Trem:  12min 125mb  A-V:0.086 [5942:224]
Skipping frame!
Pos:  15.5s    412f ( 9%)  5.36fps Trem:  12min 123mb  A-V:0.086 [5890:224]
Skipping frame!
Pos:  15.9s    422f ( 9%)  5.38fps Trem:  12min 124mb  A-V:0.086 [5881:224]
Skipping frame!









More information about the MEncoder-users mailing list