i know this has been covered before but i'm a bit stuck.
the easiest way i've found to correct this is using goldwave time warp to make audio same length as video. but my audio is same length as video but after encoding it is perhaps a second out at end of footage.
the only guide i've found is acid agents but it seems bit complicated.
any easy solutions? (doubt it very much lol)
+ Reply to Thread
Results 1 to 7 of 7
-
-
1. The basic principle involved here is to strip out the Audio file (de-mux) then stretch or compress the audio frequency, 48khz, and re-sample to 48khz for DVD. Then convert to *.MP2 or AC3 format and re-multiplex with video stream (only for testing).
2. Demux the MPG file so we can manipulate the Audio file. Run TMPGEnc, click on File and select MPEG Tools. Select Simple De-multiplex tab and for Input, browse to your problem MPG. Video and Audio output names will be automatically generated. The Audio being *.MP2 and video being *.M1V or *.M2V. Click Run and wait until its finished. Exit TMPGEnc.
Alternatively, run virtualdubmod, load your file, select Streams, stream list. Right click on the audio, select Full Processing Mode, then click Save WAV.
3. We now have to estimate the approx time, in seconds, that the audio is out of sync and nearest to the end of the movie as possible. Simply play the original movie with WinDVD or similar player. Windows Media Player is not recommended as it can A/V sync problems of its own. Move slider to near the end of the movie and look for speech, gun fire, explosions, door slamming, etc where you have a precise Audio to Video match up. Estimate the time difference and not the length of the movie. Lets say we find the Audio trails the Video by about 1 second and the movie length was 48 min or 2880 sec (the door slams and about 1 sec later we hear the thud).
3. Run Goldwave and load in the *.MP2 or .wav file. Its also best to turn OFF the Undo feature to speed up the conversions (in Options / File...) Click on Effects and then Playback Rate. We need to change the 48000 Hz to sync the movie, use these formulae:
New Hz (Audio trails Video) = (Movie length in sec + Out of Sync in sec)/(Movie length in sec) * 48000
or
New Hz (Audio precedes Video) = (Movie length in sec - Out of Sync in sec)/(Movie length in sec) * 48000
So for our example, we have:
New Hz = (48x60 + 1) / (43x60) * 48000 = 48115
So change the Rate from 48000 to 48115 (or the number you calculated) and hit OK. Now click Effects again and select Resample. Change the 48115 (or what ever figure you have) back to 48000 and hit OK. Once the conversion is finished, hit Save. For Type select Wave (*.wav) and Attributes as 16bit, Stereo, Signed. Change File name if needed and hit Save. When it finish's answer No and exit the program.
4. We now need to convert our WAV file back to an MP2 or AC3 form. TMPGEnc is the simplest to use for mp2. Run TMPGEnc, and click File, then New Project to clear out old settings. For Stream Type select Audio Only and for Audio Source, browse to our new WAV file and Open it. Rename the Output file name to something different than the original MP2 file. Do NOT change any other settings except Normalize in Setting button (do this only if the audio appears low in volume). Then click OK and finally click Start. When done, exit TMPGEnc. Alternatively, transcode in ffmpeggui to AC3 at 48kHz for your project.
5. Compile the project in DVDLab and test. Alternatively, remux the video and audio in tmpgenc's mpeg tools, simple remux, and select mpeg-2 program VBR. When done, play the new MPG file in WinDVD and check that A/V sync has been fixed. If its still out a bit, you need to start all over again from Point 3 changing the frequency Rate a bit higher or lower. Repeat until its fixed.
If the project is avi, load the video into virtualdubmod, load the fixed .wav as the audio source, and play it to check for sync.
Once you have it, you can then encode the VIDEO ONLY in tmpgenc or other encoder, and transcode audio in ffmpeggui to AC3, then import into DVDLab.Cheers, Jim
My DVDLab Guides -
thanks for reply reboot but before i saw your reply i just decided to join the two svcd mpgs and use dvdlab to make a dvd without encoding.
the dvd worked and had no sync problems.
i will use your guide the next time.
just wondering what percentage of dvd standalones would play these svcd/dvd hybrids now? (dunno real word for them) -
also noticed the dvd played on ps2 which does not play svcds, well not any i've made before.
so is dvd i made a dvd? scratching head and can't get my thought's into pixels.
the dvd i made is a dvd but with svcd resolution but dvdlab changed audio to dvd compliant but some standalone's accept the resolution bit?
i give up, all this stuff fries my brains -
just wondering what percentage of dvd standalones would play these svcd/dvd hybrids now?
Because DLP authors a proper DVD structure, with a DVD spec 720x480 menu, your PS2 thinks it's a DVD.Cheers, Jim
My DVDLab Guides -
Mixed mode...any player that can play SVCD as well as DVD should have no trouble with them.
Because DLP authors a proper DVD structure, with a DVD spec 720x480 menu, your PS2 thinks it's a DVD. -
Not all standalone hardware decoder chips are created equal.
Yours works, some do, some don't.Cheers, Jim
My DVDLab Guides
Similar Threads
-
audio and video not in synch by a second or two problem
By sabathiel in forum Capturing and VCRReplies: 0Last Post: 14th Oct 2011, 21:45 -
Audio synch problem after IVTC
By avengerevenge in forum AudioReplies: 1Last Post: 15th Feb 2010, 11:34 -
Video/Audio synch problem
By tangomango in forum Newbie / General discussionsReplies: 2Last Post: 8th Sep 2008, 12:19 -
Audio Synch problem only after burning?
By MCPorche in forum AudioReplies: 1Last Post: 31st Jan 2008, 19:34 -
Audio Synch problem using AviSynch
By spycraft in forum Newbie / General discussionsReplies: 21Last Post: 4th Jul 2007, 04:04