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

Reply
 
Thread Tools Display Modes
Old 11-14-2020, 12:41 AM   #1
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,820
Default get item notes on video processor , possible?

I have one track with video processor and several item notes . I would like a way to use text overlay preset to display in the video window the text of the item notes.
Is this possible?

Thank you
__________________
🙏🏻
deeb is online now   Reply With Quote
Old 11-15-2020, 11:38 AM   #2
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,630
Default

Working on something like that.

I guess I'll finish a first version so you can write a Lua-script which allows feeding such a VideoProcessor-preset at runtime.
So you will be able to display anything you want directly from Lua.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 11-16-2020, 06:25 AM   #3
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,820
Default

Thank you for reply and efforts!
I am not sure , but item names aren't already able to be showed in video processor? if so item notes makes so much more sense to me to be supported..
__________________
🙏🏻
deeb is online now   Reply With Quote
Old 11-16-2020, 11:01 AM   #4
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,630
Default

I think markertexts, regiontexts, takemarker-texts, item-notes would all be nice to have natively.
I think, only take-names are supported yet. Iirc, leave the text in the preset blank to show them but I might be wrong.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 02-09-2021, 07:50 AM   #5
Sid
Human being with feelings
 
Join Date: Apr 2018
Posts: 516
Default Current workaround

If you use:
#text="";
in the Text Overlay preset, there is this line of code:
strcmp(#text,"")==0 ? input_get_name(-1,#text);

which gets the item take name and will overlay that.

X-Raym has a script:
Convert selected item notes to take name.lua
which will push your notes into the take name so that the Video Processor can see it.
Sid is online now   Reply With Quote
Old 02-17-2021, 11:51 AM   #6
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,630
Default

Does this support newlines as well?
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 02-18-2021, 06:36 AM   #7
Sid
Human being with feelings
 
Join Date: Apr 2018
Posts: 516
Default parse on ~

It doesn't handle new line, so I change the new line into tilde on the way into the
take name and then split the text on the tilde in the video processor code.

Last edited by Sid; 02-18-2021 at 06:42 AM.
Sid is online now   Reply With Quote
Old 02-18-2021, 07:25 AM   #8
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,900
Default

I have mostly a X-Raym_Set selected items video processor text to current regions.lua script which could be ported to item notes if needed. and added to the pack! :P
X-Raym 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 11:03 PM.


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