VideoHelp Forum




+ Reply to Thread
Results 1 to 8 of 8
  1. I want to combine two seperate video files (Split-screen) which have the same technicalities (frames, window, bitrate, etc..) but i do not want to have to re-encode them again to make one .avi file

    I am trying to do it with an avisyth script using avspmod and virtualdubmod

    clip1=AVISource("C:\Users\bacev\Videos\raxx 2011-06-19 07-20-00-316.avi")
    clip2=AVISource("C:\Users\bacev\Videos\raxx 2011-06-19 07-20-00-316c.avi")
    StackHorizontal(clip1, clip2)
    but instead of just adding the two videos side by side it recodes them or makes the videos go from compressed to uncompressed.

    Both files are 40.1MB in size, end result gives me a 8GB single avi file.... ??? why?
    Last edited by bseos; 18th Jun 2011 at 18:17.
    Quote Quote  
  2. Member pirej's Avatar
    Join Date
    Mar 2008
    Location
    Macedonia
    Search Comp PM
    Any .avs that goes as an input in to any converter/editor MUST be (re)encoded in to some new video file if you want the output to be a new file.
    You cant just "add" the videos side by site without reencoding, and the output is 8GB because you didn't choose an compression codec in virtualdubmod, and by default it encodes to uncompressed.
    Quote Quote  
  3. Member yoda313's Avatar
    Join Date
    Jun 2004
    Location
    The Animus
    Search Comp PM
    You have to choose a codec. In file-save as you can choose your codec. You are saving as uncompressed rgb when you don't choose a codec.
    Donatello - The Shredder? Michelangelo - Maybe all that hardware is for making coleslaw?
    Quote Quote  
  4. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Originally Posted by bseos View Post
    I want to combine two seperate video files (Split-screen) which have the same technicalities (frames, window, bitrate, etc..) but i do not want to have to re-encode them again to make one .avi file

    I am trying to do it with an avisyth script using avspmod and virtualdubmod

    clip1=AVISource("C:\Users\bacev\Videos\raxx 2011-06-19 07-20-00-316.avi")
    clip2=AVISource("C:\Users\bacev\Videos\raxx 2011-06-19 07-20-00-316c.avi")
    StackHorizontal(clip1, clip2)
    but instead of just adding the two videos side by side it recodes them or makes the videos go from compressed to uncompressed.
    When you use Avisynth with an editor the output is always re-encoded because Avisynth delivers uncompressed frames to its client application.

    However, do you really need to create a new video file?
    For many purposes, you can simply use the AVS script itself as your new video - it can be played directly by many players and the script is simple enough to be rendered in real time.
    Quote Quote  
  5. Lone soldier Cauptain's Avatar
    Join Date
    Jan 2006
    Location
    Brazil
    Search Comp PM
    Hi plps,

    How to as put 4 diferent videos (2 above and 2 below) both 640x480, totally 1280x960 in final avi.

    Looks here:

    1 2
    3 4

    I tried using the stackvertical + horizontal, however does not work.

    Any tips
    ?

    Tks guys.

    Cauptain
    Quote Quote  
  6. Member pirej's Avatar
    Join Date
    Mar 2008
    Location
    Macedonia
    Search Comp PM
    It doesn't work?
    a=clip1
    b=clip2
    c=clip3
    d=clip4
    StackVertical(StackHorizontal(a,b),StackHorizontal (c,d))
    Lanczos4Resize(1280,960)
    Quote Quote  
  7. Lone soldier Cauptain's Avatar
    Join Date
    Jan 2006
    Location
    Brazil
    Search Comp PM
    Originally Posted by pirej View Post
    It doesn't work?
    a=clip1
    b=clip2
    c=clip3
    d=clip4
    StackVertical(StackHorizontal(a,b),StackHorizontal (c,d))
    Lanczos4Resize(1280,960)
    Thank you Pirej, works flawless.

    My script are bad. I used StackVertical(StackHorizontal(a,b),StackHorizontal (c,d), forget last ")"


    Claudio
    Quote Quote  
  8. Member pirej's Avatar
    Join Date
    Mar 2008
    Location
    Macedonia
    Search Comp PM
    You are welcome Claudio.
    Quote Quote  



Similar Threads

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