03-17-2018, 12:02 PM | #1 |
Human being with feelings
Join Date: Aug 2014
Posts: 887
|
Video Compare overlay?
Recent changes in Vordio have made conforming from AVID EDL's very do-able for us. I just did a conform of a project and brought in the new picture to check sync and it was fantastic.
One great feature Reaper allows us over Pro Tools is to switch video tracks during playback for comparison. And doing this I found some pretty major visual effects updates that I would've missed. The shot was the same, but some VFX had been digitally overlayed onto the old footage in the new version. However if I hadn't been toggling between video tracks I still would've missed it, which leads me to the actual request. Conformalizer has a great feature that basically overlays two quicktime movies (the old and new versions of a reel) and shows us any differences in the video. Any differences between the two frames shows up as white. If there are no differences, the image is black. So in the above example, if I had played down the reel, the new VFX would've shown up as white letting me know there was something different between otherwise identical frames. He's also got a slider for intensity. Here is an example of this compare in use: https://youtu.be/FW1yfnFglBc?t=3m43s I'd love to see some way of visualizing these differences in Reaper in the same way. I could then conform a project, bring in the new picture on a second track, and watch the reel down at 2 or 3x speed and spot any picture differences very easily. If VFX shots were labeled consistently we could find these in EDLs, but most often they're not and we have to find these things by hand/eye. |
03-17-2018, 01:47 PM | #2 |
Human being with feelings
Join Date: Dec 2012
Posts: 7,272
|
Copy this into a blank video processor preset and hit Ctrl-S to save it. Put it on which track you've got set up to be the top layer. I can't claim to understand the code itself. I just hacked this out of the Image Overlay preset, took out all the user controls and hard coded it to invert the one image and then add it to the other.
Code:
//image subtract img1=input_track(0); img2=0; !project_wh_valid && input_info(img1,w,h) ? ( project_w=w; project_h=h; ); gfx_blit(img1,0); img2 != img1 ? ( gfx_a = -1; gfx_mode = 1; oldcs=colorspace; use_srca ? colorspace='RGBA'; z = 10^(zoom/10); input_info(img2,sw,sh); dw = (project_w*z)|0; dh = (sh*project_w/sw*z)|0; x = xoffs<-1 ? (1+xoffs)*dw : xoffs > 1 ? project_w+(xoffs-2)*dw : ((xoffs+1)*(project_w-dw))*0.5; y = yoffs<-1 ? (1+yoffs)*dh : yoffs > 1 ? project_h+(yoffs-2)*dh : ((yoffs+1)*(project_h-dh))*0.5; gfx_blit(img2,0, x|0,y|0,dw,dh); restore_cs && oldcs != colorspace ? ( colorspace=oldcs; gfx_fillrect(0,0,0,0); ); );
__________________
Lorenzo's Tractor is Everywhere --- Ash's Tube --- Join the Partnership for a Drum Free Amerika |
03-17-2018, 06:29 PM | #3 | |
Human being with feelings
Join Date: Aug 2014
Posts: 887
|
Quote:
This works! Its a "color" version but thats perfectly fine and possibly better! FWIW I had to put this "effect" on the bottom track to see the results. So for me I put: 1) Latest version of picture on the top track (so when I turn this OFF I'm actually looking at the most recent version of picture = important) 2) older version of picture + this video effect on the track directly below. To turn the visual effect OFF its just a toggle off of the "Video Processor" effect. By now I should't be surprised that the feature I'm requesting already exists, but I am! Just wow! Thank you ashcat_lt! |
|
03-17-2018, 06:37 PM | #4 |
Human being with feelings
Join Date: Aug 2014
Posts: 887
|
Hold the phone here - there's something going on here where I don't know what I'm doing. This is the first time I've seen this, but at times now in my session, the BOTTOM video track takes precedence even when there is video on both the top and bottom tracks at the same time/frame. Every other time that I've messed around with multiple video tracks in the same project the top track has taken priority (or so I thought!).
How do I set up a "video" track as the MAIN PRIORITY? |
03-18-2018, 04:17 AM | #5 |
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,096
|
Project settings -> 'Video' tab -> Video item visibility
|
03-18-2018, 07:46 AM | #6 |
Human being with feelings
Join Date: Aug 2014
Posts: 887
|
|
03-18-2018, 01:19 PM | #7 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
Can you post a screenshot of this can help users to reproduce the workflow and see the concept behind this ?
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
03-18-2018, 01:55 PM | #8 | |
Human being with feelings
Join Date: Aug 2014
Posts: 887
|
Quote:
However here is a close version, taken from that Conformalizer video displaying its difference view: https://www.dropbox.com/s/orqp1yjkh7...0View.png?dl=0 Anything showing up as white, is actually a difference between the two picture versions. If there were no picture differences, the entire screen would just be gray. This makes picture differences stick out like a sore thumb. In my case in one shot (which I wish I could show but can't) there were two digitally inserted objects that move across the screen in which would otherwise be an identical shot to the previous version of picture. Here is a screenshot of my Reaper project/session video tracks. https://www.dropbox.com/s/3skhfarsft...20PIX.png?dl=0 The top track has the most recent version of picture AND this video processor setting in its effect rack. The bottom track has the older version of picture that has been conformed (using Vordio) to be in sync with the most recent version, at least where possible. There are new shots added to the new version which accounts for the gaps in the items. |
|
03-18-2018, 02:09 PM | #9 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
@Ice
I see. thanks !
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
03-18-2018, 03:51 PM | #10 |
Human being with feelings
Join Date: Jul 2009
Posts: 7,571
|
Thanks for this code @Ashcat.
@xraym here's how it looks with same video on each track with 1 frame offset.
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
|
03-19-2018, 09:17 AM | #11 |
Human being with feelings
Join Date: Mar 2007
Posts: 3,978
|
Nice! :-)
But why it gives two different results when you exchange pic0 and pic1(edited) on Track1 vs Track2 ?? Shouldn't be difference "absolute"? |
03-23-2018, 08:08 PM | #12 | |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 15,721
|
Quote:
There are some undocumented blend modes, 17 and 18, which do additive but have an offset, which could let you do something better... Code:
gfx_mode=17; // output = (dest+src*gfx_a)*.5 + .5 gfx_mode=18; // output = dest+(src-0.5)*gfx_a*2.0 Last edited by Justin; 03-23-2018 at 08:16 PM. |
|
03-24-2018, 08:24 AM | #13 |
Human being with feelings
Join Date: Dec 2012
Posts: 7,272
|
Justin - It sure would be nice if those modes were documented a little better. What else have you got hiding out there? How hard would it be to add an absolute difference mode?
__________________
Lorenzo's Tractor is Everywhere --- Ash's Tube --- Join the Partnership for a Drum Free Amerika |
03-24-2018, 08:44 AM | #14 |
Human being with feelings
Join Date: Jul 2009
Posts: 7,571
|
is there a lighten blending mode?
and a simple way to invert color? There are a few video effects and transitions I'd like to use but can't without those.
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
|
03-24-2018, 10:20 AM | #15 |
Human being with feelings
Join Date: Dec 2012
Posts: 7,272
|
Does setting alpha to -1 not do what you want there? If there's no preset that does it, it would be reasonably easy to hack one together.
__________________
Lorenzo's Tractor is Everywhere --- Ash's Tube --- Join the Partnership for a Drum Free Amerika |
03-24-2018, 02:22 PM | #16 | |
Human being with feelings
Join Date: Jul 2009
Posts: 7,571
|
Quote:
My main purpose would be for layering handwritten text (white paper, black marker) on a video. Invert so white becomes black, lighten blend mode makes the black disappear leaving just white text and the video beneath.
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
|
|
03-24-2018, 03:08 PM | #17 |
Human being with feelings
Join Date: Dec 2012
Posts: 7,272
|
TBH, I'm doing most of my more detailed video work in HitFilm nowadays pretty specifically because it has all the merge modes that I'm used to in photo editors. Even the free version has a lot of great filters and functions, and the add ons are pretty cheap. I really wanted to stick with Reaper, but it just doesn't do what I want to do with video anywhere near as well.
__________________
Lorenzo's Tractor is Everywhere --- Ash's Tube --- Join the Partnership for a Drum Free Amerika |
03-28-2018, 11:08 AM | #18 |
Human being with feelings
Join Date: Jul 2009
Posts: 7,571
|
Simple Invert color code
//Invert Color src=0; input_info(src,w,h) ? ( project_w=w; project_h=h; ); // preserve input dimensions gfx_blit(src); gfx_set(1,1,1,-1,0x80003); gfx_mode=19; colorspace == 'RGBA' ? colorspace='YV12'; gfx_fillrect(0,0,project_w,project_h); ----- used on a track it will invert all layers below used on a video item it will invert only that item used on an empty MIDI item above other items it will invert all layers for length of item. You can use built-in "Item fades affect video" after to transition, bit ugly though.
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
|
03-28-2018, 11:44 AM | #19 |
Human being with feelings
Join Date: Dec 2012
Posts: 7,272
|
WTF does mode 19 do?!?
__________________
Lorenzo's Tractor is Everywhere --- Ash's Tube --- Join the Partnership for a Drum Free Amerika |
03-28-2018, 12:17 PM | #20 |
Human being with feelings
Join Date: Jul 2009
Posts: 7,571
|
from the new help text
19 = absolute difference: abs(dest-src)*gfx_a (only valid when using YUV colorspaces) It was a lot of trial and error, had to invert my monitor colors, then tweak the code until the video looked normal again. --- I figured out a screen/lighten blend, not exactly sure which it is. Works for the handwritten text thing I wanted to do and some other stuff (see video). // JT: lighten/screen overlay // black is removed. use after inverting color img1=0; img2=input_track(0); gfx_blit(img2); gfx_mode = 1; gfx_blit(img1,0); https://youtu.be/d1glGtT5pww
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
|
03-28-2018, 02:23 PM | #21 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 15,721
|
You don't need mode 19 to invert, could do (also works in 5.78 etc):
Code:
input=0; input_info(input,w,h)==0 ? ( w=project_w;h=project_h; ); gfx_img_resize(-1,w,h); gfx_set(1); gfx_fillrect(0,0,w,h); gfx_mode=1; // additive gfx_a=-1; // subtract gfx_blit(input, 0); Last edited by Justin; 03-28-2018 at 02:34 PM. |
03-28-2018, 03:14 PM | #22 | |
Human being with feelings
Join Date: Jul 2009
Posts: 7,571
|
[QUOTE=Justin;1972381]You don't need mode 19 to invert, could do (also works in 5.78 etc):
Code:
input=0; input_info(input,w,h)==0 ? ( w=project_w;h=project_h; ); gfx_img_resize(-1,w,h); gfx_set(1); gfx_fillrect(0,0,w,h); gfx_mode=1; // additive gfx_a=-1; // subtract gfx_blit(input, 0); Quote:
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
|
|
03-28-2018, 04:23 PM | #23 |
Human being with feelings
Join Date: May 2006
Location: Saskatoon, Canada
Posts: 2,110
|
Using this subtraction method in conjunction with the 2x2 matrix processor preset would allow for source, destination, DAW timecode and image subtraction in quadrants on the screen. To me this would give pretty much all necessary information for a quick conform.
I used a simplified version of such a setup (video A in quadrant 1:1, video B in quadrant 2:2) in Reaper a few years ago to conform some 5.1 upmixes I was doing that required different commercial break specifications than the original stereo broadcasts. It was much easier doing side by side comparison than viewing consecutively.
__________________
mymusic http://music.darylpierce.com mywork http://production.darylpierce.com mypodcast https://youtube.com/@ultimatesoundtest |
03-28-2018, 08:04 PM | #24 | |
Human being with feelings
Join Date: Mar 2007
Posts: 3,978
|
Hi Justin,
thank you for explanation. Helpful. Quote:
|
|
04-10-2018, 01:59 PM | #25 |
Human being with feelings
Join Date: Aug 2014
Posts: 887
|
Does anyone know how to simply turn the video from color to black & white?
What I would like to do is have a separate instance of the video processor that turns the video to black & white, after this process is performed as mentioned above. Then I can toggle black & white on and off as desired. Last edited by Ice; 04-10-2018 at 02:09 PM. |
04-10-2018, 02:20 PM | #26 |
Human being with feelings
Join Date: Dec 2012
Posts: 7,272
|
Any preset with a Saturation control that will go to 0.
First one that comes to mind is Reaper Blog's (EpicSounds) Essential Color Controls About 4 mins into this video: https://m.youtube.com/watch?v=t5ur_JDbqQM
__________________
Lorenzo's Tractor is Everywhere --- Ash's Tube --- Join the Partnership for a Drum Free Amerika |
04-13-2018, 08:08 AM | #27 |
Human being with feelings
Join Date: May 2017
Posts: 981
|
This is a great feature for tracking VFX...!!! Amazing..It has literally saved me a whole lot of time..I tracked VFX for a feature film in just under half hour !!!! Amazing you guys..I love Reaper !!
|
04-13-2018, 08:52 AM | #28 | |
Human being with feelings
Join Date: Aug 2014
Posts: 887
|
Quote:
|
|
04-13-2018, 08:56 AM | #29 | |
Human being with feelings
Join Date: Aug 2014
Posts: 887
|
Quote:
I've started exporting quicktime video files for entire reels that are the full difference view. Then the whole crew can view the differences at their leisure, or in other DAW's. |
|
04-13-2018, 09:04 AM | #30 |
Human being with feelings
Join Date: May 2017
Posts: 981
|
Amazing!!! I actually started digging into reaper after seeing your tutorials ! I am a sound designer working in film post..and I can't thank you enough for doing that. I moved completely to reaper from protools after seeing your videos. With AATRANSLATOR.... Now I am using protools only as a delivery medium. I am also a huge fan of your work !! You are my inspiration. Thank you so much !!
|
04-13-2018, 09:36 AM | #31 | |
Human being with feelings
Join Date: Aug 2014
Posts: 887
|
Quote:
I wish I could stay in Reaper but I can't. 99% of my design is done in it though. |
|
04-13-2018, 10:51 AM | #32 | |
Human being with feelings
Join Date: May 2017
Posts: 981
|
Quote:
https://youtu.be/cz2mKlQ4B7Y Check that video where I show how I do it. That maybe of some use to you Jon from the reaper blog made that video with me.. |
|
04-13-2018, 10:58 AM | #33 | |
Human being with feelings
Join Date: Aug 2014
Posts: 887
|
Quote:
|
|
04-13-2018, 11:00 AM | #34 |
Human being with feelings
Join Date: May 2017
Posts: 981
|
Mmm.. So how are you taking it to PT now ? I am very curious
|
04-13-2018, 11:08 AM | #35 |
Human being with feelings
Join Date: Aug 2014
Posts: 887
|
|
04-13-2018, 11:10 AM | #36 |
Human being with feelings
Join Date: May 2017
Posts: 981
|
|
04-13-2018, 11:28 AM | #37 | |
Human being with feelings
Join Date: Aug 2014
Posts: 887
|
Quote:
But lets not get off the video overlay topic here. We could go on for a while! |
|
04-13-2018, 11:34 AM | #38 |
Human being with feelings
Join Date: May 2017
Posts: 981
|
|
04-13-2018, 11:54 AM | #39 |
Human being with feelings
Join Date: Aug 2014
Posts: 887
|
|
04-13-2018, 12:11 PM | #40 |
Human being with feelings
Join Date: May 2017
Posts: 981
|
|
Thread Tools | |
Display Modes | |
|
|