[MPlayer-users] -oac copy results in out of sync audio with mencoder ?
a a
you2bepie at yahoo.com
Sun Feb 5 13:50:41 CET 2012
It seems that running mkvmerge as a second pass fixes the issue
mkvmerge -o x.mkv in.avi
-
no clue why but sounds like an issue with the keyframes ? The new file is marginally smaller (about 1%).
--- On Sun, 2/5/12, a a <you2bepie at yahoo.com> wrote:
From: a a <you2bepie at yahoo.com>
Subject: Re: [MPlayer-users] -oac copy results in out of sync audio with mencoder ?
To: "feature requests bug reportsMPlayer usage questions" <mplayer-users at mplayerhq.hu>
Date: Sunday, February 5, 2012, 7:05 AM
I'm not sure if I understand what hte second pass is doing here;but if I use pcm or anything but copy for oac then the audio is in sync. Its only when I try to copy the audio that it ends up out of sync.
I can't get mencoder to just copy the video; but I was thinking I could use mkvextra and merge to insert the original audio track.
Still I don't understand why the copy ends up with the audio out of sync :(
--- On Sat, 2/4/12, Ron Johnson <ron.l.johnson at cox.net> wrote:
From: Ron Johnson <ron.l.johnson at cox.net>
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, 11:59 PM
On 02/04/2012 03:10 PM, a a wrote:
> noskip doesn't seem to help - i used this command line:
>
>
> mencoder in.mkv -mc 0 -noskip -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 -of avi -o x.avi
>
> Appreciate any other suggestions you might have.
>
When converting MJPEG .mov files to DVD-compatible MPEG2 files, I was faced with a similar problem. The solution was a 2-step conversion:
VCODEC="vcodec=mpeg2video:aspect=4/3:vbitrate=6000:trell:nr=100"
mencoder \
*.mov \
-o ${FOO}.avi \
-ovc lavc -lavcopts $VCODEC \
-oac pcm -channels 1 -srate 8000
ffmpeg -i ${FOO}.avi -target ntsc-dvd ${FOO}-0.0.mpeg
This example is tuned to my specific circumstance, but should be adjustable to yours.
-- How does being physically handicapped make me Differently-Abled?
What different abilities do I have?
_______________________________________________
MPlayer-users mailing list
MPlayer-users at mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
_______________________________________________
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