[MEncoder-users] audio sync failure
Guillaume POIRIER
poirierg at gmail.com
Sat Oct 29 20:40:04 CEST 2005
Hi,
On 10/29/05, Uzu Maki <tsukune at gmail.com> wrote:
> hi everyone,
> I am new at using mencoder... I am using the Debian unstable version.
>
> here is how I use it:
> "
> mplayer -vo null -ao pcm:file=audio.wav dvd://1
>
> oggenc -b 128 audio.wav
>
> nice -n 3 mencoder -nosound -ovc xvid -xvidencopts bitrate=1500:pass=1 -vf
> crop=720:368:0:60,scale=680:328,pp=lb dvd://1 -o /dev/null
>
> nice -n 3 mencoder -nosound -ovc xvid -xvidencopts bitrate=1500:pass=2 -vf
> crop=720:368:0:60,scale=680:328,pp=lb dvd://1 -o "movie.avi"
>
> ogmmerge -o movie.ogm movie.avi audio.ogg
> "
> this work like a charm for small vob files like cookery/music shows recorder
> from TV on DVD.
> but when I try to encode larger files (>2Go) I get a delay (not constant) in
> the audio stream.
> Impossible to get the sync working... even though the audio and the video
> are separately perfect...
>
> I've seen that I am not alone...
> http://www.dealdatabase.com/forum/showthread.php?t=45451&page=3
> but I can't get over that trouble...
> If someone could point me in the right direction...
>
> thank you very much in advance !
> François
>
> PS: I tried with mp3 too... average or constant bitrate... avi, ogm... no
> change...
Have a look at the docs:
http://www4.mplayerhq.hu/DOCS/HTML/en/encoding-guide.html
It's unfortunately not up-to-date with respect to the latest changes
I've made to it.
Basically: do not never encode with the "-nosound" option unless you
know what you're doing. Just copy the audio track with "-oac copy".
That audio track can be removed later on at the muxing stage, so don't
worry about the space it's gonna take.
Guillaume
--
Reading doesn't hurt, really!
-- Dominik 'Rathann' Mierzejewski
More information about the MEncoder-users
mailing list