VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. Member
    Join Date
    May 2008
    Location
    United States
    Search Comp PM
    Any suggestions on the best way to create a movie that is playing two video streams next to each other?
    Quote Quote  
  2. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    Avisynth script.

    Left=Directshowsource("left_frame.avi")
    Right=Directshowsource("Right_frame.avi")
    stackhorizontal(left,right)
    Quote Quote  
  3. Member
    Join Date
    May 2008
    Location
    United States
    Search Comp PM
    That is very cool. Unfortunately, I need to see both streams so I can synch them up.
    Quote Quote  
  4. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    I do this in Vegas all the time. Just drop both clips (sometimes more) onto their timelines, then either split the screen with Event Pan and Crop, or lower opacity on the top clip so I can see both. Even better if you can use the audio to sync the clips.
    Read my blog here.
    Quote Quote  
  5. Originally Posted by zapster
    That is very cool. Unfortunately, I need to see both streams so I can synch them up.
    That's exactly what Soopafresh's AviSynth script does:

    http://avisynth.org/mediawiki/StackHorizontal

    You did say you wanted to have them display side-by-side.
    Quote Quote  
  6. Member Alex_ander's Avatar
    Join Date
    Oct 2006
    Location
    Russian Federation
    Search Comp PM
    Originally Posted by zapster
    ... so I can synch them up.
    If you need it for smth. like previewing multiangle, you can add a command for trimming the first frames in one (or both) of the imported sources in the above script, like this:

    Left=DirectShowSource("left_frame.avi").Trim(20,0)

    then adjust trim numbers in AVSP (it should generate sliders).
    Quote Quote  
  7. Originally Posted by guns1inger
    I do this in Vegas all the time. Just drop both clips (sometimes more) onto their timelines, then either split the screen with Event Pan and Crop, or lower opacity on the top clip so I can see both. Even better if you can use the audio to sync the clips.
    I've done this many times also. Vegas can do a ton of stuff. I learn something new almost every project.
    Quote Quote  
  8. Member
    Join Date
    May 2001
    Location
    United States
    Search Comp PM
    I use a "half and half" video to sync up video and also to check the performance of different filter settings. This results in a normal video window with one half on the right and one half on the left, with a black bar dividing the two.

    Code:
    mpeg2source("d:\Experiment\CHHTEST.D2V") 
    
    v1=crop(0,0,350,480).addborders(0,0,2,0)
    v2=crop(352,0,352,480)
    
    stackhorizontal(v1,v2)
    ICBM target coordinates:
    26° 14' 10.16"N -- 80° 16' 0.91"W
    Quote Quote  
  9. Member
    Join Date
    Feb 2004
    Location
    Australia
    Search Comp PM
    Same can be done using wax2
    Quote Quote  
  10. Member
    Join Date
    May 2001
    Location
    United States
    Search Comp PM
    I should have said that the right half of video 1 is shown on the right and the left half of video 2 is shown on the left.
    ICBM target coordinates:
    26° 14' 10.16"N -- 80° 16' 0.91"W
    Quote Quote  
  11. Yeah, that might have helped. Still easy in AviSynth. Before doing the StackHorizontal, crop away the right half of the left video and the left half of the right video. I'd give you a script if I knew the source resolution.

    Oh, reading a little bit up it looks like SLK001 has already given a script example for that.
    Quote Quote  



Similar Threads

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