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

Nicolas Hesler nicolas.hesler at sheridanc.on.ca
Tue Oct 2 17:22:24 CEST 2007


Nico Sabbi wrote:
> Il Tuesday 02 October 2007 16:42:00 Nicolas Hesler ha scritto:
>
>   
>> 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"
>>
>>     
>
> again?? how many time do I need to tell you that -ofps will convert
> the framerate, that defeats the purpose of the telecining process?
> If you need to convert the framerate and mencoder skips frames
> evidently the source is not encoded at 24000/1001 fps,
> and in that case pass the right :tele_src in -mpegopts;
> if the source _is_ encoded at 24000/1001 fps and lavc
> doesn't accept the framerate due to rounding errors you
> must pass -fps, not -ofps
>
>   
Again, I was trying to be brief and didn't include enough detail.

My source is a hard 24 FPS (not 24000/1001).  I've tried every 
combination of using mpegopts "telecine" "tele_src:tele_dest" with -fps, 
without -fps, with -ofps and without -ofps.   with the same result, 
frame skipping.  Is there something else I'm doing wrong?  Like I 
mentioned, the release version of Mencoder doesn't have this behavior.  
I want my 24 fps video to be converted to 24000/1001 with soft-telecine 
for DVD.   I'm used to see frame skipping now and then, but every 10 or 
20 frames seems strange.


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



More information about the MEncoder-users mailing list