digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KVCD: audio and video is out of sync? (http://www.digitalfaq.com/archives/encode/4023-kvcd-audio-video.html)

ak47 06-16-2003 04:16 PM

KVCD: audio and video is out of sync?
 
If someone encoded Animatrix before and have a solution to this problem please share. The problem is that the audio and video is out of sync, yes a very common problem, but the weird thing about this video is that when using dvd2avi it was way above 95% film and I note its anime. I wondering should I use decomb and if so what setting. I remember I had a similar problem with a movie it was another anime that was split into different sections (episodes).

vico1 06-17-2003 07:52 PM

Hi ak47,
I`m having similar troubles with "Animatrix" concerning audio sync that you are.
But this is the tricky part.
On a full encode, the audio on mine gets progressively further from sync
from the start to finish.

By the way...I`ve tried it twice with "TomsMoComp(0,5,1)" on the first one,
and "FieldDeinterlace()" on the second. (using the new "Adaptive" script)
Video was perfect, it`s just the audio that was off.

Maybe some of the more insightful minds here, can help us.



************************************
The Devil.....is always.....in the Details!

GFR 06-18-2003 10:56 AM

I've done Animatrix but the source was xVid. BTW the avi has to be "patched", because the audio gets progressively out of sync...

Quote:

SYNC-FIX
The movies goes out of sync after 1hour, get the fix and follow these steps and it'll work!

1) Install AVIinfo.

2) Load your animatrix xvid into AVIinfo either by right clicking the file itself or
dragging it onto the AVIinfo executable.

3) Go to the tab labelled Synchronize Audio.

4) Under 'Stretch Audio', change the desired FPS to 23.9789.

5) Apply, exit and save changes, et voila - one nicely sorted out Animatrix.
To encode, I had to use an "Assumefps(23.976)" instruction in the avs file.

I've just got the DVD (today) so I'm trying it right now.

dazedconfused 06-18-2003 12:05 PM

Hi vico1, don't know if I'd exactly consider myself an insightful mind :wink: , but I'll toss in a few pennies for what it's worth...

If your audio de-synch was at a constant rate throughout the entire movie (including from the very beginning), then fixing it would be as easy as changing the audio startup delay in BBMPEG until it matched (but this doesn't seem to be what you're describing). How long does it take before the audio/video de-synch is noticeable to you? (i.e. after the first episode, halfway through the first episode, the start of the 3rd episode, etc). One way to "solve" the problem would be to break the file up into smaller parts.

Since Animatrix is actually 9 episodes with about 4 or 5 seconds of black "nothingness" seperating each one, I'd say to just use the "start second" and "end second" functions under the General Settings Tab of BBMPEG to mux each episode separately, rather than muxing the entire movie into one file. Use a media player to watch your de-synchronized file and write down the start and stop times for each of the episodes...you'll also probably want to make sure to include a couple seconds of the blackness that separates the episodes (also keep in mind that these times given by your media player may not be 100% precise, so you may need to play a bit to find the exact right start/stop points to use in bbmpeg). For each episode or file you mux, just change the audio1 delay accordingly in the "Startup delays (ms)" area of the Program Stream Settings Tab of BBMPEG until the video and audio of your output file match up (keep in mind that milliseconds are very tiny, so you probably won't notice a difference unless you make a substantial increase/decrease).

Then you could just burn all 9 episodes as individual tracks with a 0-second pause/gap in between them so they will still play seamlessly, or I suppose you could also try rejoining them all into 1 file by using TMPG's MPEG Tools (though this might potentially create some synch issues as well, so I'd just burn them as 9 separate tracks myself...doing this would also give you the benefit of easily being able to skip to the next episode during playback by simply pressing the "chapter" or "next" button on your player's remote).

It's really not as difficult as that clunky/wordy explanation may have made it seem :oops: (heck, I've done it before, so it can't be too difficult! :lol: ). Hope it helps.

Good luck,
-d&c

vico1 06-18-2003 02:55 PM

@GFR Thanks for the tips on tryin` to resync to entire encode as one full Mepg....I`ll check it out.

@dazed&confused,
We must think alike...that`s very similar to how I ended up doing it, after I found out the audio was asynced progressively.
(ie: first episode "Final Flight of the Osiris" was -83ms went progressively out to the last
episode "Metriculated" around -600ms!)

Though with my stumblings using BBmeg (I`ll figure it out yet!) I just used the internals in TMPGEnc to do it.
(worked out well)

Thanks Guys!

Does anyone know WHY the audio drifts so far from the vid???


************************************
The Devil.....is always.....in the Details!

GFR 06-19-2003 11:50 AM

If you're encoding the episodes separately, it's made easier by the DVD authoring: there are PGC's in the DVD for each episode (followed by the credits). Just rip each one to a different directory and treat it as a different project.

vico1 06-19-2003 12:19 PM

Quote:

Originally Posted by GFR
If you're encoding the episodes separately, it's made easier by the DVD authoring: there are PGC's in the DVD for each episode (followed by the credits). Just rip each one to a different directory and treat it as a different project.

That IS good news!

Just a thought...I wonder if a "One Click DVD BackUp Solution" (quote doom9)
like "DVD Shrink" or "DVD2One" would have similar async audio problems with this. (NoOb Alert!)
And why not.???


************************************
The Devil.....is always.....in the Details!

ak47 06-21-2003 11:19 PM

Anyone have the fix on it. I have the files on the hard drive and I can't find the DVD, so I can't ReRip it.

gonzopdx 07-15-2003 04:15 PM

I've successfully ripped Animatrix.

What I did was I saved each episode as a seperate project in DVD2AVI. To do my file prediction, I made an .avs that lumped them all together (ie: mpeg2source("1.d2v") + mpeg2source("2.d2v") etc.) with the sampler plugin, noted the CQ value, then encoded each episode individually at the resulting CQ. Prediction was perfect (had to overburn by 40 seconds, not bad at all) and audio is in sync throughout everything.


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

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