VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. Member
    Join Date
    Sep 2015
    Location
    Pittsburgh
    Search PM
    So after doing a lot of looking I found this place to be the best to ask questions. I have an odd question. I am school teacher and we are in need of the ability to split a video into 4 triangular pieces like the video in the link below.https://www.youtube.com/playlist?list=PLxpk8QYH9aNuM0Tbs7C8_ogkLO48M_VhD.

    Can someone please point me in the right direction for the correct forum or maybe an idea of how to do this? I am desperate.
    Quote Quote  
  2. Create four 90 degree rotated version of the video. Join them together in a 2x2 matrix. Rotate 45 degrees.

    Original video and rotations:
    Name:  p2.jpg
Views: 313
Size:  7.5 KB

    Name:  p1.jpg
Views: 305
Size:  7.6 KB

    Name:  p4.jpg
Views: 325
Size:  7.5 KB

    Name:  p3.jpg
Views: 253
Size:  7.6 KB

    Joined:

    Wierd, the site won't let me upload any more images.
    Last edited by jagabo; 2nd Sep 2015 at 09:24.
    Quote Quote  
  3. Member
    Join Date
    Sep 2015
    Location
    Pittsburgh
    Search PM
    Thank you so much for the advice! I am a total newbie, is there a particular software that you would recommend to accomplish this? I have never actually tried editing a video before.
    Quote Quote  
  4. Pretty much every video editor has this type of compositing. All the commercial editors have it. I'm pretty sure the free AviUtl has it. I did it with a quick AviScript:

    Code:
    v1 = ImageSource("picture.jpg").ConvertToYV12()
    v2 = v1.TurnRight()
    v3 = v2.TurnRight()
    v4 = v3.TurnRight()
    StackVertical(StackHorizontal(v1,v2),  StackHorizontal(v4,v3))
    Rotate(45)
    You would use a video for v1 (and hence v2, v3, and v4) instead of a picture. Using whatever source filter is appropriate. Like AviSource(), ffVideoSource(), etc.
    Quote Quote  
  5. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    jagabo, First I turned the single image into a video and used it as an inout to your script but I kept getting an error on the script you posted but I rearranged it and since my photo wasn't square(error on height mismatch during stack) I used:

    v1 = DirectShowSource("C:\Users\Bud\Desktop\image001.fl v").converttoyv12.lanczosresize(320,320).rotate (-45)
    v2 = v1.TurnRight()
    v3 = v2.TurnRight()
    v4 = v3.TurnRight()
    StackVertical(StackHorizontal(v1,v2), StackHorizontal(v4,v3))
    Rotate(45)

    Playing this AVS file resulted in:
    Name:  Correct Rotation.jpg
Views: 183
Size:  28.3 KB

    Using non Black background shows the more creative result orientation:
    Click image for larger version

Name:	ScreenHunter_160 Sep. 04 00.15.jpg
Views:	147
Size:	34.2 KB
ID:	33462
    Quote Quote  
  6. Yes, the image has to be square to use the stacking sequence in that script. In another video I used the same -45 degree pre-rotation to level the images.

    I still can't upload anything!
    Quote Quote  
  7. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    Jagabo, seems like site has been a little weird lately here also. Slow and problems uploading. Weird thing is one of my isp path routers works ok but the other doesnt.
    Quote Quote  



Similar Threads

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