Joinging AVI Formatted Files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Duker
    Junior Member
    Junior Member
    • Apr 2002
    • 13

    Joinging AVI Formatted Files

    I have a number of AVI files and I want to join them. I have Virtural Dub but it keeps telling me the "sampling rates are different." Does anyone have a solution for this problem? Is there a way to join these AVI files?
  • sarit16
    Platinum Member
    Platinum Member
    • Dec 2001
    • 191

    #2
    Joining AVI Files,

    Could u please put the file info of the 2 files u wanna join on the forum.

    cheers

    sksk

    Comment

    • setarip
      Retired
      • Dec 2001
      • 24955

      #3
      To join .AVI files in VirtualDub, both video and audio have to be identical. The message of differing sample rates (NOT different framerates) indicates that the audio streams are different. If the message did not state which rates were used, do the following:

      1) Load the first file into VirtualDub
      2) From the "File" dropdown menu, select "File Information"
      3) Note the audio codec, frequency, and sampling rate used (for MP3 formats, it will understate the rate by 1. For example, a rate of 128Kbps will appear as 127Kbps).
      4) Close the first file
      5) Load the second file
      6) Set "Video" to "Direct Stream Copying"
      7) Set "Audio" to "Full Processing Mode"
      8) Under the "Audio" dropdown menu, select "Conversion". If need be change the frequency to match that of the first file
      9) Under the "Audio" dropdown menu, select "Compression". If the right side pane is blank, put a checkmark in "Show all formats". Select the same codec, frequency, and sampling rate as that of the first file.
      10) From the "File" dropdown menu, select "Save as AVI" and enter a new filename for the modified file.
      11) Close VirtualDub (as a precaution)
      12) Open VirtualDub
      13) Load the first file and append the modified second file.Save the joined file

      Let us know of your success ;>}

      Comment

      • Dewey Pasquini
        Junior Member
        Junior Member
        • Apr 2002
        • 13

        #4
        Thanks



        I want to thank both of you for your replies. I will try your suggestion and see how it works and get back to you.

        Sarit16, I'll send you the formats as soon as I get organized run Virtual Dub.

        Comment

        • Dewey Pasquini
          Junior Member
          Junior Member
          • Apr 2002
          • 13

          #5
          File Information

          The file information that appears in the two files is attached. I couldn't find anything which referred to the audio codec and frequency. Please let me know what it is I'm looking at.

          I can only attach one file at a time. The second file is coming next.
          Attached Files

          Comment

          • Dewey Pasquini
            Junior Member
            Junior Member
            • Apr 2002
            • 13

            #6
            2nd File

            Here's the second files information.
            Attached Files

            Comment

            • asphaltsurfer
              Junior Member
              Junior Member
              • Dec 2001
              • 12

              #7
              same problem here

              i tried to join my two avi-files using PecksPowerJoin, which abortet the progress after a few seconds. now i tried it with vDub 1.4.7

              i got the same error as dewey, but it keeps saying me that "The audio streams have different sampling rates: 15998.000000 vs. 15999.0000000"

              @setarip, the file information doesen't say anything about the sample rate
              and in the audio dropdown menu there's no "conversion" possibility (unless u might have a different vdub version)

              need backup

              Comment

              • setarip
                Retired
                • Dec 2001
                • 24955

                #8
                To Dewey Pasquini

                Have you been able to successfully play these two .AVI files and HEAR the audio?

                Unless I'm misinterpreting something, the number of audio frames (only 15) for each of these 30 second-long files is probably indicative of non-existent or corrupt audiostreams.

                Have you attempted to use the procedure I detailed for you?

                Comment

                • setarip
                  Retired
                  • Dec 2001
                  • 24955

                  #9
                  To asphaltsurfer

                  As I posted previously:

                  7) Set "Audio" to "Full Processing Mode"

                  8) Under the "Audio" dropdown menu, select "Conversion". If need be change the frequency to match that of the first file


                  I am not aware of ANY version of VirtualDub that doesn't have this menu choice...

                  Comment

                  • Dewey Pasquini
                    Junior Member
                    Junior Member
                    • Apr 2002
                    • 13

                    #10
                    Setarip - I followed the steps

                    I followed the steps you suggested. I attached two screen shot images that showed the information from each of the avi files in a previous addition to this thread. See previous attachments. Maybe you could let me know what it all means.

                    I couldn't find the audio codec or frequency. Could you look at the two samples and see what I'm missing. The information may be there but I didn't know how to interpret it.

                    I was able to play both videos and they had sound. They work fine by themselves but can't be joined.

                    I will admit that I didn't save the second file because I didn't know what numbers in the information file meant.

                    Do you have any idea why it's more difficult to join avi files than mpg files?

                    When I tried to append the two files before I joined this thread, I got a similar error to what asphaltsurfer got. The sampling rates were off by just a bit.

                    Appreciate your help.

                    Comment

                    • Dewey Pasquini
                      Junior Member
                      Junior Member
                      • Apr 2002
                      • 13

                      #11
                      To Sarit16

                      I sent the information on two files as an attachment in a previous note in this thread. Did you get a chance to look at it.

                      I believe setarip has the right idea. I just don't know how to interpret the information.

                      Comment

                      • setarip
                        Retired
                        • Dec 2001
                        • 24955

                        #12
                        I've included some minor modifications here to my original post. If you follow these instructions TO THE LETTER, there is no way the audiostreams of the two files cannot be IDENTICAL:

                        1) Load the first file into VirtualDub
                        2) Set "Video" to "Direct Stream Copying"
                        3) Set "Audio" to "Full Processing Mode"
                        4) Under the "Audio" dropdown menu, select "Compression", choose an MP3 (MPEG Layer3) MONO 8,000 setting of your liking
                        5) From the "File" dropdown menu, select "Save as AVI" and enter a new filename for the modified file.

                        DO NOT EXIT VIRTUALDUB!

                        6) Load the second file
                        7) From the "File" dropdown menu, select "Save as AVI" and enter a new filename for the modified file.
                        8) Close VirtualDub (as a precaution)
                        9) Open VirtualDub
                        10) Load the modified first file and append the modified second file.Save the joined file.
                        Last edited by setarip; 17 Apr 2002, 10:51 AM.

                        Comment

                        • Dewey Pasquini
                          Junior Member
                          Junior Member
                          • Apr 2002
                          • 13

                          #13
                          To setarip

                          Thanks.

                          I'm going to try it now.

                          Comment

                          • Dewey Pasquini
                            Junior Member
                            Junior Member
                            • Apr 2002
                            • 13

                            #14
                            To Setarip

                            I followed your directions and I think we're closer.

                            When I went to append the two files, I got an error which said, "video streams have different formats."

                            What do you think?

                            Comment

                            • setarip
                              Retired
                              • Dec 2001
                              • 24955

                              #15
                              "What do you think?"

                              I think you're going through an awful lot of effort just to join two thirty second snippets of video...

                              Use VirtualDub in the same fashion as you did to "Cure" the audio - except this time, set "Video" to "Full Processing Mode" and "Audio" to "Direct Stream Copying" - and from under the "Video" dropdown menu, select "Compression" and choose the codec you prefer (and configure it in whatever manner you please) and save each of the files with these settings...

                              Comment

                              Working...