How do I join AVI in VDub?? Largefileproblem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Flussoscuro
    Junior Member
    Junior Member
    • May 2005
    • 11

    How do I join AVI in VDub?? Largefileproblem

    I am new to VDub, but not joining videos.

    I have read Niki's tutorial on joining with vdub and have vdub 1.5.1.

    I have tried a test join of two avi clips 2.5 Mb each. The program loads and appends the next clip.

    But how do I save the new selection as a joined AVI?

    I have tried "save as Avi with a new name.

    BUT the program requires 25 minutes just to join two short clips, and in the meantime produced what I guess was a swap file of 750Mb (!) in seven minutes running. First time I ran out of disc space, second time I aborted.

    What am I doing wrong??
  • ormonde
    Digital Video Explorer
    • Dec 2003
    • 3735

    #2
    "What am I doing wrong??"

    Hello and welcome to the forums. It sounds as if you are saving the output as an "Uncompressed" AVI file, which will result in a huge filesize. Go back and resave the project by using either a "DivX" or "XviD" codec to compress the output.

    Comment

    • reboot
      Digital Video Expert
      Digital Video Expert
      • Apr 2004
      • 695

      #3
      If you're eventually going to encode to mpeg-2 for DVD (or SVCD), then don't resave an avi. Frameserve it to your encoder to maintain quality.
      My DVDLab (and other) Guides

      Comment

      • setarip
        Retired
        • Dec 2001
        • 24955

        #4
        Assuming the two .AVIs are IDENTICAL regarding ALL aspects of video and audio, you should find that:

        Joining two .AVIs can be accomplished in VirtualDub (or any of its variants) by simply:

        1) Loading the first file and then, from the "File" dropdown menu selecting "Append .AVI segment" and loading the second file.

        2) Set BOTH "Video" and "Audio" to "Direct Stream Copy"

        3) Save with a new filename


        If you still have this problem,

        1) Load one of the original .AVI files into VirtualDub (or one of its many variants) or NanDub

        2) From the "File" dropdown menu, select "File Information"

        3) Post (here) EVERYTHING you see (BOTH video and audio information), or post a screen capture .jpg of the information box

        Comment

        • Flussoscuro
          Junior Member
          Junior Member
          • May 2005
          • 11

          #5
          Well, thanks for that. I finally figured out that you have to go to Video/compression and select a codec BEFORE choosing video/normal recompress.

          It still took a long time to join though, unlike Pecks (when it is working).

          I guess this is because it decompresses and then recompresses, while Pecks just seems to be able to link them all together (very quickly when it works).

          Perhaps you can also explain what this means and what I do about it?

          "VirtualDub has detected an improper VBR audio encoding in the source AVI file and will rewrite the audio header with standard CBR values during procesing for better compatability. Thismay introduce up to 217ms of skew from the video stream. If this is unacceptable, decompress the "entire" audio stream to an uncompressed WAV file and recompress with a constant bitrate encoder. (bitrate 112.1 +/- 19.5 Kbs)"

          NB: When I tried joining this series of clips with Pecks, it joined the FIRST FRAME ONLY of all the clips.


          Also, what is auxsetup and proxy off/on registry?


          Setarip, I will try your method next.

          No, I am not recoding for DVD, just joining AVIs.

          Comment

          • reboot
            Digital Video Expert
            Digital Video Expert
            • Apr 2004
            • 695

            #6
            Because some id10t encoded these with VBR MP3 audio (and should be shot), you'll have to resave the files with CBR audio, before you can join them.
            Open the first, select Video, compression, and choose your codec.
            Save it.
            Open the second, select the same video codec.
            Save it.
            Open the first saved avi, append the second, select video, direct stream copy, and save again.
            This will give you the joined avi, hopefully with in sync audio.
            My DVDLab (and other) Guides

            Comment

            • Flussoscuro
              Junior Member
              Junior Member
              • May 2005
              • 11

              #7
              Thanks for all the info guys!

              I did some more research on the clips I was trying to join. I found through Loading/apppending them in VDub that EVERY SINGLE CLIP had a DIFFERENT audio sample rate. It makes EVERY clip non compatible with every other one, and I suspect was done deliberatley by someone to prevent the clips being joined.

              I guess I will have to strip out the sound and "normalise" it to some standard. I am reading Nicki's tute on that now.

              More later.

              Comment

              • Flussoscuro
                Junior Member
                Junior Member
                • May 2005
                • 11

                #8
                Setarip, that cured the oversize file problem.

                I have used VDub to identify all the different audio data as follows:


                Relative Audio Data

                Clip/Sample Rate Skew/ms
                Bitrate/kbps =/- skew
                1. 14016 217 112.1 19.5
                2. 14146 52 113.2 17.2
                3. 14038 125 112.3 17.4
                4. 14012 49 112.1 17.0
                5. 13990 46 111.9 17.1
                6. 13960 41 111.7 15.8
                7. 13922 35 111.4 11.5
                8. 13916 59 111.3 11.2
                9. 13866 61 110.9 10.9
                10. 13875 51 111.0 10.5
                11. 13862 45 110.9 10.3
                12. 13876 86 111.0 10.6
                13. 13881 40 111.0 10.3
                14. 13929 52 111.4 11.4
                15. 13831 85 110.6 11.0
                16. 13857 68 110.9 11.9
                17. 13909 34 111.3 10.5
                18. 13867 62 110.9 11.1
                19. 13885 48 111.1 11.8
                20. 13873 73 111.0 10.4
                21. 13877 59 111.0 11.0
                22. 13966 51 111.7 14.7

                13831 to 14146 34 to 217 110.6 to 113.2 10.3 to 19.5

                I will have to strip out the audio and re process it to a common standard. Presumably I will then have to sync it individually to each clip because they all have different skews. Then I can join the clips together.


                How do I do this?

                The table does not transcribe well to this form, so hope you can read it OK.

                I thought about giving up on this, but realized that if I did, I would learn nothing.

                Thanks for the help so far.

                Comment

                • reboot
                  Digital Video Expert
                  Digital Video Expert
                  • Apr 2004
                  • 695

                  #9
                  Open each in virtualdub.
                  Set audio to full processing.
                  Select video, direct stream copy.
                  Click File, save avi.
                  This will decompress all the audio, and give you standardized avi's to work with.
                  Once you've done them all, you can then join the newly saved ones in vdub, thus preserving audio sync.
                  My DVDLab (and other) Guides

                  Comment

                  Working...