Quote:
Originally Posted by Eliseat
Wait... would this not also be possible from inside Reaper?
- getting the
|
Yes, I think so, video files are not handled differently to audio files for many of the scripting functions.
edit : I tested this works for a selected media item that has a video file :
Code:
local item = reaper.GetSelectedMediaItem(0,0)
local take = reaper.GetActiveTake(item)
local src = reaper.GetMediaItemTake_Source(take)
local src_filename = reaper.GetMediaSourceFileName(src,"")
reaper.ShowConsoleMsg(src_filename.."\n")