Old 04-15-2021, 12:56 PM   #1
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 6,265
Default Order of videos in 2x2 matrix (FIXED)

Can we get a fix on the 2x2 input matrix preset so the grid order is the same as the track order? It's pretty confusing like this.




The 'grid of videos' preset does work right so I will use that for now
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 04-15-2021, 08:54 PM   #2
ashcat_lt
Human being with feelings
 
Join Date: Dec 2012
Posts: 5,906
Default

Code:
// 2x2 matrix - draws up to 4 videos from previous tracks
x=0;
loop(4,
  gfx_blit(input_track(x), 1 /* preserve aspect */,
           (x&1)?project_w*0.5:0, (x&2)?project_h*0.5:0, // position
           project_w*0.5,project_h*0.5 // output width and height
          );
  x += 1;
);
I have a version of the grid of videos that allows you to set a maximum number of video tracks to display and also skip a number of video tracks between each one displayed, if that could ever come in handy.
https://stash.reaper.fm/v/40795/ash%...0of%20vids.txt
ashcat_lt is offline   Reply With Quote
Old 04-22-2021, 08:21 AM   #3
ashcat_lt
Human being with feelings
 
Join Date: Dec 2012
Posts: 5,906
Default

NP dude. Glad I could help.

If you want it fixed officially, maybe put it in Bug Reports?
ashcat_lt is offline   Reply With Quote
Old 04-22-2021, 09:42 AM   #4
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 6,265
Default

hi
haven't tried that code yet. gave up on the video I was trying to make and haven't used reaper much this week.
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 04-22-2021, 11:36 AM   #5
ashcat_lt
Human being with feelings
 
Join Date: Dec 2012
Posts: 5,906
Default

Well it WAS wrong, and if anybody else notices, the fix is here for them.

Edit - I saw your post within minutes and would have had the fix for you right away if I had been home.
ashcat_lt is offline   Reply With Quote
Old 04-22-2021, 02:43 PM   #6
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 6,265
Default

you didn't do anything wrong and I wasn't waiting for a fix. just wanted to make it known that it was wrong.

Honestly I think someone should have noticed this 5 years ago in the reaper 5 beta.


I have a pretty good workflow for multitrack video edits but the part I'm struggling with is making the install simple for others. While I'm recording the video I get the feeling no one is going to care.
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 04-23-2021, 03:54 PM   #7
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 6,265
Default

v6.28+dev0423 - April 23 2021
+ Video: improve default ordering of 2x2 matrix preset [t=252286]


they did it
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 04-23-2021, 05:12 PM   #8
ashcat_lt
Human being with feelings
 
Join Date: Dec 2012
Posts: 5,906
Default

Cool!

(my version of the grid of vids is still better for more things. )
ashcat_lt is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:45 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.