[MEncoder-users] Audio sync issues
Pierre Grimaud
pieroxy at gmail.com
Mon Feb 5 00:27:41 CET 2007
Thanks for your answer, this could explain a lot. And it seems to be working
!
However, this solution will consistently downsample to stereo whatever audio
there is in the MKV file. My files contain AC3 sound and I'd like to keep it
in the encoded file.
Here is what I tried:
mplayer source.avi -dumpaudio
mencoder -o dest.avi -ovc xvid -nosound source.avi -xvidencopts bitrate=3000
mencoder dest.avi -o final_with_sound.avi -audiofile stream.dump -oac copy
-ovc copy -fafmttag 0x2000
But I get the sound out of sync... Very depressing. Of course, the original
file works like a charm !
Any form of help is welcome, of course.
On 2/3/07, Jan Knutar <jknutar at nic.fi> wrote:
>
> On Saturday 03 February 2007 00:03, Pierre Grimaud wrote:
> > I am trying to encode mkv videos (H264/AC3) to XviD AVI, trying to
>
> > If I specify "-oac mp3lame", everything works fine (a few duplicate
> > frames at first and then everything settles down) but in the
> > resulting video, the audio is out of sync. Anyways, I'd like to be
> > able to keep the original soundtrack.
> >
> > Thanks for any help, much appreciated.
>
> mencoder seems to have had some bugs with ogm and mkv for
> quite some time... Try the following, it sort of works for me, but
> seems to introduce a smal but constant delay between audio
> and video:
>
> mplayer -ao pcm -novideo file.mkv
> mencoder -audiofile audiodump.wav file.mkv <rest of options here>
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>
--
Pierre Grimaud
22, rue de Paris
78230 Le Pecq, France
More information about the MEncoder-users
mailing list