VirtualDub and DivX splitting.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rossocinque
    Junior Member
    Junior Member
    • Jan 2003
    • 11

    VirtualDub and DivX splitting.

    I'm sorry for botherin You and for my bad english, but I find myself in trouble using virtualdub in splitting a DivX file in two parts (It's an interleaved Mpeg file).
    I followed the very steps in the tutorials, but when I try to save the first part of the file i receive the following message:
    "The AVI file uses a compression algorithm which is not compatible with avi files. Direct stream copy cannot be used etc etc.".
    So i tried the "full processing" mode but at a certain frame i obtain a "Sync error" and the process ends.

    Please, someone help!
  • gs0666
    Digital Video Technician
    Digital Video Technician
    • Nov 2001
    • 462

    #2
    "but I find myself in trouble using virtualdub in splitting a DivX file in two parts (It's an interleaved Mpeg file)."

    This is because you have a MPEG file not an .avi.
    Use TMPGEnc to split the file.
    File-->MPEG Tools->Merge&Cut

    Comment

    • rossocinque
      Junior Member
      Junior Member
      • Jan 2003
      • 11

      #3
      Ok. I'll try. Thank you for the quick help.

      Anyway, the VDub author claims the ability of his software to cut mpeg files also.
      Maybe they are wrong.

      Bye.

      Comment

      • setarip
        Retired
        • Dec 2001
        • 24955

        #4
        "Anyway, the VDub author claims the ability of his software to cut mpeg files also."

        You are incorrect. The author of the "true" VirtualDub, Avery Lee, states that the program can accept for input both .AVI and MPEG-1 (only) formats - and can ONLY output .AVI files...

        Comment

        • rossocinque
          Junior Member
          Junior Member
          • Jan 2003
          • 11

          #5
          That's ok. I'm dumb.

          C U.

          Comment

          • rossocinque
            Junior Member
            Junior Member
            • Jan 2003
            • 11

            #6
            Ok. Doesn't work.
            TMPGenc cannot complete the operation.
            I noticed that the process stops in the same point where Vdub displays the "Sync error" message.
            Now i'm going to think that is a file corruption problem.
            Someone could help me to solve this?

            Thanks.

            Comment

            • UncasMS
              Super Moderator
              • Nov 2001
              • 9047

              #7
              maybe divfix can help

              Comment

              • rossocinque
                Junior Member
                Junior Member
                • Jan 2003
                • 11

                #8
                Nope. Divfix doesn't work.
                The software states that the file is not an AVI file.

                The file is an "interleaved MPEG file".
                I have attached the parameters from virtualdub Properties menu.
                Maybe it helps.

                Attached Files

                Comment

                • UncasMS
                  Super Moderator
                  • Nov 2001
                  • 9047

                  #9
                  as far as i know there is no tool for fixing mpeg1/2 streams

                  correct me if i'm wrong

                  Comment

                  • setarip
                    Retired
                    • Dec 2001
                    • 24955

                    #10
                    "Now i'm going to think that is a file corruption problem."

                    It appears that the audiostream may be considerably longer than the videostream.

                    As an experiment using the GoldWave audio editor, "drag and drop" the file onto the already open Goldwave window.
                    Extract the audiostream in .WAV format.
                    Load the .WAV file in Windows Media Player.
                    Note the indicated duration.
                    Compare to the indicated video duration per your VirtualDub information screen capture.
                    Post your findings (here).

                    Comment

                    • rossocinque
                      Junior Member
                      Junior Member
                      • Jan 2003
                      • 11

                      #11
                      It seems You are right.

                      GW stated a 1:10:27,332 audio duration versus a 1:11:24 total leght of the movie.

                      Now it's time to solve the problem... but I really can't figure how.

                      I'm waiting her for some kind advice.

                      Comment

                      • setarip
                        Retired
                        • Dec 2001
                        • 24955

                        #12
                        You haven't mentioned whether you are able to PLAY the original file properly from start to finish...

                        Comment

                        • rossocinque
                          Junior Member
                          Junior Member
                          • Jan 2003
                          • 11

                          #13
                          Yes. It seems to play fine.

                          Comment

                          • setarip
                            Retired
                            • Dec 2001
                            • 24955

                            #14
                            Once again (if you haven't saved the audiostream as a .WAV file), drag and drop the MPEG-1 file onto an already opened Goldwave.
                            Then use "Time Warp" to stretch or shrink the audio to the same duration as the video (audio time divided by video time). Save the result as an Uncompressed PCM (.WAV) file.

                            Open TMPGEnc and
                            Click on "System" tab - and set mode to "plain vanilla" "MPEG-1" (NOT "MPEG_1 VideoCD")
                            Load your .WAV file into the main window
                            Set to "Audio" only
                            Save with ".MP2" extender

                            TMPGEnc>>File>>MPEGTools>>Simple Demultiplex
                            Load your original MPEG-1 file
                            Save ONLY the Videostream (with an ".M1V" extender)
                            THEN
                            TMPGEnc>>File>>MPEGTools>>Simple Multiplex
                            Set mode to "plain vanilla" "MPEG-1" (NOT "MPEG_1 VideoCD")
                            Load the ".M1V" videostream and the ".MP2" audiostream
                            Enter a new filename (with a ".MPG" extender) in the "Output" box
                            Click on the "Run" radio button



                            The following is a copy of the "Help" page for using "Time Warp" in GoldWave:

                            Time Warp

                            Changes the playback speed or stretches/compresses the length of the selection. Three different techniques are provided, each with certain advantages and disadvantages. All three let you specify the change either by a speed factor or by a new length. The Speed factor lets you specify a relative change. A value of 0.5 make the selection play twice as slow. A value of 2.0 make the selection play twice as fast. The Time options lets you specify a new length for the selection. This is useful if you need to make a sound fit a certain time, such as squeezing a 35 second commercial into a 30 second spot.


                            Speed
                            Changes the sampling rate of the entire sound so that it plays back at a different speed, similar to spinning a record faster or slower. It works the same way as the speed scroll bar in the Device Controls window, but in this case, the sound itself is changed. This technique is very fast and produces excellent quality, however, the pitch of the sound is changed as well.

                            Similarity
                            Uses correlation to add or overlap small, similar sections of the sound. This technique preserves the pitch and generally produces high quality for voice and fair quality for music, when using small changes. A fair amount of time may be require for processing, depending on the Search range value. For voice, the Window size should be set between 20 and 30 and the Search range set to between 5 and 10. For music, a larger Window size and Search range gives better results, such as 50 and 25.


                            FFT
                            Uses Fourier transforms and interpolates or decimates the spectral analysis to change the length. This technique preserves the pitch, but can introduce some artifacts into the sound. Best quality is obtained by using the Oscillator synthesis option, but that requires significant processing time. The FFT size should be set from 9 to 11 and the Overlap should be at least 75, but can be set to 88, 90, or 95 for slightly better quality.

                            Note: If you changed the Device Controls playback speed, remember to set it back to 1.00 so that the sound plays at the correct speed.


                            See Also
                            Playback rate
                            Resample
                            Pitch
                            Device Controls Window
                            Last edited by setarip; 3 Feb 2003, 11:44 AM.

                            Comment

                            • rossocinque
                              Junior Member
                              Junior Member
                              • Jan 2003
                              • 11

                              #15
                              I couldn't expect a more exaustive reply.

                              ASAP i will work on the file. Hope it will work.

                              Thanks a lot for your quick replies.

                              Comment

                              Working...