Quantcast KVCD: Audio Sync Problem? - digitalFAQ.com Forums [Archives]
  #1  
03-08-2003, 05:27 PM
Wolfi Wolfi is offline
Free Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 489
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Wolfi Send a message via MSN to Wolfi Send a message via Yahoo to Wolfi
I just viewed the mpg. file the first 5 minutes and by then i had no sync problems. So I burned it with nero a watched the movie with my dvd player

But after...30 minutes (something around that) the audio was 1 second before the picture of the movie

So a looked for a good way to fix this problem. I find this on vcdhelp http://www.dvdrhelp.com/sync.htm .

But as you can see it only tells you how to sync if the audio is before the video or if the audio is after the video from the beginning,when the movie starts. But my sync problem started after 30 MINUTES not at the start of the movie.

Do you understand my problem,if not, tell me to explain a bit more If you understand, please help me :P would be great...
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
03-08-2003, 06:07 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
hi Wolfi

i can't see in your post what file you have!(mpeg1 or 2,kvcd)

but read this tutorial from ChickenMan,
fantastic administrator,
good friend and master from cdrsoft forum!

maybe it help you:

http://www.cdrbase.com/showthread.php?s=&threadid=10651

read some from tutorial:
"2. The Audio can be in sync at the start of the movie but progressively gets further in front or trails the Video as the movie is played."

it help you?
Reply With Quote
  #3  
03-08-2003, 06:22 PM
Wolfi Wolfi is offline
Free Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 489
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Wolfi Send a message via MSN to Wolfi Send a message via Yahoo to Wolfi
I encoded with SKVCD

Do I have to be registered to be able to view the guide?
Reply With Quote
  #4  
03-08-2003, 06:51 PM
Wolfi Wolfi is offline
Free Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 489
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Wolfi Send a message via MSN to Wolfi Send a message via Yahoo to Wolfi
You mean this guide

Audio is in sync at start but progressively goes further out as you play the movie.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. I have never seen this problem in a SVCD but should work for them, definitely works for VCD's. The basic principle involved here is to strip out the Audio file (de-mux) then stretch or compress the audio frequency, 44.1kHz, and re-sample to 44.1 Then convert to *.MP2 format and re-multiplex with video stream.

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.

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 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 44100 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) * 44100

or

New Hz (Audio precedes Video) = (Movie length in sec - Out of Sync in sec)/(Movie length in sec) * 44100

So for our example, we have:

New Hz = (48x60 + 1) / (43x60) * 44100 = 44115

So change the Rate from 44100 to 44115 (or the number you calculated) and hit OK. Now click Effects again and select Resample. Change the 44115 (or what ever figure you have) back to 44100 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 form. TMPGEnc is the simplest to use for this. 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. Now click Settings and change the Bitrate from 192 to 224, this is ESSENTIAL for a VCD. 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.

5. Run MPEG2VCR and under Tools, select MPEG System Multiplexor. Browse for the original Video *.M1V/*.M2V file after changing Files Type to All(*.*). Do the same for the new fixed Audio *.MP2 file. Now select MPEG-1 System Stream VCD or MPEG-2 Program Stream SVCD depending if its a VCD or SVCD that your trying to fix. Enter an output file name (different from the original) and click Save. 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.

6. It normally takes me 2 tries to get it right, but luckily I rarely have A/V sync problems.

Holy THIS LOOKS HARD IN MY EYES

//Wolfi//gulp//
Reply With Quote
  #5  
03-12-2003, 10:23 AM
Wolfi Wolfi is offline
Free Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 489
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Wolfi Send a message via MSN to Wolfi Send a message via Yahoo to Wolfi
I encoded one more movie and it gave me the very same problem
Audio is in sync at start but progressively goes further out as you play the movie.

Why is this happening every time
Do you think it is because I have 224 as bitrate in Headac3he? I've selected Dual Channel and mode CBR or should I use VBR

Please help me
And can someone tell me what this words mean
de-mux, re-multiplex, Movie length, Audio precedes, Audio trails.

//Wolfi
Reply With Quote
  #6  
03-12-2003, 11:21 AM
Wolfi Wolfi is offline
Free Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 489
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Wolfi Send a message via MSN to Wolfi Send a message via Yahoo to Wolfi
I tried to multiplex the m2v file and the mp2 file agian but this time with MPEG tools in TMPGEnc but it gave me the same result

Why is my audio out of sync in every movie

please answer my questions above

//Wolfi
Reply With Quote
  #7  
03-12-2003, 11:51 AM
rendalunit rendalunit is offline
Free Member
 
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
@Wolfi,

Encode the audio with CBR, not VBR. Audio sync problems can be a real pain- that's for sure. When I get audio sync problems I try to use different software to get the audio stream (AC3 for dvd and WAV for divx). First make sure that you encoded the audio with the right sampling frequency (44.1 or 48 khz)<- very important. If the source is dvd, you can load the VOBs into MEDIATOR and extract the wav file and encode with HeadAC3he.

Multiplexing (or muxing for short) is the process of combining an audio and video stream to get an MPG file. Demultiplexing (demux) is separating the audio and video streams from the MPG to get m1v (mpeg-1 video stream) or m2v (mpeg-2 video stream) and mp2 audio stream. You can mux and demux with TMPGenc->video tools and you can also mux with BBmpeg (this is the best way).

ren
Reply With Quote
  #8  
03-12-2003, 11:54 AM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
If the problem is in your every movie, I suggest you try encoding the sounds with 128 kbps CBR, works for me! Have you check your DVD player in the compatibility list?
__________________
¨¨°º©©º°¨¨°º©CHERONAPH©º°¨¨°º©©º°¨¨
Reply With Quote
  #9  
03-12-2003, 12:02 PM
digitalize digitalize is offline
Free Member
 
Join Date: Dec 2002
Posts: 99
Thanks: 0
Thanked 0 Times in 0 Posts
When combining your audio and video file, ensure that your output file is in the format of the original video file. If you have an MPEG-1 video file and then output to an MPEG-2 file, you could have this problem.
Reply With Quote
  #10  
03-12-2003, 12:39 PM
Wolfi Wolfi is offline
Free Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 489
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Wolfi Send a message via MSN to Wolfi Send a message via Yahoo to Wolfi
I did have on CBR and not VBR from the beginning but I tried to encoded the sounds with 128 kbps CBR but it still gives me the same result And my output file is in the format of the original video

And rendalunit , thank you for learing me some new words. i need to know them if the only and last way is to use that guide Seem vary hard to do.

Any other suggestions from you

//Wolfi
Reply With Quote
  #11  
03-12-2003, 01:36 PM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
Try to encode them to MPEG-2 and mux them to SVCD!
__________________
¨¨°º©©º°¨¨°º©CHERONAPH©º°¨¨°º©©º°¨¨
Reply With Quote
  #12  
03-12-2003, 01:40 PM
Wolfi Wolfi is offline
Free Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 489
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Wolfi Send a message via MSN to Wolfi Send a message via Yahoo to Wolfi
Do you mean encode my DivX source again, I dont understand

//Wolfi
Reply With Quote
  #13  
03-12-2003, 01:47 PM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
Yes, that´s what I meant!
__________________
¨¨°º©©º°¨¨°º©CHERONAPH©º°¨¨°º©©º°¨¨
Reply With Quote
  #14  
03-12-2003, 02:55 PM
Wolfi Wolfi is offline
Free Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 489
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Wolfi Send a message via MSN to Wolfi Send a message via Yahoo to Wolfi
First of all i gonna try that guide above But I have one question:
I the sound goes 1 second before the movie with one of thies should I use

New Hz (Audio trails Video) = (Movie length in sec + Out of Sync in sec)/(Movie length in sec) * 44100

or

New Hz (Audio precedes Video) = (Movie length in sec - Out of Sync in sec)/(Movie length in sec) * 44100

What do you say
Reply With Quote
  #15  
03-12-2003, 03:33 PM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
Quote:
New Hz (Audio precedes Video) = (Movie length in sec - Out of Sync in sec)/(Movie length in sec) * 44100
This should do it!
__________________
¨¨°º©©º°¨¨°º©CHERONAPH©º°¨¨°º©©º°¨¨
Reply With Quote
  #16  
03-13-2003, 07:41 AM
Wolfi Wolfi is offline
Free Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 489
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Wolfi Send a message via MSN to Wolfi Send a message via Yahoo to Wolfi
Oke thx CheronAph but I have more question. Is there a program who can show me the imformation of my mp2. ans wav. file
Reply With Quote
  #17  
03-13-2003, 08:54 AM
Wolfi Wolfi is offline
Free Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 489
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Wolfi Send a message via MSN to Wolfi Send a message via Yahoo to Wolfi
It's one more thing I dont understand...How the heck can i exactly know how many seconds or hundredth parts my audio is out of sync !
Reply With Quote
  #18  
03-13-2003, 10:29 AM
Wolfi Wolfi is offline
Free Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 489
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Wolfi Send a message via MSN to Wolfi Send a message via Yahoo to Wolfi
YiPPie YiHuuuU


I made it guys I tried the guide witch I though was to hard for me but I tried it AND IT WORKED

Thank you guys for helping me with this weird problem

@Jorel: If you will meet your friend ChickenMan, please thank him from me :P his guide RoX

//Wolfi
Reply With Quote
  #19  
03-13-2003, 12:02 PM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
Good to hear you solved it!
__________________
¨¨°º©©º°¨¨°º©CHERONAPH©º°¨¨°º©©º°¨¨
Reply With Quote
  #20  
03-13-2003, 05:59 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Wolfi
YiPPie YiHuuuU


I made it guys I tried the guide witch I though was to hard for me but I tried it AND IT WORKED

Thank you guys for helping me with this weird problem

@Jorel: If you will meet your friend ChickenMan, please thank him from me :P his guide RoX

//Wolfi
he is really a master ,friendly and very good person!
i learn a lot with him too!
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
kvcd audio/video sync problem? mistermickster Video Encoding and Conversion 16 01-18-2004 05:21 AM
KVCD: Audio Sync Problem joro Video Encoding and Conversion 1 01-03-2004 08:02 PM
KVCD: an obvious problem video and audio sync? ak47 Video Encoding and Conversion 2 08-18-2003 08:15 PM
TMPGEnc: Kvcd audio sync problem on pal to ntsc conversion DawnOfTheDuke Video Encoding and Conversion 2 05-30-2003 04:43 PM
KVCD: Audio Sync problem Anonymous Video Encoding and Conversion 13 12-12-2002 04:46 PM

Thread Tools



 
All times are GMT -5. The time now is 08:40 PM  —  vBulletin © Jelsoft Enterprises Ltd