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

Reply
 
Thread Tools Display Modes
Old 10-01-2019, 05:14 AM   #1
drew
Mobile
 
drew's Avatar
 
Join Date: Jan 2006
Location: London & São Paulo. Hardcore commercial REAPERite
Posts: 1,645
Default Video Processor var/function for track number & total track count

Hi video processor wranglers,

I see functions called input_track(x), input_track_exact(x), input_track_count(), input_track_exact_count() and input_info.. but can't see any way to return 'which track am I on?' or 'how many tracks in this project?'.

Is it possible/wranglable?

Many Thanks,

Drew
__________________
Proudly using REAPER exclusively for professional music production at Qsonics.com and recording broadcast and narrative voiceovers at DrewWhite.com.
drew is offline   Reply With Quote
Old 10-02-2019, 07:46 PM   #2
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 12,437
Default

Those are not directly available, the track indices are always relative to the current track. The normal versions of those functions ignore tracks that don't have video FX or video items, but there are _exact() versions that don't ignore non-video tracks...
Justin is offline   Reply With Quote
Old 10-03-2019, 12:49 AM   #3
drew
Mobile
 
drew's Avatar
 
Join Date: Jan 2006
Location: London & São Paulo. Hardcore commercial REAPERite
Posts: 1,645
Default

Thanks Justin.

I guess there aren't many cases where instances would need to know which track they are on. I'd just wondered if there's a way to get at those ReaScript calls.

Mute & solo behaviour with video probably means my idea wouldn't work out anyway - unless I'm missing a pref to make them work the same as with audio.

I am loving what *can* be achieved, which is the main thing!

Cheers,

Drew
__________________
Proudly using REAPER exclusively for professional music production at Qsonics.com and recording broadcast and narrative voiceovers at DrewWhite.com.
drew 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 05:47 PM.


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