View Full Version : Trouble with audio delay
TAP3AH
11th December 2006, 01:37
Here is my problem:
I ripped NTSC DVD to HD with DVDShrink. When I play it with MPC the audio is perfectly synchronized. Then, I demuxed it using VobEdit and muxed it again using IfoEdit. When I played it I noticed that audio was about 1sec late.
After that, I tried to get info about audio delay using several programs but they all discovered no audio delay in VOB. I used DGIndex, ReJig, Doitfast4u and DVDDecripter, and they all produced AC3 file with delay, but it was sugested that delay was 0ms (or -66ms in case of DVDDecripter, but it's still wrong value):
- DGIndex filename: VTS_01_1 T01 2_0ch 192Kbps DELAY 0ms.ac3
- DVDDecripter log file: 0x80 - Audio - AC3 / 2ch / 48kHz / DRC / English / LBA: 4 / PTS: 00:00:00.410 / Delay: 0ms
- VTS__01_PGC_1_1 AC3 T01 2_0ch 192Kbps DELAY -66ms.ac3
- ReJig filename: aaa_CorrectedTo0ms.ac3
Does anyone have any idea what's going on? Did I do something wrong?
Is there a tool that can just read proper delay info without demuxing?
Thanks in advance.
setarip_old
11th December 2006, 03:55
Hi!Then, I demuxed it using VobEdit and muxed it again using IfoEdit.It's hard to believe that you just de-muxed and then re-muxed. What did you do from within VOBEdit? (Which is likely where something occurred to alter the synchronization)...
TAP3AH
11th December 2006, 05:41
It's hard to believe that you just de-muxed and then re-muxed.
I did just demuxed and remuxed. I wanted to add new subtitle.
What did you do from within VOBEdit?
Open->VOB,Demux->All Video streams,All Audio streams->OK
Which is likely where something occurred to alter the synchronization
Maybe. But, as I said, after that I used four different programs on ORIGINAL VOB and they coundn't detect any audio delay. And AC3s they produced were also desynchronized.
setarip_old
11th December 2006, 07:27
If I remember correctly, using VOBEdit in conjunction with IFOEdit to add a subtitle stream is problematic regarding synchronization. Perhaps the following thread will provide you with a "cleaner" way of doing this:
http://forum.doom9.org/showthread.php?p=798135&postcount=1
blutach
11th December 2006, 09:37
PgcDemux will also give you a delay value. I'd trust DVD Decrypter (but I'd also trust the others). Puzzling. Definintely use muxman to remux as setarip has linked to.
Regards
TAP3AH
11th December 2006, 13:11
If I remember correctly, using VOBEdit in conjunction with IFOEdit to add a subtitle stream is problematic regarding synchronization.
Forget subtitles. I just mentioned them to explain why would I want to demux then remux something. It has nothing to do with them because I tried it without subtitles and got the same result. I also muxed it into matroska container and got same results.
I'm sure that demuxed AC3 file has delay (aprox. 0.5sec long), but none of these programs is able to detect it.
PgcDemux will also give you a delay value.
Could you, please, tell me how to do that?
Edit: Sorry, I thought you said PgcEdit. I know how to use PgcDemux.
setarip_old
11th December 2006, 18:10
I'm sure that demuxed AC3 file has delay (aprox. 0.5sec long), but none of these programs is able to detect it.Have you compared the actual DURATION of the original (before demuxing) .AC3 stream versus that of the demuxed .AC3 stream?
I suspect you may find that the duration has been changed.
Again, I'd suggest that instead of using VOBEdit/IFOEdit, you follow the procedures suggested in the thread at this link:
http://forum.doom9.org/showthread.php?p=798135&postcount=1
TAP3AH
11th December 2006, 20:02
Have you compared the actual DURATION of the original (before demuxing) .AC3 stream versus that of the demuxed .AC3 stream?
I suspect you may find that the duration has been changed.
I don't think it means anything. Demuxed video and audio usualy differ for few seconds, but always at the end, never at the begining (they have "tails", several black video frames or silent audio frames). In meantime, I tried something else: I ran video and audio together trough AviSynth:
MPEG2Source("F:\TheStand\DD\VideoFile.d2v")
AudioDub(NicAC3Source("F:\TheStand\DD\AudioFile_80.ac3"))
BicubicResize(720,540,0,0.5)
I got same ~0.5sec delay.
Again, I'd suggest that instead of using VOBEdit/IFOEdit, you follow the procedures suggested in the thread at this link:
http://forum.doom9.org/showthread.php?p=798135&postcount=1
I tried combination PgcDemux-Muxman and I got even worse result: audio was about 12 sec early!?! Complete madness!
setarip_old
11th December 2006, 21:23
Is this the 2002 2 disc release of Stephen King's "The Stand"?I don't think it means anything. Demuxed video and audio usualy differ for few secondsPlease re-read my suggestion, as it has nothing to do with the length of the videostream...
TAP3AH
11th December 2006, 22:35
Is this the 2002 2 disc release of Stephen King's "The Stand"?
Disc 1, Episode 2. Disc 2 (ep.3&4) is also desyncronized. Only the episode 1 works fine.
Please re-read my suggestion, as it has nothing to do with the length of the videostream...
Oh, sorry. I see what you mean.
I opened VOB in VirtualDubMod and AC3 in HeadAC3he. They show the same number of audio frames.
setarip_old
11th December 2006, 23:42
For the sake of clarity and certainty - Are the problems appearing on copies of DVDs, or are you referring to other compressed formats (e.g. DivX, XviD, .MP4, MPEG-2, MPEG-1, etc.) into which you've converted these episodes?
TAP3AH
12th December 2006, 07:36
For the sake of clarity and certainty - Are the problems appearing on copies of DVDs, or are you referring to other compressed formats (e.g. DivX, XviD, .MP4, MPEG-2, MPEG-1, etc.) into which you've converted these episodes?
HDD copies of DVD, made by DVDShrink, no recompresion. Mayby I should mention that I turned off file splitting, so I have 1 big (~4GB) VOB for each episode. But, I think it's not important.
setarip_old
12th December 2006, 08:33
HDD copies of DVD, made by DVDShrink, no recompresion. Mayby I should mention that I turned off file splitting, so I have 1 big (~4GB) VOB for each episode.If you ripped the full DVD in this fashion, you'd have one file of approximately 8Gb, which would include two episodes.
Please explain further, exactly what procedures are you using in DVD Shrink?
Also, is your hard drive in FAT32 or NTSF format?
TAP3AH
12th December 2006, 09:14
If you ripped the full DVD in this fashion, you'd have one file of approximately 8Gb, which would include two episodes.There are two disks each containing two episodes as SEPARATE TITLES, so one episode is about 4GB. Maybe it is not the same edition that you know about.
Please explain further, exactly what procedures are you using in DVD Shrink?No compresion, no file splitting, logical remaping of streams. Everything else by default.
Also, is your hard drive in FAT32 or NTSF format?
NTFS. If it was FAT32 I wont be able to have such a big file on it.
setarip_old
12th December 2006, 16:41
Mayby I should mention that I turned off file splitting, so I have 1 big (~4GB) VOB for each episode. Again, if you ripped Disc#1 (which is a D/L DVD9, if I remember correctly) without filesplitting, that rip would be approximately 8Gb, not 4Gb.If it was FAT32 I wont be able to have such a big file on it.If, as you seem to say, you somehow have individual files of approximately 4Gb each (although you've ripped without filesplitting), they could conceivably be handled on a FAT32 drive, which can handle individual filesizes up to 4Gb...
1) You might try re-ripping the DVDs without doing any logical remapping of streams
2) You should experiment by re-ripping the DVDs using only DVD Decrypter
TAP3AH
12th December 2006, 19:26
Again, if you ripped Disc#1 (which is a D/L DVD9, if I remember correctly) without filesplitting, that rip would be approximately 8Gb, not 4Gb.If, as you seem to say, you somehow have individual files of approximately 4Gb each (although you've ripped without filesplitting), they could conceivably be handled on a FAT32 drive, which can handle individual filesizes up to 4Gb...
No. When you turn filesplitting off DVDShrink makes one file per title (or one set of files if you don't turn it off). Since there are two titles on disk you get two 4GB files.
Thanks for help. I'll try experimenting as you suggested.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.