VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Member
    Join Date
    Jul 2007
    Location
    United States
    Search Comp PM
    I have erroneously used the DOS copy command to concatenate a large batch of
    Mpeg files. The resulting files play in Media Player but display an incorrect duration.
    Also when burned to DVD the resulting DVD has portions missing. I have tried to repair
    the files by reencoding, quick stream fix using Videoredo, Demux and rewrite timestamp
    using Restream, rewrite timecode using DVDLab...none of which fixed the problem.
    Reencoding to avi did give a correct duration in media player but a DVD burned from the
    avi file did not have the correct duration in WinDVD although none of the content was missing.
    Is there any way to fix these Mpeg files?
    Quote Quote  
  2. You could try splitting the files with TmpegEnc, Cuttermaran or Mpeg2Schnitt, otherwise take your AVI and encode it to MPEG (expect quality loss doing that).

    MPEG files header information specify a number of things including duration. When you want to edit an MPEG you need software that will adjust the header accordingly.

    For basic joining there's MPEG Joiner and TmpegEnc and more, just search the Tools.
    Quote Quote  
  3. Member
    Join Date
    Jul 2007
    Location
    United States
    Search Comp PM
    What I cant figure out is that when I open the file in Videoredo it shows the correct duration and scrolls properly but in other applications it shows the duration of the first mpeg file in the concatenated file. How does Videoredo know the correct duration if it cant obtain it from reading any of the file headers? Also, if Videoredo knows the correct duration why is it that when I save it in Videoredo the file remains corrupt? Presumably the concatenated file would have extra file headers which cause the errors in scrolling etc? How does one eliminate the extra headers and correct the time in the first header?
    Quote Quote  
  4. DId you try the QuickStreamFix in VideoReDo? Rather than just saving it. You don't even need to open the video. Just start VRD go to the Tools menu and click QuickStreamFix, choose your video and choose a save location.

    Another option. Open the video if QSF doesn't work. Cut 1 frame at each join then save. VRD should then rerender the GOPS at the cuts and the file would be fixed.

    Next time use VRD to join mpgs and avoid these problems.
    Quote Quote  
  5. Video Restorer lordsmurf's Avatar
    Join Date
    Jun 2003
    Location
    dFAQ.us/lordsmurf
    Search Comp PM
    What does "concatenate" mean?
    Want my help? Ask here! (not via PM!)
    FAQs: Best Blank DiscsBest TBCsBest VCRs for captureRestore VHS
    Quote Quote  
  6. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    Mpgestreamclip perhaps? Windows version at their site

    Quote Quote  
  7. Member
    Join Date
    Jul 2007
    Location
    United States
    Search Comp PM
    TB yes as I stated above I already tried QSF. Also I did try what you said about clipping and saving but the resulting file still has the same problem.

    LS Concatenate basically means join.

    Soopa I forgot to mention that I did try Streamclip and was certain that the Fix Timecode breaks would solve the problem but it didnt. What exactly are Timecode breaks?

    There are several terms which Im not clear on:

    Timecode breaks
    Timestamp
    File Header

    Perhaps the first step is to just understand what exactly is wrong with the file. My understanding is that if it is a DOS copy concatenation of two files than it has two timestamps both of which are incorrect. Presumably these timestamps are located in two headers?

    Also, one thing which I neglected to point out, the Mpeg files which were concatenated
    using the DOS copy command were originally .VOB files taken from a working DVD. I simply changed the extension to .mpg and then joined them together. I read that .VOB files are basically the same as .mpg with the exception that they have extra navigation information encoded. So perhaps this is how VRD comes up with the correct duration and scrolls properly.
    Quote Quote  
  8. I hope when you did the copy you used the /b for binary file?
    Quote Quote  
  9. Member
    Join Date
    Jul 2007
    Location
    United States
    Search Comp PM
    TB yes used the /b...I dont think an ascii join will yield a playable file.
    Quote Quote  
  10. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    Unless those source files were identical in dimension, number of audio tracks, etc, forget it. If they are the same, then:

    Try AviDemux 2.4


    http://www.softpedia.com/progDownload/AviDemux-test-Download-16637.html





    Make sure you save the file with a .TS extension if you choose Transport Stream, or .MPG if you choose Program Stream.
    Quote Quote  



Similar Threads

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