I recently converted an avi file to dvd2mpeg, however when i played it back on my mac dvd player the audio was not in sync with the video.
the avi file was: 23.976 fps, 737.2 kbps (don't know if that matters) and dont know what other settings that it had which are relevant. can anyone help me out? thanks!
Results 1 to 10 of 10
-
-
its pretty much constant throughout,
im not exactly sure how to change the framerate, here's what i did; in 'info' audio is = 441000 bits, on ffmpegx audio bitrate is set automatically to 448 kits/s, so i changed it to 441kbits/s and after converting to dvdmpeg2enc there was no audio ts or video ts folders!
-
If the sync does not drift, then it's not a framerate problem. You can fix a truly constant offset by demuxing, then remuxing with a compensating delay. ffmpegX, among others, has an option for doing just that. No re-encoding needed, so this is a very fast operation.
To determine the right number to use, play it in VLC. Under the Preferences menu, you'll find an option to dial in a sync offset (you may have to enable the advanced menus option; I don't remember). Type in your best guess (a positive number delays the audio), and play the clip again. To help guide you in what numbers to use, note that a 100ms error is just barely noticeable when characters are talking (but easily noticeable with door slams and the like), and 200ms is annoyingly noticeable. When you think you've got it, check sync at various points in the movie (beg, middle and end, at minimum), just to make sure that the sync error truly was a constant one. If it all looks good, then you're pretty much set. If you use ffmpegx's muxing tool, type in the *negative* of the number you used in VLC. Remux, author, and burn.
If you find, on closer examination, that there is both a drift and an offset, post back. There are several options for fixing those, depending on the magnitude and cause.
-
ok sounds good, but i cant figure out how to do the audio delay in vlc, im pretty sure you have to apply the advanced menu, but i can really figure out what to do after that, any tips?
-
thanks for the help, but i've run into some trouble
the value i get from vlc is 455
but when i use the ffmpegx muxing tooling im not sure that im opening the right
files to re-mux. im opening the video ts folder and audio ts folder (which actually has nothing
in it). so then i hit mux, it works really fast then i open to video ts in the apple dvd player and the audio is out of sync just like when i began. maybe i am using the muxing tool wrong?
-
You can only mux elementary streams, which the vob files inside of the video_ts folder are not. So, you will first need to demux into elementary streams.
Most likely, you have multiple vob files. So, the first order of business is to rip your dvd as a single vob. Another option is to join the separate vobs yourself (using, e.g., the joining tool from D-Vision3), and then proceed from there. Do this for just the title you're working on.
Then, use the demux tool in ffmpegx. That will get you separate video and audio files.
Next, use the muxing tool in ffmpegx, and input -455 as the offset. Author, and burn.
-
thanks so much for the help, that worked great!
D-Vision 3 seems like a good program, have you used it to convert
framerates at all? that seems like a good feature
thanks again!
-
D-Vision 3 is a very well-written app. It's the only utility I use to convert into DivX/XviD, because it just works, and with a minimum of fuss (and with a minimum of opportunities for pilot error). I don't think I've ever used its framerate conversion feature, but I'd expect it to work as well as everything else does in D-Vision.
Glad to hear that you were able to resolve your sync problem!
Similar Threads
-
audio sync problem, how to work out progressive audio sync delay
By jolt321 in forum Newbie / General discussionsReplies: 13Last Post: 10th Apr 2012, 21:09 -
Audio lag after conversion to DVDmpeg2enc
By macgurl in forum ffmpegX general discussionReplies: 5Last Post: 8th Aug 2010, 02:42 -
Audio Sync Problem
By lwea2009 in forum Newbie / General discussionsReplies: 8Last Post: 30th May 2009, 15:19 -
out of sync audio problem
By virendra in forum AudioReplies: 2Last Post: 25th Dec 2007, 06:31 -
New (?) audio sync problem
By oldblues in forum ffmpegX general discussionReplies: 3Last Post: 26th Oct 2007, 10:26