Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server

Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!

Video playback controls

Q and A about functionality and how to solve a special task for your application.

Moderator: Support

Post Reply
User avatar
Chris
Posts: 108
Joined: 14 Aug 2012, 09:10
Location: UK

Video playback controls

Post by Chris » 11 Jul 2015, 13:46

Hi,

I am trying to figure out how i can set up video playback with functions like slow rewind, slow forward and fast forward.
From what I can see in the Movie Clip node there are no such controls as standard.

The only option i can think of is utilising the 'scrub' function in someway.....?
Can anyone give me some direction on achieving this?

Thanks
Chris

pasto
Posts: 19
Joined: 29 May 2015, 09:12

Re: Video playback controls

Post by pasto » 13 Jul 2015, 14:48

I did something similar using an AnimationNode as controller of the MovieClipNode. If you set a keyframe for the Control property at 0, your clip will be shown in the timeline. At that point you can control the timeline with a TimelineControlNode and with a bit of logic I think you can reach your target.
What I noticed, TimelineControlNode works at decimals of second.
Personally I do not know a better way. But I'd like to know if there :-)
Alessio
Attachments
Screenshot.PNG

pasto
Posts: 19
Joined: 29 May 2015, 09:12

Re: Video playback controls

Post by pasto » 13 Jul 2015, 15:16

...but actually you could do all the same just with the scrub function. :-P
I used that technique with AudioNode where there is not scrub function.

User avatar
Chris
Posts: 108
Joined: 14 Aug 2012, 09:10
Location: UK

Re: Video playback controls

Post by Chris » 16 Jul 2015, 12:57

Thanks for the reply Pasto, much appreciated ;)

I'm not sure it will work in my case though....I wanted to have these controls as buttons i can simply click on screen to change playback speed; along with standard controls like play, pause, etc.

I've attached a scene file. Jumping to different speeds is not the issue here, thats done, but when you jump to the new playback speed the play back position jumps also as im dividing by the clip duration.
I really need the speed jump to be possible while the clip is playing and so that the clip remains in the same position when the speed change happens.

I've tried a few methods, but not got it working yet....

Any help is appreciated ;)


And to the Ventuz team......is this something you are going to implement?? would be useful for broadcast ;)

Thanks
Chris

User avatar
Chris
Posts: 108
Joined: 14 Aug 2012, 09:10
Location: UK

Re: Video playback controls

Post by Chris » 16 Jul 2015, 12:58

attachment :)))
Attachments
VideoSpeedTest.vza
(18.45 KiB) Downloaded 248 times

pasto
Posts: 19
Joined: 29 May 2015, 09:12

Re: Video playback controls

Post by pasto » 16 Jul 2015, 16:53

I made some changes to your example. It lacks still some logic, but it can be a starting point.
Attachments
VideoSpeedTest02.vza
(21.44 KiB) Downloaded 237 times

chriss0212
Posts: 666
Joined: 18 Jan 2012, 20:56
Location: wuppertal
Contact:

Re: Video playback controls

Post by chriss0212 » 17 Jul 2015, 08:02

hi chris,

here a little idear ;)

but i would like to have it implemented directly in the player....with a very important extra feature: frame blending!

greetz

christian
Attachments
playback control.vza
(10.34 KiB) Downloaded 261 times

User avatar
Chris
Posts: 108
Joined: 14 Aug 2012, 09:10
Location: UK

Re: Video playback controls

Post by Chris » 22 Jul 2015, 19:31

Thankyou both for your input, exactly what i needed :)

Chris

Post Reply