VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. Trying to convert this .avi to svcd with tmpgenc. Here's the stats on the file.

    I read somewhere if its a RIFF file then use dvdtoavi to strip the avi into a dv2 file. Then load dv2 file into tmpgenc. Although i clueless on the audio part.

    Also when I use virtual dub to take out the audio i get this error ::
    [!] MPEG: Anachronistic or discontinuous timestamp found in video stream 0 at byte position 824625396, from 370919659 to 741794817. This may indicate an improper join.

    So my question is what am I doing wrong? Am I missing a step here?
    Quote Quote  
  2. Member teegee420's Avatar
    Join Date
    Dec 2003
    Location
    Southern California
    Search Comp PM
    You need to remove the RIFF/XA header from the avi. I'm guessing you renamed it from .dat, correct? Change it back to dat. To remove the header, use DAT2File. Select the dat as the input and choose your destination file, remembering to use a .avi extension. Click convert and wait for the command line to complete. Hopefully you should be able to open the new avi in Vdub assuming whomever authored the file did so correctly.
    Quote Quote  
  3. I'm guessing you renamed it from .dat, correct?
    No, I received it in a .avi format not a dat. If I understand you correctly.

    So, i removed the RIFF header from the avi with Dat2file. I loaded .avi into to virtual dub and received this error.


    I used virtualdub freeze and found no bad frames as well.
    Quote Quote  
  4. Member teegee420's Avatar
    Join Date
    Dec 2003
    Location
    Southern California
    Search Comp PM
    Try analyzing the file with G-spot again now that the header is removed. I'd like to know what kind of video compression it is(mpeg maybe?) and confirm that it has mpeg audio.

    It doesn't look like Vdub is going to be able to fix the file so you might want to try encoding with "no audio" selected in the audio menu. Strip the audio to wav with Goldwave and make sure the audio duration matches the video. If the audio doesn't match up you can stretch or shrink as necessary with Goldwave by going to Effect>Time Warp. Save as whatever kind of compression you want. Once you are able to convert the video to avi(you never said what kind of compression you planned to use) you can mux the new avi with the audio compressed by Goldwave with AVI MUX GUI.
    Quote Quote  
  5. Here is gspot stat after taking out RIFF header::


    As for the compression of the audio, i'll convert to 44.1. Also the video is 29.97.

    I converted the audio avi to wav with goldwave. The size of the wave and audio frames match up. SO thats good. Now I just have to use AVI MUX GUI .......
    Quote Quote  
  6. Member teegee420's Avatar
    Join Date
    Dec 2003
    Location
    Southern California
    Search Comp PM
    Here's the thing, your "avi" is really an mpeg. AVI MUX GUI won't work with it, as it only accepts true avi's. You'll have to convert the mpeg to avi with Vdub in order for it to work. What exactly is your reason for wanting to conver it to avi anyway?
    Quote Quote  
  7. No I dont want it in to .avi.

    Anyway I used goldwave and everything went smoothly. Put the stripped RIFF header .avi into tmpgenc and then put the .wav in to the audio. Every thing reencoded correctly GREAT!!! Played as well.

    Thanks for the tips teegee420...
    Mission accomplished
    Quote Quote  



Similar Threads

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