[MPlayer-users] -oac copy results in out of sync audio with mencoder ?

a a you2bepie at yahoo.com
Sat Feb 4 16:43:52 CET 2012


Thanks for the suggestion. I will try -noskip tonight and report what happens.

I actually tired without -mc 0 the first time and it did not work then I saw a comment that suggested -mc 0 to fix the issue.

The actual command I used did not have -af but i failed to remove it from the pasted command. I've been working on a small script to transcode but I keep running into 1 off issues (here the transcoded sound is really bad so I want to do a direct copy of the audio track).
-
After your comment about the manual I re-checked the man page and I do not see the comment that indicates one should use -noskip with -mc 0; can you provide a pointer to the manual that I should be using.

Thanks!


--- On Sat, 2/4/12, Linards Ticmanis <ticmanis at gmx.de> wrote:

From: Linards Ticmanis <ticmanis at gmx.de>
Subject: Re: [MPlayer-users] -oac copy results in out of sync audio with mencoder ?
To: "MPlayer usage questions, feature requests, bug reports" <mplayer-users at mplayerhq.hu>
Date: Saturday, February 4, 2012, 9:37 AM

On 02/04/2012 01:13 PM, a a wrote:
> If I transcode
>  the video but copy the audio the audio ends up totally out of sync. Is 
> there an option i need to keep the audio in sync when transcoding the 
> video
> 
> mencoder in.mkv -af volume=6:0 -mc 0 -oac copy -ovc x264 -x264encopts 
> preset=slow:tune=film:crf=15:frameref=15:fast_pskip=0:threads=auto:bitrate=2000
>  -nosub -vf scale=1280:-10 -o out.mkv

To quote the manual: "-mc 0 should always be combined with -noskip for
mencoder,  otherwise it will almost certainly cause A-V desync."

Also, -af doesn't make sense when you're copying the audio; have you
tried without?

-- 
Linards Ticmanis
_______________________________________________
MPlayer-users mailing list
MPlayer-users at mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users


More information about the MPlayer-users mailing list