[MEncoder-users] h.264 stream read with too high frame rate?

L Lee llee040 at sbcglobal.net
Wed Oct 7 02:18:49 CEST 2009


On 10/5/09 6:26 PM, "Mikhail Ramendik" <mr at ramendik.ru> wrote:

> 2009/10/5 L Lee <llee040 at sbcglobal.net>:
> 
>> conversion tool yielding better results than those I get with MEncoder. I
>> used to use the pullup filter, but lately have had more success with
>> filmdint. Have you tried anything like that? Maybe you could make an excerpt
>> of your source available, say in the neighborhood of 100 megabytes.
> 
> 
> I tried pullup, I tried decimate, i tried -fps 50 -fpso 25 ....
> 
> Still the same result - slow motion video with normal speed sound.
> Loss of sync is only natural as the video is visibly slow!
> 
> A test, a mere 19 megs, is available at:
> 
> http://www.4shared.com/file/137864261/461e2eda/hdpreview.html
> 

There's nothing wrong with Henk's solution, but because this is the MEncoder
list, I'm throwing mine in, too.

The following worked well for me for your example using a recently released
mencoder svn. I needed to add a delay for audio, so I used mpeg, with which
I'm most familiar. I used the delay option to get past garbage at the very
beginning. I'm not sure how a-v sync will fare for longer durations.

mencoder -ovc lavc -oac copy -of mpeg -mpegopts format=dvd:tsaf:adelay=200
-vf scale=720:480  -lavcopts
vcodec=mpeg2video:trell:mbd=2:precmp=2:subcmp=2:cmp=2:dia=-10:predia=-10:cbp
:mv0:vqmin=1:lmin=1:dc=10:vrc_buf_size=1835:vrc_minrate=7200:vbitrate=9000:v
rc_maxrate=9800:keyint=15:aspect=16/9:vstrict=0 -mc 0.1 -delay 0.05 -ofps 25
-o /Users/me/Downloads/hdpreviewfast.mpg /Users/me/Downloads/hdpreview.m2t

Laine Lee




More information about the MEncoder-users mailing list