Hi,
I´m new to Vegas Pro scripting and I´m trying to add an Image Sequence as a Take.
Now, adding an AVI works fine:
var media = new Media("_rgba_.avi");
var videoStream = media.Streams.GetItemByMediaType(MediaType.Video, 0);
...
When I try this:
var media = new Media("_rgb_0025.jpg");
...
of course only the first image in the sequence is used.
But when I try something similar to this:
var media = new Media("_rgb_0025.jpg");
media.ReplaceWith(MediaPool.AddImageSequence(("_rgb_0025.jpg"),50,25.0,true)); // additional parameters: imageCount, fps, bin
...
nothing seems to work: "Type 'Sony.Vegas.MediaPool' does not have such a static member".
Searched other posts but couldn´t find anything similar.
I´m running out of ideas here.
Please help. Thanks in advance.
I´m new to Vegas Pro scripting and I´m trying to add an Image Sequence as a Take.
Now, adding an AVI works fine:
var media = new Media("_rgba_.avi");
var videoStream = media.Streams.GetItemByMediaType(MediaType.Video, 0);
...
When I try this:
var media = new Media("_rgb_0025.jpg");
...
of course only the first image in the sequence is used.
But when I try something similar to this:
var media = new Media("_rgb_0025.jpg");
media.ReplaceWith(MediaPool.AddImageSequence(("_rgb_0025.jpg"),50,25.0,true)); // additional parameters: imageCount, fps, bin
...
nothing seems to work: "Type 'Sony.Vegas.MediaPool' does not have such a static member".
Searched other posts but couldn´t find anything similar.
I´m running out of ideas here.
Please help. Thanks in advance.