VideoHelp Forum




+ Reply to Thread
Results 1 to 29 of 29
  1. Member
    Join Date
    Jan 2008
    Location
    United States
    Search PM
    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
    Quote Quote  
  2. 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).
    Quote Quote  
  3. Member
    Join Date
    Jan 2008
    Location
    United States
    Search PM
    I don't see the MPEG2Source template anywhere in my virtualdubmod dirs
    Quote Quote  
  4. Originally Posted by Onceler2
    I don't see the MPEG2Source template anywhere in my virtualdubmod dirs
    When you open a video file with vdubmod, the open video file dialog will have a drop down menu in the lower left corner "use avisynth template"

    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
    Quote Quote  
  5. Member
    Join Date
    Jan 2008
    Location
    United States
    Search PM
    funny thing,on players it is in sync on virtual dubmod it is out of sync
    Quote Quote  
  6. Originally Posted by Onceler2
    funny thing,on players it is in sync on virtual dubmod it is out of sync
    Do not rely on vdub or vdubmod playback to determine if audio is in sync. They have poor playback capabilities.
    Quote Quote  
  7. 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.
    Quote Quote  
  8. Member
    Join Date
    Jan 2008
    Location
    United States
    Search PM
    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
    Quote Quote  
  9. Originally Posted by Onceler2
    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.
    If you create the AVS file in the same folder as the d2v file all you have to have is:

    MPEG2Source("VTS_01_1.d2v")

    Substitute the correct name if VTS_01_1.d2v isn't right.
    Quote Quote  
  10. Member
    Join Date
    Jan 2008
    Location
    United States
    Search PM
    it gives me script error:there is no function named MPEG2source
    Quote Quote  
  11. Originally Posted by Onceler2
    it gives me script error:there is no function named MPEG2source
    Did you copy DgDecode.dll (from the DgMpgDec package) to your AviSynth plugins folder?
    Quote Quote  
  12. Member
    Join Date
    Jan 2008
    Location
    United States
    Search PM
    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
    Quote Quote  
  13. 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"
    Quote Quote  
  14. Member
    Join Date
    Jan 2008
    Location
    United States
    Search PM
    I don't see any value for x when dgindex is decoding the audio
    Quote Quote  
  15. 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
    Quote Quote  
  16. Member
    Join Date
    Jan 2008
    Location
    United States
    Search PM
    80: AC3 2/0 192
    is what it says in DGIndex,is that the delay?
    Quote Quote  
  17. 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"
    Quote Quote  
  18. 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
    Quote Quote  
  19. Member
    Join Date
    Jan 2008
    Location
    United States
    Search PM
    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
    Quote Quote  
  20. 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)
    Quote Quote  
  21. Member
    Join Date
    Jan 2008
    Location
    United States
    Search PM
    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
    Quote Quote  
  22. 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?
    Quote Quote  
  23. 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.
    Quote Quote  
  24. Member
    Join Date
    Jan 2008
    Location
    United States
    Search PM
    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
    Quote Quote  
  25. Originally Posted by Onceler2
    "C:\Files for Divx\Spring\VTS_01_1.VOB", fps=29.970, convertfps=true, audio=true)
    DirectShowSource:Could not open as video or audio.
    You either don't have a DirectShow MPEG splitter or you don't have DirectShow MPEG2 and Ac3 decoders.

    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.
    Quote Quote  
  26. Member
    Join Date
    Jan 2008
    Location
    United States
    Search PM
    it's in sync on media player classic
    Quote Quote  
  27. Originally Posted by Onceler2
    it's in sync on media player classic
    So what? You're not using MPC to do the conversion.

    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.
    Quote Quote  
  28. Member
    Join Date
    Jan 2008
    Location
    United States
    Search PM
    delay of 0
    Quote Quote  
  29. Member Hittz's Avatar
    Join Date
    Dec 2006
    Location
    United States
    Search Comp PM
    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.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!