Hi all,
As I've gotten into this more, I'm running into some walls.
A little background. I wanted to improve the video player scene we have. What doesn't work now is the producer can not play the preview in the NRCS plugin. I thought that if I could set the preview marker to wherever the clip ended, maybe the play-head would work. I can now get the duration of the clip, but I don't see a way to set the location of the Preview Marker, only the Default Marker.
Any ideas on what I'm doing wrong?
------------------------------
Scott Thomas
Art Director
WINK-TV
------------------------------
Original Message:
Sent: 03-20-2025 14:23
From: Scott Thomas
Subject: Getting a Material Duration
Hi Roman,
Thank you very much. I see the biggest mistake I made. I wasn't referencing the material on the actual quad being changed, I was just getting the material in the project. Fantastic!
------------------------------
Scott Thomas
Art Director
WINK-TV
Original Message:
Sent: 03-20-2025 07:04
From: Roman Yaroshenko
Subject: Getting a Material Duration
Hi Scot!
See the attached project
------------------------------
Roman Yaroshenko
chief specialist
RBC-TV
Moscow Russian Federation
Original Message:
Sent: 03-19-2025 20:17
From: Scott Thomas
Subject: Getting a Material Duration
Hi all!,
I have a XPression scene that is a simple video clip player. I've managed to add a "pause", "no pause" radio checkbox for the producer that works with VB script.
What I want to have happen now is for the preview marker to automatically be set to the end of the clip. I don't know a simple way to do that, so I've been going the route of getting the duration of the material and in my testing, I'm just sending that value to a text object.
Now, when I change the video clip on the published material in Sequence, I want to see the value of the duration change and I'm not seeing that. It just stays with the original material. I know I'm reading the duration value as the number changes when I directly modify the video shader.
I've tried adding the script that gets the duration to the other run levels like OnPrepare, etc. - Any ideas?
At the very least, I've gotten some scripting practice in tonight.
------------------------------
Scott Thomas
Art Director
WINK-TV
------------------------------