[MEncoder-users] Audio and video is fine in sync with mplayer but not with mencoder

Bernd Butscheidt bbutscheidt at yahoo.de
Fri Oct 29 22:23:33 CEST 2010



From:  Carl Eugen Hoyos <cehoyos at ag.or.at>
>Consider using -b xm (m for MB) to set the bitrate, or -qscale n 


Using:

ffmpeg -i Test.ts -vcodec libx264 -vpre slow -acodec copy -f matroska Test.mkv

leads to a very satisfying result.

The problem is that I do not find options or filters like

-vf framestep=2,hqdn3d,delogo=1132:48:48:80:5

or options like

 -speed 24000/25000 

If I missed something, help is very appreciated.



Until then back to mencoder:

Leaving out the options -mc0 and -noskip resulting in my initial example in:

mencoder  -ovc x264 -vf pp=fd,framestep=2,hqdn3d,delogo=1132:48:48:80:5,harddup 
-speed 24000/25000 -ofps 24 -x264encopts 
subq=1:frameref=3:me=hex:b_adapt:threads=auto:8x8dct:crf=12  -oac mp3lame 
-fafmttag 0x55 -af lavcresample=48000 -lameopts cbr:br=224:aq=0:mode=1  Test.ts 
-of lavf -lavfopts format=matroska -o Test.mkv

seems to help. After about 8 second of playback of the output Test.mkv, the sync 
is back. This remains when remuxing the output with mkvmerge (from mkvtoolnix - 
http://www.bunkus.org/videotools/mkvtoolnix/) to make it playable in vlc, xine 
and Co. else.

So using "-mc 0" and "-noskip" seems no good idea - at least with this kind of 
input. Actually, the ts-file is an output of Ts4NP.exe which makes 
TV-HDTV-recordings accessible at all to mencoder 
(http://www.popcornforum.de/showthread.php?tid=2285).

As described, this is the result on a small testfile. I will try a complete 
TV-HDTV-Recording.

Kind regards
Bernd




More information about the MEncoder-users mailing list