User User name Password  
   
Saturday 27.9.2025 / 06:32
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > archived forums > mpeg-1 and mpeg-2 encoding (avi to dvd) > hey dela, this is a new thread for my audio video sync problem.....
Show topics
 
Forums
Forums
hey Dela, this is a new thread for my audio video sync problem.....
  Jump to:
 
Posted Message
Page:123Next >
john03
Junior Member
_
25. June 2003 @ 06:59 _ Link to this message    Send private message to this user   
I really don't know where to start. I have tried so many things.

First off, you know waht the problem is right?

My original .avi file is ok (meaning that there is no sync problems). However, when I convert it to an MPEG file using any program, the audio becomes out of sync with the video. At the end, the audio is around 5 minutes behind the video. 6 or 7 minutes in, it is over a minute behind.

What I've tried:

1.)I have ran the file through avifixed. When I do this, the audio problem is present on the output "fixed" file.

2.)I have used GSpot to determine the audio type.I use TMPGEnc to extract the video and VirtualDub to extract the audio. I convert the audio to .mp2 and merge the extracted video and mp2 file together. When I play this file, I hear a "scratching" sound at the start for about a second and then there is no sound at all!

3.)I have tried your original solution: open the AVI in virtualdub
click video - direct stream copy
click audio - full processing mode
click audio - compression. select no compression pcm and click ok!
click file - save as avi, now try the AVI u save with TMPGEnc!

4.)When I used my old .AVI file (not the newly created one with virtual dub) and the extracted .wav file (remember they play perfectly when played together on two different players) in TMPGenc, the sound is still behind the video.

5.)I using TMPGEnc to seperate the video and audio into 2 seperate files. Both files are the same length (ie. the video file(Mpeg1) is 60.28 long and the audio(mp2) file is 60.28 long.)

I am no longer losing 5 mins of audio off the length of the file like when I converted from .wav to .mp2 or .mp3.

However, when I play the files over each other, the audio is still behind the video (ie. I hear the audio and then a minute later I see the actual scene where the audio took place).

I cannot understand this. Essentially there is a second of audio for every second of video? So why aren't they synchronised?

When I try merging the two files that I created with TMPGenc, I still get the same problem.

NB: When I'm merging the files, I usually stop the process about 20% through. Thereby I can open the partailly created file to see if there is an audio problem. Will this make a difference?

6.)I have used cool edit to add a silence at the start of the film. This works for a while, but soon, the audio goes behind again.

7.) I have tried the following solution from "masterv":

No problem it can be fixed easyly. Listen I know exactly what happens, the video has bad frames and it will stop for a time wile the audio play's further. That's why it get out of sinc. I had the same problem whit harry potter the chamber of secrets only this time it was a bad frame part of 3 sec. So if you open tmgenc and go to options environmentol settings. And then vfapi plugin. Change it in the folowwing order:
Direct show multimedia file reader: 3
AVI vfw....: 2
Avi2(opendml)...: 1
And set the others to zero.

Now listen when I did this and open my movie:
video source: AVI file
audio source: AVI file

Then at the bad frame part when the video stops the audio will stop too automaticly.

8.)I used Sound Forge today to resample the .mp3 file(the one that is out of sync with the video). I changed the frequency to 37,460 instead of 44,100. There is a reason for this number and I calculated this.

However, the output .mp3 file is exactly the same as the input. The audio is in the exact same position as before.

None of the above have worked. At the moment I have so many files of this film.

I have :
my original .avi file
my avifixed .avi file
my .mpeg file (with no sound)
my .wav file
my .mp3 file
my .mp2 file
my full mpeg file.

As I said before, if I play the video and .wav audio over each other in 2 different players, they play in sync, but when I merge them with TMPGenc, the problem occurs.

PLease help me. PLease.
Advertisement
_
__
john03
Junior Member
_
26. June 2003 @ 16:39 _ Link to this message    Send private message to this user   
bump
Staff Member
_
26. June 2003 @ 21:44 _ Link to this message    Send private message to this user   
Ok lets try a completely new encoding procedure! Use DVD2SVCD with TMPGEnc and then we will see if the audio is in sync when it is finished! With DVD2SVCD, beSweet will encode the audio, not TMPGEnc!
masterv
Suspended due to non-functional email address
_
27. June 2003 @ 02:42 _ Link to this message    Send private message to this user   
Now listen i've post a message one time ago. I had the same problem whit Harry Potter 2. But I somehow fixed it and when I encode all movies now whit bad frames inc. Harry potter 2 the sound will not go out of sync again. I don't know what I've done but it must be something simple.

But try this one on your movie:
1. Do what Dela say's and make a new AVI whit VirtualDub. But by sound don't use full processing mode but direct stream copy too. I geas. Now try to encode. If still got out of sync. I hope you've installed xvid codec. Try this. Go to start menu en then xvid folder and then avic(fourcc changer). Then open your(virtualdub created) movie whit it. And then set it to divx. If it is already divx try something else.

I really like to help you whit this beacause I had the same And it's really Irritating!!!!!!!!!!!!!!!!!!!!!!!!

But now remember this is not the way I lost this problem, I just hope this will work.

Please let here.

__Stefan__
john03
Junior Member
_
27. June 2003 @ 14:26 _ Link to this message    Send private message to this user   
Dela, You say to use use DVD2SVCD <b>with</b> TMPGEnc. What do you mean <b>with?</b>

Masterv:

what is the xvid codec for?

And you say to set it with divx? I do not understand this part. PLease could you explain furthur.
Staff Member
_
28. June 2003 @ 03:07 _ Link to this message    Send private message to this user   
DVD2SVCD comes with everything except an encoder so u have to setup either TMPGEnc, CCE SP or canopus procoder on it

john03
Junior Member
_
28. June 2003 @ 14:14 _ Link to this message    Send private message to this user   
Oh right. I'll try it tomorrow because I was working all day today and it's late now. I'll try it then and let you know.
Staff Member
_
28. June 2003 @ 17:29 _ Link to this message    Send private message to this user   
Do mate and good luck with it!
john03
Junior Member
_
29. June 2003 @ 15:35 _ Link to this message    Send private message to this user   
well, I tried to use the program that you mentioned, but I can't get it to open. The file is named:

D2S113B2.zip.torrent

Under properties, it is 638 bytes and is listed as a "TORRENT" file.

I have tried using WinRar to extract the files, but no such luck.

I have tried to delete the "torrent" extension and just leave the .zip part, but this does not work either. The icon changes to a zipped folder and when I open it, it says it is corrupted or something. If I right click on it and try to extract the files, it says there is no files to extract.

I renamed the file back to it's original state, but it still has the properties of a zipped folder.
Staff Member
_
29. June 2003 @ 16:15 _ Link to this message    Send private message to this user   
u need bittorent! that will download the file for you!
john03
Junior Member
_
30. June 2003 @ 10:36 _ Link to this message    Send private message to this user   

well, I got the program working, but there are so many options, I don't know where to start. The only one I changed was the option "NTSC to PAL" and obviously, the input file as .AVI. I click on convert and get an error mesage:

AppName: besweet.exe AppVer: 0.0.0.0 ModName: besweet.exe
ModVer: 0.0.0.0 Offset: 0000ec95WNASPI32.DLL 4.71.1.0

Below, is the log from the conversion:

The original video framerate of 14.985 is not supported. The framerate will be adjusted!
--------------------------------------------------------
- 30/06/2003 19:30:46
- AVI to SVCD Conversion
- AVI2VCD ver. 1.1.3 build 2
--------------------------------------------------------
Initializing
Initializing finished.

--------------------------------------------------------
- 30/06/2003 19:30:49
- Free on drive C: 80347.47 mb
- AUDIO Extraction
--------------------------------------------------------
Audio extraction finished.

--------------------------------------------------------
- 30/06/2003 19:30:49
- Free on drive C: 80346.44 mb
- AUDIO conversion
--------------------------------------------------------

Converting MP2 to WAV. Filename: C:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.mpa
Executing MADPlay (mp2 to wav). Commandline:
"C:\Program Files\DVD2SVCD\MADPlay\madplay.exe" --quiet --output=wave:"C:\Program Files\DVD2SVCD\Movie\Encoded_audio_1.mp2.wav" "C:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.mpa"
Conversion (mp2 to wav) of C:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.mpa finished.


Encoding Audio. Filename: C:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.mpa
Executing BeSweet. Commandline:
"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "C:\Program Files\DVD2SVCD\Movie\Encoded_audio_1.mp2.wav" -output "C:\PROGRA~1\DVD2SVCD\Movie\Encoded_audio_1.mp2" -logfile "C:\PROGRA~1\DVD2SVCD\Movie\Encoded_audio_1.log" ) -ota( -g max -r 14985 25000 ) -shibatch( --rate 44100 ) -2lame( -e -b 192 -m s )

I can gather there is a problem with BeSweet, but havn't a clue what to do to fix it. DVD2SVCD is a very daunting program isn't it! Any help would be appreciated.
Staff Member
_
30. June 2003 @ 21:22 _ Link to this message    Send private message to this user   
Ibonic
Junior Member
_
1. July 2003 @ 09:06 _ Link to this message    Send private message to this user   
Here is a solution that might work for you, i have used a progam called moonlight xmuxer to demultiplex mpeg videos that i was having problems with the sound. I found it would accept videos that TMPGEnc wouldn't. Of course you have to encode your AVI to mpeg first before using. After separating the video and audio with this program, i then used TMPGEnc to simple multiplex the two parts together in SVCD format, TMPGEnc mulitpexed the two parts back and rewrote the SVCD header, the result being a perfect sync in my audio and video, you could use the moonlight xmuxer to multiplex also

good luck


Ibonik
Ibonic
Junior Member
_
1. July 2003 @ 09:08 _ Link to this message    Send private message to this user   
You can download the shareware program
moonlight xmuxer 1.03 at the following website

http://www.imagespro.com/search.php3?q=mpeg2+to+mpeg1
okay after downloading the above mentioned program - open muxer 2.03

step 1)im going to demultiplex an existing mpeg2(or in this case mpeg1)file to its components
-this means your going to separate the video from the audio

click demuxer

2) choose file to demulitplex
3) click prepare(at this point the video 0 0xE0
is blue) output file save as (to directory and name it what yo want) - click save as
- now click the audio 0 0xE0 output file save as (to directory and name it what you want)
at this point there should now be two streams to save (video 0 0xE0) and (audio 0 0xE0)
4) click start -depending on the size of your video it shouldnt take too long
thats it for demuxing
You now should have two mpg files, one will be audio the other video(you could of done the demultiplex in tmpgenc but i have found this program works better for demuxing

Now switch to tmpgenc

1) go to file - choose mpeg tools

2) choose simple multiplex
3) choose mpeg1-video cd
4) insert the audio and video files you demultiplex with muxer 2.03 into the slot for
-video input
-audio input
5) Name the program in output take notice of the directory its going to
6) click run
7) tmpgenc will multiplex the file together and your done

good luck

Ibonic

This message has been edited since posting. Last time this message was edited on 1. July 2003 @ 20:02

john03
Junior Member
_
1. July 2003 @ 16:16 _ Link to this message    Send private message to this user   
I'm a bit confused about simple multiplexing and SVCD headers and such. I know my dvd player won't play svcds.

I'll download that program you mentioned.

Would it be too much to ask for a step by step guide for your solution? It would be much appreciated. Thanks.
Staff Member
_
5. July 2003 @ 23:11 _ Link to this message    Send private message to this user   
Have you solved this problem yet John??
john03
Junior Member
_
6. July 2003 @ 12:17 _ Link to this message    Send private message to this user   
Nope. I'm just after trying the above solution with Xmuxer and it didn't work. I recieve the exact same results. At least I know it's not a problem with the program becasue I converted two other .AVI movies to .mpeg and the sound is in perfect sync on those.
Staff Member
_
7. July 2003 @ 14:54 _ Link to this message    Send private message to this user   
Ah well then you've just stumbled upon a basically fucked up AVI!
john03
Junior Member
_
8. July 2003 @ 08:27 _ Link to this message    Send private message to this user   
Thanks for your help Dela and everyone else. At least I can finally get some sleep.
Staff Member
_
8. July 2003 @ 15:29 _ Link to this message    Send private message to this user   
lol, np
hermi14
Newbie
_
11. July 2003 @ 03:12 _ Link to this message    Send private message to this user   
Hi John. I'm a newbie to this forum, but the reason I came is b/c I have the same problem: when I play my dat file the audio is out of synch with the video. My situation is a little different than yours b/c I created my dat from an AVI of a movie I edited myself in Adobe Premiere 6.0. Then, I encoded and burned a VCD from it using Nero Burning ROM. The audio lags whether it's played from the HD or from the CD. At this very moment I am trying the different approach of encoding it to MPEG using Premiere, and then using Nero just to put it into VCD format.

My impression just from one day or so of surfing is that it's a media player problem, not a file or burning problem. I know that WMP has the issue of lagging audio. Last night I tried RealPlayer One, and it too has the same lag.

Anyway, I would pursue different players rather than messing with your file--I think your file is fine.

I will report back here on my results/discoveries.

Cheers,
Hermi
hermi14
Newbie
_
12. July 2003 @ 05:44 _ Link to this message    Send private message to this user   
Well, I think I was wrong --it's not the player, it's the encoding mechanism in Nero. (I see that da boss has posted a FAQ basically stating the same thing; you should not use Nero to encode but only to burn.) I did the MPEG 1 encoding using Premiere and I don't get the lag anymore; the audio is now in synch. As a side note, the lag was also occurring when I played the VCD in a regular standalone DVD player.
Staff Member
_
12. July 2003 @ 08:40 _ Link to this message    Send private message to this user   
My god that was it?? Nero?? geez, thats the first thing I say to everyone, dont use Nero to encode use it to burn, hmm wonder why i didnt hear, probably didnt just click with me at all this time!
john03
Junior Member
_
12. July 2003 @ 13:02 _ Link to this message    Send private message to this user   
well, I have Nero Express, but never ues it. It created video cds that do not work and if I try to burn an audio cd, it goes through the burning process, but I end up with a blank cd.
Advertisement
_
__
 
_
Staff Member
_
12. July 2003 @ 13:47 _ Link to this message    Send private message to this user   
You sure you dont have it set to simulate burn??
 
Page:123Next >
afterdawn.com > forums > archived forums > mpeg-1 and mpeg-2 encoding (avi to dvd) > hey dela, this is a new thread for my audio video sync problem.....
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork