![]() |
#1 |
Human being with feelings
Join Date: Mar 2019
Location: France
Posts: 5
|
![]()
Hi all
![]() Do you know if it's possible to get the item name in the video processor ? I think it could be usefull for video with subtitle or lyrics for exemple ? I've look at the Mespotine list of functions but don't find anything like that... |
![]() |
![]() |
![]() |
#2 |
Human being with feelings
Join Date: Mar 2019
Location: France
Posts: 5
|
![]()
I've just dl the last version of reaper and the feature is in it ! (new text overlay) cool improvement thanks !
Last edited by Erdan; 03-10-2019 at 12:00 PM. |
![]() |
![]() |
![]() |
#3 |
Human being with feelings
Join Date: Jul 2009
Posts: 8,207
|
![]()
please explain, I haven't seen anything in the changelogs or discussion about this
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
|
![]() |
![]() |
![]() |
#4 |
Human being with feelings
Join Date: Mar 2019
Location: France
Posts: 5
|
![]()
In v5.972 the preset text overlay has been modified (code before : text="", now #text=""). If this variable is not filled with a string and remain empty (you keep #text="") it will get the name of the item as text overlay.
A big time saver. |
![]() |
![]() |
![]() |
#5 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,369
|
![]()
5.97 changelog line:
+ Video: add processor functions: gfx_getpixel(), input_get_name(), on_parameter_change(), time_precise(), ui_get_state(), fft() |
![]() |
![]() |
![]() |
#6 |
Human being with feelings
Join Date: Jul 2009
Posts: 8,207
|
![]()
yep totally missed that, and now I see it's even implemented in the default text overlay.
Any way to do line breaks? besides item properties and "Xenakios/SWS: Rename takes..." is there a quick way to rename takes?
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
|
![]() |
![]() |
![]() |
#7 |
Human being with feelings
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
|
![]()
Oh, this sounds great. And I also totally missed it.
Many thanks ![]()
__________________
☆.。.:*・°☆.。.:*・°☆.。.:*・°☆REAPER//✿◔‿◔)°☆.。.:*・°☆.。.:*・°☆
|
![]() |
![]() |
![]() |
#8 |
Human being with feelings
Join Date: Jan 2018
Posts: 7
|
![]()
FYI:
To get the item name to be picked up by input_get_name, make sure to add the FX to the media item... not the track. Looks like if you add the FX to the track, it will take the track name. I spent a bit of time on this, so hopefully this helps someone. |
![]() |
![]() |
![]() |
#9 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,369
|
![]()
Unless the media item is a video file or dedicated video item (insertable via action) or has a video processor on it, in which case you can use input_get_name(input_next_item(-1),#text) to get its text.
|
![]() |
![]() |
![]() |
#10 |
Human being with feelings
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
|
![]()
Hmm ...
I never tested it but always wanted to. And now I see it doesn't work as expected. Didn't use Jon this feature in one of his videos to create some kind of a subtitle show from item names? If I use a video processor (on track) with text overlay and keep the get name variable untouched, it shows the first item name correctly but doesn't change it if a new item name follows. Wasn't it intended to do so? I don't know. But I thought so.
__________________
☆.。.:*・°☆.。.:*・°☆.。.:*・°☆REAPER//✿◔‿◔)°☆.。.:*・°☆.。.:*・°☆
|
![]() |
![]() |
![]() |
#11 | |
Human being with feelings
Join Date: Jul 2009
Posts: 8,207
|
![]() Quote:
Watch out for line breaks in the item names. Might look right in the project but will be unformatted in on export, or reopening the project later. I put a bit too much trust in that earlier this week.
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
|
|
![]() |
![]() |
![]() |
#12 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,369
|
![]()
Hmm, going to fix this actually for track/take/marker names.
Last edited by Justin; 04-12-2019 at 03:02 PM. |
![]() |
![]() |
![]() |
#13 |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,893
|
![]()
Oh, good to know, I should update this then...
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
![]() |
![]() |
![]() |
#14 |
Human being with feelings
Join Date: Apr 2011
Posts: 3,802
|
![]() Oh! I didn't know that such a thing existed! "Insert dedicated video processor item" (action 41932) |
![]() |
![]() |
![]() |
#15 |
Human being with feelings
Join Date: Jul 2014
Posts: 664
|
![]()
Wonderfull ¡¡¡
Yesterday I realized about this ¡¡¡ Much esay ![]() GREAT ¡¡¡ ![]() |
![]() |
![]() |
![]() |
#16 |
Human being with feelings
Join Date: Apr 2010
Location: Portland OR
Posts: 225
|
![]()
Jon, if you look at the code for my guitar chords grid effect, you'll see I loop through the input string and parse it character by character. So I can e.g. turn "b" into a flat sign. You could do the same -- you could mod the text overlay effect to have a special character, perhaps "/", which represents a line break. When the code finds that character, instead of writing it on the screen, it resets xpos back to the start and increments ypos. So "line break/demo" becomes
line break demo
__________________
alt-tuner: a microtonal midi plug-in: www.TallKite.com/alt-tuner.html The Kite Guitar, a playable 41-ET guitar: www.KiteGuitar.com |
![]() |
![]() |
![]() |
#17 |
Human being with feelings
Join Date: May 2019
Posts: 59
|
![]()
Okay so I'm absolutely loving this as I was about to have to make an individual title card for every song in an After Effects/ Premiere project.... it's ridiculous that these "Industry Standard" Video editing softwares do not have the capability to do a procedurally generated "Now Playing" thing.... lmao :'D
One issue I'm having is that the ".mp3"/ file extensions show up in the overlay; is there any way I can disable this? I'd like it to just say "Artist - Song" rather than "Artist - Song.mp3" |
![]() |
![]() |
![]() |
#18 |
Human being with feelings
Join Date: Jul 2009
Posts: 8,207
|
![]()
batch rename items to remove the last 4 characters
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
|
![]() |
![]() |
![]() |
#19 |
Human being with feelings
Join Date: Apr 2014
Posts: 419
|
![]()
The dedicated video processor item is so underrated, I love it!
Any way to access user presets with it? This is a bit a dealbreaker for now because having to change every time a lot of settings like x & y text position, bg alpha, border is not very efficient. |
![]() |
![]() |
![]() |
#20 | |
Human being with feelings
Join Date: Aug 2020
Location: Canada
Posts: 886
|
![]() Quote:
Code:
strcmp(#text,"")==0 ? input_get_name(-1,#text) Code:
strcmp(#text,"")==0 ? ( input_get_name(-1,#item_name); strncpy(#text,#item_name,strlen(#item_name)-4); //assuming 4 chars extensions ); string functions reference: https://www.cockos.com/EEL2/index.php#string_funcs Last edited by papagirafe; 01-04-2022 at 05:12 AM. Reason: incomplete info |
|
![]() |
![]() |
![]() |
#21 |
Human being with feelings
Join Date: Feb 2017
Posts: 223
|
![]()
I'm getting the track name with input_get_name(-1,#text) not the item or take name.
|
![]() |
![]() |
![]() |
#22 |
Human being with feelings
Join Date: Feb 2017
Posts: 223
|
![]()
wooop, just figured it out! add FX to the item or take, not the track.
|
![]() |
![]() |
![]() |
#23 | |
Human being with feelings
Join Date: Aug 2020
Location: Canada
Posts: 886
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | |
|
|