View Full Version : Horizontal stack with 3 videos
fido.genial
19th January 2010, 03:13
Hi All,
I am trying to stack horizontally 3 videos with different frame rate.
v1 = 60fps = 120 frames = 2sec
v2 = 30fps = 60 frames = 2sec
v3 = 20fps = 40 frames = 2sec
stackhorizontally(v1,v2,v3)
display is running all 3 - videos at 60fps so v2 is 1sec display and v3 is less than 1 sec display. I want to display 3 at different frame rate for 2 sec . Any suggestions..
THanks
fido
thetoof
19th January 2010, 03:23
stackhorizontal(v1,v2.changefps(v1),v3.changefps(v1))
fido.genial
19th January 2010, 03:52
stackhorizontal(v1,v2.changefps(v1),v3.changefps(v1))
This is not working.
currently all 3 videos are running at 30fps. But I want them to run at different fps. 60|30|20fps video when you stack.
thetoof
19th January 2010, 04:31
stackhorizontal create a single clip that has to be played at 1 target framerate. Using changefps will insert duplicates (1 per frame for the 30fps clip and 2 per frame for 20fps) so that you can make all your videos virtually 60fps (though v2 and v3 will have less temporal resolution) and watch them for the same length.
The code I gave you inserts duplicates to match v1's framerate, which should be 60fps based on your post, not 30. Please post your whole script (including source loads) so that we can understand exactly what you're doing with your clip(s) to get to those framerates.
Oh, maybe I get it - all 3 videos are now 30fps and you want to:
v1 - double framerate (here you'll have to choose between duplicates (no visible difference), blends (ugly and compression killer) and mo-comp (slow and prone to artifacts))
v2 - original
v3 - cut temporal resolution by a third
stackhorizontal them all to see how motion looks like with these different framerates
Is that it?
fido.genial
19th January 2010, 18:51
yeah I need it like this...
v1 - double framerate (here you'll have to choose between duplicates (no visible difference), blends (ugly and compression killer) and mo-comp (slow and prone to artifacts))
v2 - original
v3 - cut temporal resolution by a third
stackhorizontal them all to see how motion looks like with these different framerates
running each video at different framerate when it is stacked horizontally .
stackhorizontal create a single clip that has to be played at 1 target framerate. Using changefps will insert duplicates (1 per frame for the 30fps clip and 2 per frame for 20fps) so that you can make all your videos virtually 60fps (though v2 and v3 will have less temporal resolution) and watch them for the same length.
The code I gave you inserts duplicates to match v1's framerate, which should be 60fps based on your post, not 30. Please post your whole script (including source loads) so that we can understand exactly what you're doing with your clip(s) to get to those framerates.
Oh, maybe I get it - all 3 videos are now 30fps and you want to:
v1 - double framerate (here you'll have to choose between duplicates (no visible difference), blends (ugly and compression killer) and mo-comp (slow and prone to artifacts))
v2 - original
v3 - cut temporal resolution by a third
stackhorizontal them all to see how motion looks like with these different framerates
Is that it?
thetoof
20th January 2010, 04:58
s = xxxsource("file.xt")
v1=s.mo-comp of you choice (tell me what you want between the options I mentionned and I'll be able to guide you)
v2=s
v3=s.selectevery(3,1,2) #every 3 frames, select 2 frames out of 3 (i.e. drop 1 frame)
stackhorizontal(v1,v2.changefps(v1),v3.changefps(v1))
You need to insert duplicates to get to 60fps in order to play the videos at the same speed after framerate conversion.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.