Timeline for time follow bar?
-
- Posts: 46
- Joined: Thu Sep 01, 2022 9:53 pm
Timeline for time follow bar?
Hello Alexey!
Is it possible in a project with a timeline for time to follow the timeline bar like professional blu-rays in Java code or does BDS not have this feature?
Thank you in advance!
Is it possible in a project with a timeline for time to follow the timeline bar like professional blu-rays in Java code or does BDS not have this feature?
Thank you in advance!
-
- Posts: 453
- Joined: Fri Mar 01, 2013 1:03 pm
- Contact:
Re: Timeline for time follow bar?
Hello!
What do you mean in "follow"? Could you provide an example?
What do you mean in "follow"? Could you provide an example?
Best regards,
Alexey Kolesnikov
Alexey Kolesnikov
-
- Posts: 46
- Joined: Thu Sep 01, 2022 9:53 pm
Re: Timeline for time follow bar?
So Alexey, you can see this preview that a friend sent him a few days ago, but in this video he is advancing the film, you can see the time moving along with the timeline bar.
My question is, is this possible in BDS?
If it is possible, what java code is used to do this in a project please?
https://drive.google.com/file/d/1q9fe7B ... sp=sharing
My question is, is this possible in BDS?
If it is possible, what java code is used to do this in a project please?
https://drive.google.com/file/d/1q9fe7B ... sp=sharing
-
- Posts: 453
- Joined: Fri Mar 01, 2013 1:03 pm
- Contact:
Re: Timeline for time follow bar?
If you mean that the time moves together with the slider - of course you can do it the same way as timeline was done.
For example you can add
in the https://blu-disc.net/download/examples/ ... Vi_full.7z example in all places where time line is updated.
For example you can add
Code: Select all
[prop]: [Timer] move to (%time% * 1714 / %duration% + 100, 614)
Best regards,
Alexey Kolesnikov
Alexey Kolesnikov
-
- Posts: 46
- Joined: Thu Sep 01, 2022 9:53 pm
Re: Timeline for time follow bar?
Could that be Alexey?
![Image](https://i.imgur.com/z2WZwbj.png)
![Image](https://i.imgur.com/z2WZwbj.png)
Re: Timeline for time follow bar?
this is the correct configuration for your project bruno hehe
Taking advantage of the opportunity, how do I make the timer go backwards?
my video is 26 minutes long, I want the time to start at 00:26:00 and decrease until 00:00:00
Taking advantage of the opportunity, how do I make the timer go backwards?
my video is 26 minutes long, I want the time to start at 00:26:00 and decrease until 00:00:00
- Attachments
-
- 010250.png (24.81 KiB) Viewed 13280 times
-
- 2023-12-20 004006.png (51.19 KiB) Viewed 13282 times
-
- Posts: 453
- Joined: Fri Mar 01, 2013 1:03 pm
- Contact:
Re: Timeline for time follow bar?
Not exactly. It should be:
X = %time% * 892 / %duration% + 519
Y = 666
Best regards,
Alexey Kolesnikov
Alexey Kolesnikov
-
- Posts: 46
- Joined: Thu Sep 01, 2022 9:53 pm
Re: Timeline for time follow bar?
Thank you Alexey and thank you Rick.
Alexey, I would also like to know if what Rick just asked you is possible in BDS?
Alexey, I would also like to know if what Rick just asked you is possible in BDS?
-
- Posts: 453
- Joined: Fri Mar 01, 2013 1:03 pm
- Contact:
Re: Timeline for time follow bar?
Oh, yep, I missed the question, thx.
I see only one way - using script.
First of all you need to convert "[prop]: [Timer] cur movie time" to the script:
As you can see it does 2 things:
1) Converts the current media time to the text: manager.time2str(manager.getMediaTime())
2) Changes the text value of the Timer object by setting it to what was converted in the p.1: manager.setText("F:PM_Scenes_1.Timer", ...);
So what you need here is to replace the current time with "duration - current time":
This is an example for DoVi Escape animation. In your case menu+object name will be different.
I see only one way - using script.
First of all you need to convert "[prop]: [Timer] cur movie time" to the script:
Code: Select all
manager.setText("F:PM_Scenes_1.Timer", manager.time2str(manager.getMediaTime()));
1) Converts the current media time to the text: manager.time2str(manager.getMediaTime())
2) Changes the text value of the Timer object by setting it to what was converted in the p.1: manager.setText("F:PM_Scenes_1.Timer", ...);
So what you need here is to replace the current time with "duration - current time":
Code: Select all
manager.setText("F:PM_Scenes_1.Timer", manager.time2str(manager.duration - manager.getMediaTime()));
Best regards,
Alexey Kolesnikov
Alexey Kolesnikov
Re: Timeline for time follow bar?
worked perfectly, thank you