1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problems with mpeg-2 streams

Discussion in 'MPEG-1 and MPEG-2 encoding (AVI to DVD)' started by LGold, Mar 10, 2008.

  1. LGold

    LGold Member

    Joined:
    Mar 10, 2008
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    11
    I have been using tivo-to-go since it came out, and my general procedure is to transfer the program from the tivo to my computer, then edit out the .tivo part using directshowdump. Afterwards, i use videoredo to edit the commercials, then using TMPGEnc DVD author, i convert to .vob files and burn to a DVD.
    I have had 2 files recently that have caused big problems. I was able to clip the files with directshow dump, but when i used videoredo, i get tons of resync errors causing a bunch of video frames to be removed. i figured something was off with the files and have been trying to repair them ever since, but haven't had much luck.
    i have tried using TMPGEnc to demux, then remux the files, but i either get repaired video with no audio, or illegal mpeg audio errors.
    i have also tried xmuxer with similar results.
    does anyone have any suggestions on how to fix these files, or settings in any of the programs that i have used that might make things better?

    i appreciate the help!

    Robbie
     
  2. pryme_H

    pryme_H Regular member

    Joined:
    Mar 13, 2006
    Messages:
    1,698
    Likes Received:
    0
    Trophy Points:
    46
    Download VirtualDub-MPEG2.
    http://www.free-codecs.com/download_soft.php?d=3701&s=149
    Run it. Go to File, Open video file. Then click on Audio>Full Processing Mode; Click Audio again, then
    Conversion.... Tick 44100 Hz>OK. Click File>Save WAV.... Now, Remux this audio with the video.
     
  3. LGold

    LGold Member

    Joined:
    Mar 10, 2008
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    11
    so i used virtualdub and made a .wav file for the audio. i tried using that with TMPGEnc as well as Xmuxer, but neither will allow me to remux the video with the .wav file. i tried remuxing in virtualdub, but it only seems to create avi files and the resulting file was way, way to big.
     
  4. pryme_H

    pryme_H Regular member

    Joined:
    Mar 13, 2006
    Messages:
    1,698
    Likes Received:
    0
    Trophy Points:
    46
    Last edited: Mar 11, 2008
  5. LGold

    LGold Member

    Joined:
    Mar 10, 2008
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    11
    thank you, that worked! now the only problem i have is the audio is out of sync with the video. any suggestions for how to resync?

     
  6. pryme_H

    pryme_H Regular member

    Joined:
    Mar 13, 2006
    Messages:
    1,698
    Likes Received:
    0
    Trophy Points:
    46
  7. LGold

    LGold Member

    Joined:
    Mar 10, 2008
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    11
    any particular settings on mpeg2vcr that i need to pay attention to to get this to come out correctly?
     
  8. pryme_H

    pryme_H Regular member

    Joined:
    Mar 13, 2006
    Messages:
    1,698
    Likes Received:
    0
    Trophy Points:
    46
  9. LGold

    LGold Member

    Joined:
    Mar 10, 2008
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    11
    so i played around with files last night and used mpeg2vcr, but i still had a pretty big problem with the audio being out of sync. i went back and looked at the file and it looks like everything starts out fine, but about 30 minutes into the file, the audio jumps ahead by a significant amount (at least 10 minutes).
    i reloaded the original file in virtualdub and had it analyze and convert the audio again and got the "anachronstic or discontinuous timestamp" error indicating a problem with improper joining. there were 2 audio errors and 1 video error.
    is there any way to repair these errors to get the audio to sync better?
     
  10. pryme_H

    pryme_H Regular member

    Joined:
    Mar 13, 2006
    Messages:
    1,698
    Likes Received:
    0
    Trophy Points:
    46
  11. LGold

    LGold Member

    Joined:
    Mar 10, 2008
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    11
    well, i've gone back and forth with this thing. i started all over and went through all the suggestions, but i still get an out of sync file. i can get the file separated and remuxed, but the audio is way off.
    i feel like the major problem is the audio file, and it seems like most programs i run it through end up chopping out a chunk of the audio that causes it to be out of sync when added to the video.
    any other thoughts on working with the audio file?
    the video file seems to be ok and intact the entire way through, by the way.
     
  12. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    Is the audio off the same amount all the way through ?
     
  13. LGold

    LGold Member

    Joined:
    Mar 10, 2008
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    11
    i believe so. it looks like a chunk is missing at a certain point whenever i try to extract the audio (i figures this was where the joining error was) causing it to be off. but it is more than a few seconds, so it makes it hard to tell.
     
  14. LGold

    LGold Member

    Joined:
    Mar 10, 2008
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    11
    this is what i get in virtualdub:

    [!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at
    byte position 5359233597, from 1939332 to 8589880247. This may indicate an
    improper join.

    [!] MPEG: Anachronistic or discontinuous timestamp found in audio stream 0 at
    byte position 5365132980, from 1963104 to 8589899966. This may indicate an
    improper join.

    [!] MPEG: Anachronistic or discontinuous timestamp found in audio stream 0 at
    byte position 5365148020, from 15054 to 8589858568. This may indicate an
    improper join.

     
  15. pryme_H

    pryme_H Regular member

    Joined:
    Mar 13, 2006
    Messages:
    1,698
    Likes Received:
    0
    Trophy Points:
    46
    Download TMPGEnc v2.524.63.181. Double-click TMPGenc.exe to run the application. After you click OK on the copyright window, click cancel on the Project Wizard window. Now, go to File, MPEG Tools, Merge & Cut tab. Next click Add to browse for flawed files; select an Output and give it a new name. And finally, click Run.
     
  16. LGold

    LGold Member

    Joined:
    Mar 10, 2008
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    11
    alright, i ran it through tmpgenc just like you suggested and used the merge/cut tool. the resulting file runs perfectly up to the 27:35 mark, which is where i thought the original problem was. at that point, the file stops, so the output file was only like 40MB large and lasts about an half an hour rather than the 3 hours the program is.
     
  17. pryme_H

    pryme_H Regular member

    Joined:
    Mar 13, 2006
    Messages:
    1,698
    Likes Received:
    0
    Trophy Points:
    46
    Last edited: Mar 24, 2008
  18. attar

    attar Senior member

    Joined:
    Jun 17, 2005
    Messages:
    11,147
    Likes Received:
    41
    Trophy Points:
    128
    Have you used 'Quickstream Fix' on the source file in VideoRedo to see if it can output a usable mpeg.
    If so, Can TMPGenc be used to edit the file before conversion.
     
  19. LGold

    LGold Member

    Joined:
    Mar 10, 2008
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    11
    Thanks Pryme, I will try that this evening. Attar, I tried quickstream fix on the file first. Because of the audio problem, it tries to sync the file by deleting a large chunk of video frames.

    As I mentioned above, when I run the original file through TMPGEnc and demultiplex it, the resulting video file is perfect all the way through. When I look at the audio file after demultiplexing, there is an error at about the 30 minute mark that causes a portion to get deleted and I then can't get the audio and video to sync up.
     
  20. attar

    attar Senior member

    Joined:
    Jun 17, 2005
    Messages:
    11,147
    Likes Received:
    41
    Trophy Points:
    128
    DGIndex can demux mpeg/transport streams and if you choose to have the audio as a wav file, I find it corrects the sync.
     

Share This Page