Need to compress an AVI

Discussion in 'Other video questions' started by janlafata, Mar 13, 2010.

  1. janlafata

    janlafata Regular member

    Joined:
    Dec 21, 2008
    Messages:
    210
    Likes Received:
    0
    Trophy Points:
    26
    First of all, one thing I don't understand. Using VirtualDub I chopped up three AVI segments that I want to put together to make one video to upload to YouTube, Of course it has to be under 10 minutes.

    The first segment is 1:23 in length, the second 2:33 and the third is 5:50. I don't know exactly what that adds up but I know it's close to 10 minutes and I can always edit out more to get it under 10, nut it is close to 10 now.

    Anyway I used VirtualDub to join them all together and I used the Xvid codec to compress the task, but when it was finished it came out like at 15 minutes or so. How can that be, and maybe should I have used the DivX codec instead.

    Also, if I wanted to, how could I compress that 15 minute file to make it under 10?
     
  2. dailun

    dailun Active member

    Joined:
    Mar 16, 2006
    Messages:
    3,074
    Likes Received:
    0
    Trophy Points:
    66
    If you try to compress data which has already been compressed, you will end up with data EXPANSION.

    Sounds like that's what happened.

    ". . .1:23 in length, the second 2:33 and the third is 5:50. I don't know exactly what that adds up. . "

    Are you serious???? 1:23+2:33+5:50=9:46

    A simple AVI joiner program should do the trick.
     
  3. cyprusrom

    cyprusrom Active member

    Joined:
    Jan 5, 2006
    Messages:
    5,439
    Likes Received:
    1
    Trophy Points:
    96
    If the 3 segments have the same characteristics, if they are from the same AVI source(same resolution/audio sampling)...you can join them without re-encoding. VirtualDub can do that.
    Choose :
    Code:
    Video -> Direct Stream Copy...
    and
    Audio -> Direct Stream Copy...
    If those segments are from different sources, most likely you have to re-encode.
    A 9 minute video is a nine minute video, you cannot get 15 minutes out of it by re-encoding.You can double the size in MB, you might be able to add a few seconds by changing framerate, but not 5 minutes. You must've added one segment twice...
     
    Last edited: Mar 15, 2010
  4. janlafata

    janlafata Regular member

    Joined:
    Dec 21, 2008
    Messages:
    210
    Likes Received:
    0
    Trophy Points:
    26
    Ok so let make sure I've got this straight...When joining the three files in VirtualDub, files that were compressed when originally cut from a full avi, I enable "Direct Stream Copy" before I use the
    Append" function?

    Because what I did with this little project was load file 1, then click Append, then load file 2, then click append again, then load file 3, and save the project, but I can't remember if I enabled compression or not.

    But your saying if they have already been compressed, everything will work out just fine if I...Do not enable compression, enable "Direct Stream Copy" in audio and video, and use the append fuction?
     
  5. tnt1125

    tnt1125 Member

    Joined:
    Mar 9, 2010
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    16
    I thought if all segments were in the same folder, add the 1st one, Append AVI Segment add 2nd-it auto adds the rest. To check this out slide the bar and look for the credits at the the end.
     
  6. cyprusrom

    cyprusrom Active member

    Joined:
    Jan 5, 2006
    Messages:
    5,439
    Likes Received:
    1
    Trophy Points:
    96
    yes, if they are segments from the same AVI, use "Direct Stream Copy", no compression necessary"
    I don't know, possibly that's how it works(I cannot tell, never really used VDub as a standalone program). However, that would probably be the case if you have the parts named sequentially(part1.avi, part1.avi...something like that). if the names of the segments are totally arbitrary, most likely will not work that way.
     

Share This Page