M4L Video device
Hi everyone,
I'm scoring a video in Live, but since the video playback is buggy and unusable, I'm trying to build my own little device to have smooth video playback.
So far, I have the basic structure, with the patch loading a video and playing it back once Live playback is started.
The problem is I can not figure out how to restart from the correct frame once the playback is started from a random point within Live timeline: I did not find a suitable object that returns the playback point in time format, to be successively converted in MS to send to the video playback object. The most useful command returns the current point in a beat format, which is however not ideal (tried to parse this data in time format, but had issues and weird behaviours).
Probably I could hard-code the relationship beats/time, but I have the necessity for the system to work with any tempo set in the project (although I do not need to handle tempo changes along it).
I hope the description was clear enough,
Thanks in advance