I am trying to rip spring for strawberry shortcake and encode it into xvid using AutoGK,I am trying to make a dvdr that has all of them on there,my player plays divx
what I have tried:
ripped in DVDFab5 and also DVDDecrypter.
Tried encoding directly from the VOBs
Tried running it through VOB2MPG
tried keeping the audio as it was ac3 in advanced settings
tried extracting the audio from the VOBs into wav and then play it in virtualdub sync was noticable
tried opening the WAV and AC3 in goldwave and tried trimming off a second in it and playing it in virtualdub,syncs almost but can't get it perfect what sounds and looks perfect in part of the file is real noticable in another part in virtualdub
I have tried both VBR and CBR in the encoding
I have tried IVTC @29.9fps and am about to try deinterlace at 29.9
I opened the ripped VOBs in VirtualDub and they are out of sync I probably should have tried this first instead of assuming that the VOBs were correct
Thanks
I didn't solve it
+ Reply to Thread
Results 1 to 29 of 29
-
-
You need AviSynth and the DGMPGDec package. Use DgIndex to create an index file (.d2v) and demux the audio. Use VirtualDubMod's AviSynth template called MPEG2Source to open the index file. Add the audio stream -- note any delay (indicated by the filename). Use the audio skew function to set the delay (if any).
-
I don't see the MPEG2Source template anywhere in my virtualdubmod dirs
-
Originally Posted by Onceler2
You should have .avst templates in the templates directory (which are referenced by vdub mod's template function). I think they come with the standard download, and you can make your own if you want -
funny thing,on players it is in sync on virtual dubmod it is out of sync
-
Much of what you've tried was just a waste of time. First, decrypt correctly. When you used DVD Decrypter, did you decrypt using IFO Mode as you should? Then (assuming you want the subs), open the IFO in AutoGK (or follow the other instructions about how to create an AviSynth file for encoding manually) and take it from there. I've never heard of an anime like that (outside of the Disney/Buena Vista ones) having extra copy protection, especially one released 5 years ago, so DVD Decrypter should be OK to use.
Putting the entire DVD on the hard drive and opening the VOBs can sometimes be a big mistake if you want to keep audio synch. -
I have ripped using IFO mode,this is the only one of these movies that I am having trouble with,I have all of them.
I am reading about how to create the settings/files for AVIsynth,it has been a long time since I have had to use it and I don't remember how to do it properly but will read.Subs are unwanted
Thanks for your help -
Originally Posted by Onceler2
MPEG2Source("VTS_01_1.d2v")
Substitute the correct name if VTS_01_1.d2v isn't right. -
OK I got it working though I am unsure of how to proceed because the audio is out of sync
loaded it into virdubmod with the d2v file and the demuxed wav
still bad sync which isnt there if I open the vob into a player
Thanks for all the help -
Did you test the .avs in a player like MPC? (again, vdub which is not good for playback)
LoadPlugin("PATH\NicAudio.dll")
vid=MPEG2Source("PATH\VTS_01_1.d2v")
aud=NicAC3Source("PATH\demuxedaudio.ac3")
aud=DelayAudio(aud,X)
audiodub(vid,aud)
Note "X" would be the value DGMPEGdec gave you when demuxing the audio. It should be something like "FILE T01 2_0ch 192Kbps DELAY 72ms.ac3", in this example it would be 72ms, so you would enter 0.072 for "X" -
Then perhaps there is no delay. To double check, if you open the file in mediainfo (view=>text), does it report a delay?
If there is no delay , you can leave the delayaudio line out in the avs script. Then try playing the revised .avs script in MPC
My point is playing back in vdub is not necessarily indicative of your end results -
No.
When you demux the audio, it should be written in the file name, as in the example above. The option you choose is "save project and demux video" -
An alternative method is to use avidemux.
You can open your VOB directly without .avs scripts (and/or append VOB's if you have more than 1), and encode to XviD. It will index your file automatically upon opening. Playback capabilities are better in avidemux than vdub. You can also fix delay "on the fly" if there is any by checking the "audio shift" box, if this is a simple constant delay scenario.
If your VOB's play correctly in a media player, it suggests to me that they are ripped correctly, and that there is an error in your process somewhere, or you are mislead by vdub's playback capabilities -
it is out of sync in avidemux as well
I have ripped it into 1 VOB using the IFO mode of DVDDecrypter
in players it is in sync try to open it in anything except a player and it is out of sync
80: AC3 2/0 192 was the filename -
That is odd, have you acually tried encoding it? Did you open the 1 vob in avidemux, and it finished indexing it? Sometimes it comes out fine, despite the out of sync preview (although the preview usually is fine in avidemux, not so with vdub)
You can easily fix a constant sync problem in a XviD .avi by shifting the audio (just copies the streams, and "shifts" the audio), this takes ~1 or 2 minutes only. If it's a progressive sync problem, it is more difficult to fix, but come back & report this if this is the case.
You can also try this .avs script:
DirectShowSource("PATH\FILE.vob", fps=23.976, convertfps=true, audio=true)
If you play this .avs in mpc, it should be in sync (assuming your original VOB was 23.976 fps, use mediainfo if you are not sure.) If you use the same .avs to frameserve, it should also be in sync (it's feeding the encoder the exact frames similar to playing) -
yes I have tried encoding it the sync is always messed up except in the original VOB,any demuxing seems to throw it off
and yes I indexed it
that script did not work
it plays fine in VLC or Nerovision -
What do you meant that script did not work?
What was the error message?
Did you replace the "PATH" with the actual path an filename? (e.g. "C:\Documents and Settings\USER NAME\Desktop\etc....")
You have to play the script in a directshow player, such as MPC (not VLC, which uses internal codecs). The sample script doesn't demux the audio, and if you can play the VOB in sync with MPC normally, you should be able to frameserve with that same script.
Did you try fixing the delay? You could fix it in 1 or 2 minutes if it was just a constant delay problem on the encoded file. Be more specfic than "messed up". Constant delay vs. worsening delay? -
Is there some sort of a logo or other extraneous stuff before the episode or movie begins? The reason I ask is that they'll sometimes stick something in the beginning of the real video, its audio will be shorter than is the video (maybe some added black frames at the end will explain that), and when you get to the video the audio is out of synch the rest of the way. The DVD will play fine, the VOBs will play fine, but any conversion you do won't play fine.
If there is something like that, when decrypting in IFO Mode deselect the cell or chapter (cell probably) at the beginning, one corresponding to the length of this logo or whatever it is, and then go ahead and decrypt and convert.
And as poisondeathray says, constant delays can be easily fixed. Here's one way:
Open the AVI in Media Player Classic. Right-click the screen and go Options->Internal Filters->Audio Switcher and make sure the "Enable built-in audio switcher filter" box is checked. You'll only have to do this once. If doing it for the first time, then hit "OK", close MPC and reopen it. Play the AVI in it and use the + or - buttons on the right side of your keyboard to add in a positive or negative delay. A negative delay causes the audio to play earlier. 1000ms=1 second. If you have trouble synching to lips moving, try and find a sharp noise like a door slamming or a gunshot and synch to that. It shows the amount of delay applied in the bottom left of the player. Once you get it the way you like, remember that figure and close MPC.
Now open the AVI in VDubMod, clicking "No" to any messages about VBR audio. Set Video->Direct Stream Copy. Go Streams->Stream List->Right-click the audio stream->Interleaving->Audio Skew Correction->Delay Audio Track By, and fill in the correct amount. "OK" back to the main screen and File->Save As, give it a different name, wait a minute or so and test it out. -
heres my script
DirectShowSource("C:\Files for Divx\Spring\VTS_01_1.VOB", fps=29.970, convertfps=true, audio=true)
DirectShowSource:Could not open as video or audio.
it opens just fine in media player classic without the .avs and is in sync
no the video does not have a logo or any kind of comercial at front
it is a constant delay -
Originally Posted by Onceler2
A constant audio delay is trival to fix in VirtualDub. Just use the Audio -> Interleaving... Audio Skew Correction setting. In VirtualDubMod select Streams -> Stream list, right click on the stream and select Interleaving, set Audio Skew Correction. -
Originally Posted by Onceler2
If you want to see what the audio delay of the VOB file is, in DgIndex:
(after opening your VOB file(s))
select Audio -> Output Method -> Demux All Tracks
select File -> Save Project
The audio delay will be included in the filename:
VTS_01_1 T80 2_0ch 192Kbps DELAY 18ms.ac3
Using File -> Demux Audio Only will not include the delay in the filename. -
I was having some sync problems myself trying to convert a dvd to avi (xvid) turns out I was importing the demuxed .M2v file into Virtualdubmod INSTEAD of the .d2v file, I think the .d2v wouldn't import because I DIDN"T have the DgDecode.dll in Virtualdubmod's plugins folder (although it is in avisnth's plugins folder). My conversion to avi from dvd is a success without sync issues. Thanks to Jagabo and those in the above thread
Seek, And You Shall Find.
Similar Threads
-
DVD to .MP4 for Iphone using XviD4PSP audio sync issue
By Tearren in forum Video ConversionReplies: 4Last Post: 6th Jun 2010, 21:14 -
Audio/video/subtitle sync problem converting MKV to DVD (Muxman issue?)
By crackerbear in forum Authoring (DVD)Replies: 3Last Post: 7th May 2010, 11:23 -
Avi to DVD and Audio Sync Issue
By macbuz in forum MacReplies: 21Last Post: 11th Jan 2009, 19:04 -
Issue with Xvid audio sync after YouTube processing
By brassplyer in forum Video Streaming DownloadingReplies: 1Last Post: 2nd Jun 2008, 04:59 -
Audio out of Sync Issue.
By DSMKilla in forum Capturing and VCRReplies: 7Last Post: 17th May 2007, 00:27