digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Audio out of sync?? (http://www.digitalfaq.com/archives/encode/8085-audio-sync.html)

nighthawk 02-08-2004 10:50 AM

Audio out of sync??
 
Here is the dilemma:

I ripped my movie using DVDcrypter in file mode
Used the latest version of DVD2AVI to frameserve, my settings here were

forced film
audio: decode to wave file

After the frameserve I loaded my wave file into HeadAC3he in which I converted it to MP2 resampled to 44.1 khz at a CBR of 112

Then I loaded my d2v file into MA Script ran through tmpgenc and then muxed using tmpgenc. the audio is out of sync (behind) this has happened with two different DVD'S.

I should mention that Headac3he doesn't show any audio delay it's at 0ms.

Has this happened to anyone before & if so is there a fix?

The original DVD is in sync.

Encoder Master 02-08-2004 11:24 AM

You should'T extract a wave file, You have to exr´tract the AC3 file and then DVD2AVI shows you the delay wich you can correct with HeadAC3he.
And all is in sync.

nighthawk 02-08-2004 11:31 AM

I tried that in DVD2AVI to "Demux all Tracks" however when I convert in Headac3he the resulting mp2 file can't be muxed in tmpgenc I still have to convert to a wave file in headache. Am I missing a step?

I should mention that during the DVD2AVI cycle the "video type" in the information window bounces back and forth from NTSC to film and the film is around 87 - 88%

Encoder Master 02-08-2004 11:38 AM

You not only set "Demux al Tracks" In this field of the Programm is another point demux and another Option Automatic select both and the prog extract the AC3 File.

Dialhot 02-08-2004 11:49 AM

Quote:

Originally Posted by nighthawk
I tried that in DVD2AVI to "Demux all Tracks" however when I convert in Headac3he the resulting mp2 file can't be muxed in tmpgenc I still have to convert to a wave file in headache. Am I missing a step?

Surely ! Headache does perfect mp2 files so you should make something bad. use besweet if you can't use headac3che.

nighthawk 02-08-2004 12:03 PM

O.k I demuxed to ac3 file and Headac3he is still telling me that there is no delay. The version of dvd2avi I am using is 1.77.3dg1.0.0RC2 and I don't see a auto select anywhere. I am also not familiar with BeSweet I've tried using it before but it's more confusing to me than Headac3he.

I feel it's a problem within the DVD2AVI process and it happens with version 1.76 also.

When I rip the "entire" dvd to the hard drive I can play it and there is no sync problems so I figure the problem is not with
DVDcrypter.

nighthawk 02-09-2004 08:03 AM

no matter what I do the audio is out of sync with the video after i mux it. Is there anyone who has ever had this happen and found the solution?

rds_correia 02-09-2004 08:29 AM

hmmm,
You mean you burnt the resulting mpeg and it's out of sync watching in the standalone or you are just watching it in your pc?
I say this because I had audio out of sync issues, long before I joined the forum, but these were only watching on pc.
If I burnt it to a cd there were no problems watching on standalone.
I never figured why this was happening because suddenly it got cured by itself :roll:
Could you try to burn it on a CDRW and try it?
Cheers

Dialhot 02-09-2004 08:30 AM

If the delay is constant, yes, some had the problem and the solution is to "estimate" the delay by watching the video and then re-encode the audio with this delay setted in heada3che.

If the delay is increasing during the play, then you have a bad framerate issue somewhere.

rds_correia 02-09-2004 08:38 AM

Woow,
I would agree 100% with you if it was a DivX source but it's supposed to be a DVD. Would you find that possible :?: :roll:
Unless this DVD is not an original DVD and has been made from a DivX but then there would be out of sync issues with the source also. :roll:
What do you think, Phil?
Cheers

Dialhot 02-09-2004 08:47 AM

Quote:

Originally Posted by rds_correia
Woow,
I would agree 100% with you if it was a DivX source but it's supposed to be a DVD.

Constant delay is possible even with DVD. See there :

http://www.kvcd.net/forum/viewtopic.php?t=8430

Sliding delay is generally due to bad DIvx encoding, I agree.

nighthawk 02-09-2004 09:18 AM

In the video type info box of DVD2AVI it will say film at 98% for a short while and then bounce back and forth from NTSC to film finally ending up on film around 86% - 89%. I do notice certain areas where it's only 12% or less just for a short time. Could this be where the problem is?

I did rip the entire movie too my HD and it plays fine no sync issues at all when watching it. So I feel that the problem is in DVD2AVI.

I have my settings at forced film & decode audio. I have tried to demux to ac3 however when I do Headac3he converts the ac3 to mp2 but with an ac3 extension so it won't mux in tmpgenc.

I've tried BBmpeg but I've found tmpgenc to mux better.

Not really sure what to do with the DVD2AVI problem.

suggestions would be awesome!!

Dialhot 02-09-2004 09:22 AM

Quote:

Originally Posted by nighthawk
I have my settings at forced film & decode audio. I have tried to demux to ac3 however when I do Headac3he converts the ac3 to mp2 but with an ac3 extension so it won't mux in tmpgenc.

Back again two post above : you have a problem with headache !

Headac3che does PERFECT mp2 for tmpgenc. Stop lookign further, decode in DVD2AVI is awfull.

Solve your problem with headche !

nighthawk 02-09-2004 10:35 AM

so when I set up DVD2AVI should I set the audio to demux or decode to wave so that I have something to put into Headac3he? I've tried both ways and always use Headac3he to convert to mp2 file. Am I missing a ac3 codec? I've always decoded to a wave file in dvd2avi and never had any problems except for now.

Dialhot 02-09-2004 11:09 AM

You probably don't have problems that you heard, that is different. This time your hear bring you back to reality :-)

You have to demux with dvd2avi then put the ac3 in headac3che and ask it to do a mp2 ! AFAI remember, the GUI of headeache is trivial and you shouldn't have any problem.

nighthawk 02-09-2004 06:53 PM

:crashed: O.K I've been going nuts all day on this 8O

When setting the delay in headac3he how does one know which way to go in setting up the delay? + or - delay.

Here is the info from headache 1:58:00.224

Video is 1:57:55 according to tmpgenc and thats loading the d2v file directly in. I arrived at the figure in source range by going all the way to the end of the movie.

if my math is correct my delay is 313ms off or am I off? So which way + or - on the delay

I'm really starting to feel :smileysex: about this except I'm not smiling

bigggt 02-09-2004 07:10 PM

Hi nighthawk

Also when you demux as ac3 it will tell you the delay

when you load the ac3 into headach3e it will set the delay automatically

I am very new to this but this is how it works for me

sorry to chime in if i'm totally off base (it was kind of hard to follow this thread)

nighthawk 02-09-2004 07:18 PM

There doesn't show a delay in headache, when I load my file in it show 0ms delay. That's why I'm having so much trouble with this one.

Dialhot 02-09-2004 07:40 PM

Quote:

Originally Posted by nighthawk
if my math is correct my delay is 313ms off or am I off? So which way + or -
on the delay

It should be - but trying both will take you no more than 10 minutes ;-)

mistermickster 02-10-2004 03:29 AM

Quote:

Originally Posted by nighthawk
When setting the delay in headac3he how does one know which way to go in setting up the delay? + or - delay.

Here is the info from headache 1:58:00.224

Video is 1:57:55 according to tmpgenc and thats loading the d2v file directly in. I arrived at the figure in source range by going all the way to the end of the movie.

if my math is correct my delay is 313ms off or am I off? So which way + or - on the delay

Judging by the length of your audio and video files, I would say that your audio is 'behind' the video, right :?:

If that's the case then you need to bring the audio forward by reducing the delay, so -313ms

nighthawk 02-16-2004 11:54 AM

:cry: o.k I've tried this 6 ways from sunday so to speak. When I rip the movie everything is in perfect sync. Then after it goes through DVD2AVI that's where the problem is. After DVD2AVI I thne proceed as usual with the MA script Headac3he and so on. When it's finally muxed the sound is way off!!!

Is it possible that some DVD's just won't frameserve through DVD2AVI correctly? Incendently contrary to my prior post I've gone back to using DVD2AVI 1.76 I have tried other DVD'S just to be sure and every one that I've tried will rip and frameserve correctly.

Has anyone had this problem????

Dialhot 02-16-2004 12:48 PM

As every piece of software DVD2AVI isn't 100% sure; There is always a "black sheep" for every tools and everyone.

It seems you found yours :-)

nighthawk 02-16-2004 12:50 PM

is there any other software that will do what DVD2AVI does?

I take it by "black sheep" that you mean that this is a program glitch?

Dialhot 02-16-2004 03:31 PM

No what I mean is that there is always, in everything, a situation that works for everyone and refuse to work on your PC. You can do whatever you want, copy/paste exactly the configuration of your neighbour for who everything is okay, it refuses to work at your home.

That's how computers works :-)

BTW, there is no tool like DVD2AVI.

But I suggested a long time ago to estimate the delay "with your hear" and set it manually in headache. You never answered on that.
The same, you never said if the delay is constant or varying.
And finally, you never solevd your problem with headache :!:

In sum : you ask a lot but don't give feed back on the hint we provide to you. Not very helpfull....

nighthawk 02-17-2004 08:42 AM

I apologize if I had not posted everything that was needed.

The delay is constant and I did try to do verything I knew how and followed all suggestions to to solve this within headache from negative delay to positive delay and nothing worked.

Since headache was not reporting a delay on it's own I was trying to work with number from tmpgenc and headache to come with the delay. that's when I got the 313ms off but that didn't solve it either.

I did post that when running dvd2avi that in the stastistics window under video type the movie would jump from film 99% to very low numbers that were NTSC and then back to film again only to be aroung 85% then it would slowly climb again and fall back to NTSC around 12%. I had never seen anything like it. That i why I posted that the problem must be the way dvd2avi must be handling the movie.

Quote:

If the delay is increasing during the play, then you have a bad framerate issue somewhere.
Dialhot You had posted the above earlier and I'm really not sure at all how to check for a bad framerate or what to do for it either.

Again I apologize for not having posted to all of the hints I thought I had. I had to walk away from this one for awhile and then come back to it. I think that the "bad framerate" might play into this giving what dvd2avi is doing. It doesn't look as if the delay is varying but it might ever so slightly where I'm not noticing it.

nighthawk

Dialhot 02-17-2004 08:50 AM

Quote:

Originally Posted by nighthawk
Since headache was not reporting a delay on it's own I was trying to work with number from tmpgenc and headache to come with the delay. that's when I got the 313ms off but that didn't solve it either.

According to your hears, absolutly nothign changed ? or was 313 too short (or long) ?

Quote:

I had never seen anything like it.
For sure, it's not common.

Quote:

That i why I posted that the problem must be the way dvd2avi must be handling the movie.
I never said it wasn't. But from the beguining I told you that if the problem is constant, all you have to do is to "estimate" it from hear and set it into headache.

Quote:

Quote:

If the delay is increasing during the play, then you have a bad framerate issue somewhere.
Dialhot You had posted the above earlier and I'm really not sure at all how to check for a bad framerate or what to do for it either.
You just said your delay was constant :!: So this part is out of subject.

Quote:

It doesn't look as if the delay is varying but it might ever so slightly where I'm not noticing it.
By varying I was talking about something that is barely noticable at begining, increasing constatlly and finishes to be very obvious at the end. Not something that change back and forward during the playback.
If you are in the late case, for sure you can't do anything ! That would mean that the framerate isn't constant during the playback :!: (that's perhaps why the stats of DVD2AVI are so weird)

nighthawk 02-17-2004 09:37 AM

I just went through the movie again and yew it is more out of sync at the end than my corrections are at the beginning. So I think the framerate comes into play. Though I don't understand it completly. The dvd play fine on the computer, just fine after the rip, as well as on the standalone dvd player.

When it's processed through dvd2avi that when everything goes to **it.

I think it's fairly certain that nothing we do is going to solve this one. Could you further explain this bad framerate to me as I don't understand how erverthing is in sync on the dvd then even after the rip.

The actual movie framerate is 29.970 and after I use forced film it is 23.976 if that helps.

nighthawk

Dialhot 02-17-2004 10:10 AM

Quote:

Originally Posted by nighthawk
I think it's fairly certain that nothing we do is going to solve this one. Could you further explain this bad framerate to me as I don't understand how erverthing is in sync on the dvd then even after the rip.

That's because DVD2AVI can't modify the framerate in the middle of the movie where A DVD player can.

When you have a 23.976 pulldowned DVD, the player reads it at 29.970 (that is called "pulldown during playback"). But the movie is actually at 23.976 and there is just a flag that tells the standalone "read this at 29.970 not 23.970".
Your movie seems to have parts where this flag is set and parts where it is not. A standalone can handle that, but DVD2AVI use either 23.976 or 29.970 for ALL the movie.

That's where your problem can appear. And that's why I told you you can't do anything if this is the case.

Quote:

The actual movie framerate is 29.970 and after I use forced film it is 23.976 if that helps.
FORCE film is exactly what I wanted to say : as you can see, you _force_ DVD2AVI to use film mode for all the decoding.

Note: give a change to "automatic" mode, just to see what happens.

nighthawk 02-17-2004 07:14 PM

There is definitely a framerate issue here, at one point I was up to 1900ms delay correction. I never did gain on it either, setting dvd2avi to auto didn't solve it. I would have to say that the dvd itself is badly encoded.


All times are GMT -5. The time now is 04:27 AM  —  vBulletin İ Jelsoft Enterprises Ltd

Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.