Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER for Video Editing/Mangling

Reply
 
Thread Tools Display Modes
Old 03-25-2019, 03:35 PM   #1
poetnprophet
Human being with feelings
 
poetnprophet's Avatar
 
Join Date: Jan 2018
Posts: 841
Default Can the new spectrogram and oscilliscope have clear background

I'm just getting into video editing, I like the new oscilliscope feature and the spectrogram.

Is there a way to make the background clear, or none? I find that blending with an image, it absorbs the background as well, I'm not sure how to avoid that so I can have a clean image overlay with the effect also clearly overlayed without the background.

thanks!
dave
__________________
https://www.kdubbproductions.com/
https://www.youtube.com/channel/UCpC...2dGA3qUWBKrXQQ
i7 8700k,4.9Ghz,Win10,Reaper 5,Motu 828es,MJE Hulk 990,GAP Pre73/EQ81
poetnprophet is offline   Reply With Quote
Old 03-25-2019, 09:56 PM   #2
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 5,506
Default

I do it with a black background. I shared some code with my video that removes black

https://reaperblog.net/2019/03/wavef...-glitch-video/
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 03-26-2019, 03:00 AM   #3
Skaven252
Human being with feelings
 
Join Date: Nov 2011
Posts: 124
Thumbs up

+1 for background alpha, so you could overlay the spetro / osco with a background video or image.
Skaven252 is offline   Reply With Quote
Old 03-26-2019, 10:24 AM   #4
poetnprophet
Human being with feelings
 
poetnprophet's Avatar
 
Join Date: Jan 2018
Posts: 841
Default

Quote:
Originally Posted by EpicSounds View Post
I do it with a black background. I shared some code with my video that removes black

https://reaperblog.net/2019/03/wavef...-glitch-video/
hey thanks for all your vids, they are helpful and this is where i learned about it.

So, it can't be done yet...? It would be cool if that could be changed like the alpha in the text background.

I didn't see the part about removing the black...but if it's code I'll stay away, haha. I don't belong anywhere near code.
__________________
https://www.kdubbproductions.com/
https://www.youtube.com/channel/UCpC...2dGA3qUWBKrXQQ
i7 8700k,4.9Ghz,Win10,Reaper 5,Motu 828es,MJE Hulk 990,GAP Pre73/EQ81
poetnprophet is offline   Reply With Quote
Old 03-30-2019, 05:06 AM   #5
Winfield
Human being with feelings
 
Winfield's Avatar
 
Join Date: Jan 2007
Location: The Underground Bunker
Posts: 537
Default

You don't need any coding to remove the bagground color from the oscilliscope/spectrogram - justadd an instance of the 'Combine: Chroma-key' preset in the video processor, after the osc/spect (and adjust wich color you wan't removed).

That being said, it would be nice with alpha on the effects in the first place.

-W
__________________
"if DAWs are religions, REAPER is atheism" - The big J
Winfield is offline   Reply With Quote
Old 04-04-2019, 11:19 AM   #6
Eliseat
Human being with feelings
 
Eliseat's Avatar
 
Join Date: Mar 2018
Location: Cologne
Posts: 1,167
Default

Quote:
Originally Posted by poetnprophet View Post
hey thanks for all your vids, they are helpful and this is where i learned about it.

So, it can't be done yet...? It would be cool if that could be changed like the alpha in the text background.

I didn't see the part about removing the black...but if it's code I'll stay away, haha. I don't belong anywhere near code.
No, its quite easy, poetnprophet.

You just create a FX chain with the following FX:

- Video sample peeker (JSFX) for interpreting incoming audio as video info

- A video processor with your oscilloscope or spectrometer (But keep the background black.)

- At last you put another video processor in the chain but this time you don't choose a preset rather then saving your own.

Do the following: copy the following code

Code:
// 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);
- Open the clean video processor window (without preset) and paste the code inside the code window.
- Press ctrl+s or similar on mac (This compiles the code and makes it working)
- goto the +menu and save it as a new preset aka "Remove black".
This process can be found as tutorial here: https://forum.cockos.com/showthread.php?t=213832



If you want I can send you an example project.

Greetings
Eli
__________________
☆.。.:*・°☆.。.:*・°☆.。.:*・°☆REAPER//✿◔‿◔)°☆.。.:*・°☆.。.:*・°☆
Eliseat is offline   Reply With Quote
Old 04-04-2019, 11:23 AM   #7
Eliseat
Human being with feelings
 
Eliseat's Avatar
 
Join Date: Mar 2018
Location: Cologne
Posts: 1,167
Default

Quote:
Originally Posted by Skaven252 View Post
+1 for background alpha, so you could overlay the spetro / osco with a background video or image.
I tried to add alpha to the grx_set function but this only fades the bg color to the foreground. I'm only a programming noob so ... this needs some more experienced people or Justin himself.
__________________
☆.。.:*・°☆.。.:*・°☆.。.:*・°☆REAPER//✿◔‿◔)°☆.。.:*・°☆.。.:*・°☆
Eliseat is offline   Reply With Quote
Old 04-09-2019, 11:31 AM   #8
poetnprophet
Human being with feelings
 
poetnprophet's Avatar
 
Join Date: Jan 2018
Posts: 841
Default

wow thanks, I will try this soon, probably this weekend when I have time.
__________________
https://www.kdubbproductions.com/
https://www.youtube.com/channel/UCpC...2dGA3qUWBKrXQQ
i7 8700k,4.9Ghz,Win10,Reaper 5,Motu 828es,MJE Hulk 990,GAP Pre73/EQ81
poetnprophet is offline   Reply With Quote
Old 04-14-2019, 10:00 AM   #9
poetnprophet
Human being with feelings
 
poetnprophet's Avatar
 
Join Date: Jan 2018
Posts: 841
Default

HAPPY to report that the code from Eliseat works perfectly. thank you very much for making this so easy for me. No more dark images due to the background, wow!

you all are the best!
__________________
https://www.kdubbproductions.com/
https://www.youtube.com/channel/UCpC...2dGA3qUWBKrXQQ
i7 8700k,4.9Ghz,Win10,Reaper 5,Motu 828es,MJE Hulk 990,GAP Pre73/EQ81
poetnprophet is offline   Reply With Quote
Old 04-16-2019, 11:52 AM   #10
poetnprophet
Human being with feelings
 
poetnprophet's Avatar
 
Join Date: Jan 2018
Posts: 841
Default

FYI, this also works on the spectrogram!
__________________
https://www.kdubbproductions.com/
https://www.youtube.com/channel/UCpC...2dGA3qUWBKrXQQ
i7 8700k,4.9Ghz,Win10,Reaper 5,Motu 828es,MJE Hulk 990,GAP Pre73/EQ81
poetnprophet is offline   Reply With Quote
Old 04-16-2019, 04:32 PM   #11
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 5,506
Default

and anything with a black background.

OR if you write on some paper, film it, invert the image and use that code, you get floating hand-written text in a video.
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 04-17-2019, 03:20 PM   #12
poetnprophet
Human being with feelings
 
poetnprophet's Avatar
 
Join Date: Jan 2018
Posts: 841
Default

NEAT!

thanks again!
__________________
https://www.kdubbproductions.com/
https://www.youtube.com/channel/UCpC...2dGA3qUWBKrXQQ
i7 8700k,4.9Ghz,Win10,Reaper 5,Motu 828es,MJE Hulk 990,GAP Pre73/EQ81
poetnprophet 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 06:09 AM.


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