VideoHelp Forum




+ Reply to Thread
Results 1 to 18 of 18
  1. I'm facing some kind of thing I cannot find a solution. It's actualy inexplicable. I'm trying to edit a DVD. It's a single task, a basic one. No reason for worry with complicated steps.

    First, I use PGCDemux to demux video and audio. I always do in that way and always works fine. But this time, when I do that, the video file comes smaller than the audio, resulting out of sync pair of files. I'm not talking about the normal delay sometimes occur, like 100 or 200 ms. When the video reaches 19min, the difference of audio and video sync is 9 seconds! To know that, I use DGIndex to generate d2v file and open it in Virtualdub through AVS Mpeg2Source script. I open the WAV file in VDub via "Audio from other file". I always do in this way and always work fine, except now. The source VOBs are NTSC 29.97 video and audio is AC3 384 kbps, that I converted to PCM WAV.

    Trying to work in another way, I used DVD-Lab to demux the VOBs and it gave me a MPV-MPA files. When I compile the DVD, I get the same out-of-sync problem. Curiously if I join the VOBs with Womble Mpeg Video Wizard it produces a MPG file without that damn out-of-sync thing. But I cannot compile a DVD with that MPG file because DVD-Lab forces to demux it and come back with the same problem.
    I tryed to open that MPG file in Vegas 9.0.
    Playing the file there, the problem is gone, but if I try to render a MPV file, that MPV born with the same damn problem again.

    Also, I tryied TMPGenc to generate a new MPV file from the AVS script that open MPG file via Mpeg2Source. Same problem... No way to have a pair of files walking together, maybe holding hands...

    Links for samples:
    http://www.4shared.com/video/UWHwo2UD/intro.html - MPG file (1.5 Mb)
    http://www.4shared.com/file/3YvNkdJS/intro.html - MPV file (1.3 Mb)

    Concluding, I saw that the System (Video+Audio) file plays fine, but when I demux it to Elementaries, the video became smaller and refuse to play in sync with the audio.

    Somebody has a clue? Or some other way to strike that kid 's challenger?

    Attached the MediaInfo reports.
    Code:
    General
    Complete name                    : D:\Jairo\a5\Untitled.mpg
    Format                           : MPEG-PS
    File size                        : 3.09 GiB
    Duration                         : 1h 49mn
    Overall bit rate                 : 4 040 Kbps
    Writing library                  : (c) 1998-2008 Womble Multimedia, Inc. / MPEG Video Wizard (12/2008) / Apr  3 2009
    Video
    ID                               : 224 (0xE0)
    Format                           : MPEG Video
    Format version                   : Version 2
    Format profile                   : Main@Main
    Format settings, BVOP            : Yes
    Format settings, Matrix          : Default
    Format settings, GOP             : M=3, N=15
    Duration                         : 1h 49mn
    Bit rate mode                    : Variable
    Bit rate                         : 3 610 Kbps
    Width                            : 720 pixels
    Height                           : 480 pixels
    Display aspect ratio             : 4:3
    Frame rate                       : 29.970 fps
    Standard                         : NTSC
    Color space                      : YUV
    Chroma subsampling               : 4:2:0
    Bit depth                        : 8 bits
    Scan type                        : Interlaced
    Scan order                       : Top Field First
    Bits/(Pixel*Frame)               : 0.348
    Stream size                      : 2.74 GiB (89%)
    Writing library                  : (c) 1998-2008 Womble Multimedia, Inc. / MPEG Video Wizard (12/2008) / Apr  3 2009
    Audio
    ID                               : 128 (0x80)
    Format                           : AC-3
    Format/Info                      : Audio Coding 3
    Mode extension                   : CM (complete main)
    Duration                         : 1h 49mn
    Bit rate mode                    : Constant
    Bit rate                         : 384 Kbps
    Channel(s)                       : 2 channels
    Channel positions                : Front: L R
    Sampling rate                    : 48.0 KHz
    Bit depth                        : 16 bits
    Stream size                      : 301 MiB (10%)
    Thank you.
    Quote Quote  
  2. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    Did the original DVD come from a DVD recorder?
    Quote Quote  
  3. Hi hech54

    Yes, it did. It's a movie I have to put subtitles. I work using the wav file to synchronize the times of the sustitles. But I didn't start the subtitle work yet, because I found no way to join video+audio again to complile the DVD.
    Thank you.
    Quote Quote  
  4. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    When I have that problem it is always the DVD Recorder's menu that throws off the sync. Some recorders place the menu with the video that it has recorded. If you open the disc in DVDDecrypter and demux it with that....you will probably see and extra piece on the DVD(sometimes listed as a subtitle or something dumb like that) that you can uncheck before you rip/demux with DVDDecrypter.
    Quote Quote  
  5. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    I'm not sure what I'm looking at in these samples. They're too small to see any sync error, nor is there much of a length
    mismatch.
    Since you can get a good mpg out of Mpeg video wizard, why don't you try authoring with something that will accept
    the Mpg (DVD Flick?)
    What kind of editing are you doing? Are you adding a subtitle ?
    Quote Quote  
  6. Hi hech54

    Good to recall DVDDecrypter. But I couldn't find a dumb or a piece of menu at the file list. It has only one PGC. Below the screenshots in File F and IFO I modes:

    Click image for larger version

Name:	pic2.png
Views:	537
Size:	30.1 KB
ID:	3922Click image for larger version

Name:	pic1.png
Views:	553
Size:	29.6 KB
ID:	3923


    davexnet

    Thank you for comming. Yes, I'm adding a subtitle. And yes, I'll get a look at DVDFlick.
    Thank you.
    Quote Quote  
  7. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    My next trick is to run the ripped DVD (not demuxed though) through FixVTS. It was originally made to fix DVD Recorder disc errors.
    Quote Quote  
  8. Hi folks

    The reason I put samples it's because I wish you to see if there are any problem with the video format, any anomaly to it give me sync problems. It's "impossible" to upload the whole VOB. The sync is quite imperceptible at the beginning of the movie. It increases along the time and only with elementaries files. If I search the MPG to cut a piece, I wouldn't find because MPG is fine. Only MPV and WAV don't match.

    I'm trying DVD Flick. If it gives me good files, I'll go in that way.

    I'll also try FixVTS too and post results later.
    Thank you.
    Quote Quote  
  9. Bad news... DVD Flick rendered an out-of-sync DVD... And it did more: an out-of-sync different from everything before, later than the others. All other programs (PGCDemux, DVDDecrypter, DGIndex, VDub, Vegas, DVD-Lab, TMPGenc...) rendered the same movie, but DVD Flick rendered a new one, with another out-of-sync.

    Explaining: I use a control point at 19 min, where I can see very clearly a video and audio event to match. DVD Flick created a stream that this control point is later 3 sec. than 19 min. I watched what it did. I gave to it a MPG file with video and audio in it. But it demuxed to elementaries and, later, muxed again. What for? Why it didn't work with joined file I gave?

    Folks, it is a very simple task, but it is putting me ashamed as never before... What is going on that DVD? It is knocking out myself and the old'n'good programs I always use. MPG file is OK. If I demux it, bye bye sync.

    Misterious of the life.... or a very fool moron hitting head...

    I'll look for some tutorial to edit PGC and IFO files to add the subtitle without re-author. I' not sure if I could without demux to elementaries...
    Last edited by jairovital; 22nd Oct 2010 at 13:45.
    Thank you.
    Quote Quote  
  10. Member yoda313's Avatar
    Join Date
    Jun 2004
    Location
    The Animus
    Search Comp PM
    Originally Posted by jairovital
    I'll look for some tutorial to edit PGC and IFO files to add the subtitle without re-author. I' not sure if I could without demux to elementaries.
    CHeck out avstodvd or multiavchd Both can output sd dvd. I am pretty sure BOTH can input subtitles. I have never done it but they have subtitle support. I would check them out. Also they don't need demuxed files to proceed.

    edit - yes mutliavchd does support external subtitles. It also supports a wide range of video inputs. THis should be something to check out. And it won't need to be demuxed before starting.
    Donatello - The Shredder? Michelangelo - Maybe all that hardware is for making coleslaw?
    Quote Quote  
  11. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Jairo,
    if you can cut out about 100MB of one of the VOB's, will it show the problem?
    If it will, upload it so we can look at it. I don't think we'll be able to diagnose otherwise.
    Quote Quote  
  12. Good idea, davexnet. I'm uploading, right now, 19 min of the VOB. I've already checked and after demux, video shrinks and causes sync errors. Hope you guys can diagnose this freak behaviour.
    Thank you.
    Quote Quote  
  13. yoda313,
    thank you for your suggestion. I'll see avstodvd and multiavchd later.
    Thank you.
    Quote Quote  
  14. Hi guys

    Please, get the MPG files and demux it. DGindex and Vdub with AC3 or WAV audio. Go to near the end of the video. Sync issues?

    http://www.megaupload.com/?d=8LSP5PL6
    Thank you.
    Quote Quote  
  15. you have corrupt audio frames

    you can run it through videoredo's quickstream fix, and it will demux/remux properly

    or a free way to fix it is process it though projectx
    Last edited by poisondeathray; 22nd Oct 2010 at 18:08.
    Quote Quote  
  16. Great poisondeathray!!!


    Yes, man! There are big problems with the source. And know what? Audio problems, as you said. Despite the MPG plays well, the audio track was corrupted. And I was blaming the video...

    I threw down Videoredo over the source and quickstream fix did the rest.

    One more question: how did you found out the guilty track?
    Thank you.
    Quote Quote  
  17. Originally Posted by jairovital View Post
    One more question: how did you found out the guilty track?
    when something doesn't work properly like this demux/remux issue, it's usually due to stream errors or gaps

    you can run it though projectx and the log file will give you more info as well

    the other possibilities sometimes are encryptions that weren't removed properly, or blank cells at the beginning , but those weren't the issue in this case
    Quote Quote  
  18. poisondeatray,
    Thanx, man! I was going crazy with those basic taks and feeling I was more stupid than I thought I was.

    Learned more tricks.

    Now, going to see projectx also.
    Thank you.
    Quote Quote  



Similar Threads

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