View previous topic :: View next topic |
Author |
Message |
cibonato Apprentice
Joined: 25 Apr 2006 Posts: 200 Location: Macross City
|
Posted: Tue Dec 05, 2006 11:55 am Post subject: AVI to DVD - Sound and video unsynchronized. |
|
|
Ladies and gentlemen, I could finally burn a DVD Disc using an AVI video. I followed these 2 guides:
https://forums.gentoo.org/viewtopic.php?t=117709
http://www.linux.com/article.pl?sid=06/04/17/2058219
But the result was a movie with some delay between sound and movement. Basically I hear the screams 1 second or maybe 1,5 second before the actor screams indeed.
How could I synchronize the movie? Any hints?
Thank you all.
_________________ 64 Bits, good good! |
|
Back to top |
|
|
VoVaN l33t
Joined: 02 Jul 2003 Posts: 701 Location: The Netherlands
|
Posted: Thu Dec 07, 2006 2:49 pm Post subject: Re: AVI to DVD - Sound and video unsynchronized. |
|
|
I've been using avidemux for creating VOB files from avi's and it works always fine with me. |
|
Back to top |
|
|
Slurp53 Apprentice
Joined: 14 Jun 2002 Posts: 255 Location: Iowa
|
Posted: Thu Dec 07, 2006 10:19 pm Post subject: |
|
|
This has always worked great for me.
http://videotrans.sourceforge.net/
_________________ "Welcome to the Pleasuredome" -- Frankie Goes to Hollywood |
|
Back to top |
|
|
tuxicated Tux's lil' helper
Joined: 02 Nov 2004 Posts: 120
|
|
Back to top |
|
|
pteppic l33t
Joined: 28 Nov 2005 Posts: 781
|
Posted: Fri Dec 08, 2006 11:54 am Post subject: Re: AVI to DVD - Sound and video unsynchronized. |
|
|
cibonato wrote: | How could I synchronize the movie? Any hints? |
I had a quick look at the guides you used. One thing that sticks out is that transcode doesn't resample the audio if the input and output framerates are different.
Use tcprobe -i input.avi to check the framerate of the input file, if it's not the same as the desired output then you can either resample the audio with sox, or use mencoder or ffmpeg to do the conversion from avi.
If the input and output fps are the same, then mencoders -audio-delay option (can be positive or negative) can straighten things out, but you are better off starting that with the avi rather then the mpg. To check what delay you need, use mencoder to make 20 ish seconds of the output mpg, then play that in mplayer with the -delay option, once you get the right value put the inverse into mencoders -audio-delay option, eg if '-delay 0.5' is best, so use mencoder with '-audio-delay -0.5'.
HTH. |
|
Back to top |
|
|
VoVaN l33t
Joined: 02 Jul 2003 Posts: 701 Location: The Netherlands
|
Posted: Fri Dec 08, 2006 11:59 am Post subject: |
|
|
avidemux can deal with audio delays and write synchronized file |
|
Back to top |
|
|
|