[MEncoder-users] Converting video from HD-PVR

Andrew Berg bahamutzero8825 at gmail.com
Mon Jan 18 18:19:03 CET 2010


I'm trying to convert these videos again, and while MEncoder can handle
them without crashing now, I still have trouble with them. Frame rate is
the major problem now. My typical encodes (mostly DVD rips) consist of
these lines:

mencoder [input] -msglevel all=0:statusline=5 -of avi -oac copy -ovc
x264 -x264encopts
crf=19:keyint=300:keyint_min=30:level_idc=41:frameref=15:mixed_refs:bframes=4:b_adapt=2:me_range=24:direct_pred=auto:partitions=all:cabac:8x8dct:me=hex:subq=5:threads=auto:nointerlaced:nopsnr:nossim
-vf pp=lb,hqdn3d=0:0:6:6,harddup -o output.avi
ffmpeg -i output.avi -f wav - 2>nul | neroaacenc -ignorelength -q 0.3
-if - -of output.m4a
mp4box -aviraw video output.avi
mp4box -add output_video.h264:fps=29.97 -add output.m4a -new output.mp4

I've had some success adding -demuxer lavf and -ofps 30000/1001 to the
first line, but sync is off. If I omit -ofps 30000/1001, it behaves as
if the input were 60000/1001fps, which I know is not true. I even tried
using filmdint as if the video were telecined 60fps, and got jerky
playback. I can provide a sample of the video, but it's almost 100MB per
minute since I record at the max 13.5Mbps (local ABR). Is there anything
I could try?


More information about the MEncoder-users mailing list