[In 11.10.0] Cue markers for video file

Features you would like in SCS
Post Reply
willmodelisme
Posts: 15
Joined: Sun Jul 09, 2017 4:24 pm
Location: Paris (France)

[In 11.10.0] Cue markers for video file

Post by willmodelisme » Tue Jul 25, 2023 7:57 pm

Hello.
I need to trigger actions very precisely and Cue marker make life easier.
But for video file it is not possible to use Cue marker.
For now I take out the audio of the video in a separate audio Cue played simultaneously with the video and it is OK but a bit tedious.

Is it possible to have Cue marker when using video file ?

Have a nice day.

Mike Daniell
Site Admin
Posts: 3629
Joined: Sun Jul 24, 2005 8:58 am
Location: Brisbane, Queensland, Australia. TZ:GMT+10
Contact:

Re: Cue markers for video file

Post by Mike Daniell » Thu Jul 27, 2023 6:46 pm

I'll consider this. Cue markers are currently only supported for audio files played using the BASS audio library (which is the default library used by SCS). I've also had a request to support cue markers for audio files played using SoundMan-Server.

The significant difference between these three libraries (BASS or SoundMan-Server for audio files, and TVideoGrabber for video files) is that BASS supports callbacks based on position in the file. So when you set a cue marker at a particular point in the file, SCS calls a function in BASS to raise the callback when that byte position is reached - so it is extremely accurate. If SCS has to rely on it's own tracking of the position, such as for a video file, then the processing of the Cue Marker would not as precisely match the required position.
Mike Daniell
Show Cue Systems Pty Ltd
mike@showcuesystems.com
Image

willmodelisme
Posts: 15
Joined: Sun Jul 09, 2017 4:24 pm
Location: Paris (France)

Re: Cue markers for video file

Post by willmodelisme » Fri Jul 28, 2023 1:16 am

Tks for the reply .

PhilVale
Posts: 142
Joined: Mon Jul 29, 2013 8:00 pm

Re: Cue markers for video file

Post by PhilVale » Fri Aug 04, 2023 2:59 am

So thought about this for a while and came up with a bit of a hack for a possible solution.

If at the same time as the video starts you have a dummy Audio file starts too (theres some stuff about syncronising files too but not sure if that's appliucble). The volumen on this dummy file can be turned own or the audio file may even be silent. Or you could use the audio file from the video. Then put the Cue Markers in the audio file. Would that work? May not be super acurate but might be good enough.

Or is that sort of what you do? Stripping out the audio from the file should be super easy with almost any video editor or some audio editors or something like Handbreak.

Phil.

djvomght
Posts: 101
Joined: Fri Aug 15, 2008 11:22 pm
Location: Zittau, Germany
Contact:

Re: Cue markers for video file

Post by djvomght » Sat Aug 05, 2023 7:09 pm

Why do You not use MTC?
Image

LONGJOIN
Posts: 13
Joined: Fri Dec 03, 2021 12:24 pm

Re: Cue markers for video file

Post by LONGJOIN » Tue Aug 08, 2023 5:41 pm

Using Cue markers can make the editing process more like multi-track.

Mike Daniell
Site Admin
Posts: 3629
Joined: Sun Jul 24, 2005 8:58 am
Location: Brisbane, Queensland, Australia. TZ:GMT+10
Contact:

Re: Cue markers for video file

Post by Mike Daniell » Tue Aug 08, 2023 6:59 pm

djvomght wrote:
Sat Aug 05, 2023 7:09 pm
Why do You not use MTC?
This has some merit. I've just run a test here with a cue containing a video sub-cue and an MTC sub-cue and they both start together. I then had a separate Control Send cue (although it could be any cue type) with the Activation set to MIDI Time Code, and set the MTC at 20:00. This Control Send cue was activated as specified, which was 20 seconds into the video. The MTC sub-cue was assigned to a dummy MIDI device, so it was not necessary to having a receiving device for MTC. My Control Send cue sent a MIDI message that I monitored using MIDI-OX.

I'll look into the possibility of implementing an internal equivalent of this processing, but having 'Cue Markers' as the user interface.
Mike Daniell
Show Cue Systems Pty Ltd
mike@showcuesystems.com
Image

Mike Daniell
Site Admin
Posts: 3629
Joined: Sun Jul 24, 2005 8:58 am
Location: Brisbane, Queensland, Australia. TZ:GMT+10
Contact:

Re: Cue markers for video file

Post by Mike Daniell » Wed Aug 09, 2023 2:49 pm

After further thought, MTC is currently sent by SCS under the control of a high priority ('time critical') thread. So I'm now considering using that same approach to create a Cue Marker high priority thread.
Mike Daniell
Show Cue Systems Pty Ltd
mike@showcuesystems.com
Image

willmodelisme
Posts: 15
Joined: Sun Jul 09, 2017 4:24 pm
Location: Paris (France)

Re: Cue markers for video file

Post by willmodelisme » Mon Aug 28, 2023 5:33 pm

djvomght wrote:
Sat Aug 05, 2023 7:09 pm
Why do You not use MTC?
The actions I need to trigger are http request to light up little autonomous RGB props on stage via a wifi network.
Not sure I can link MTC to trigger http request.
I'll try anyway.
Thanks.

Mike Daniell
Site Admin
Posts: 3629
Joined: Sun Jul 24, 2005 8:58 am
Location: Brisbane, Queensland, Australia. TZ:GMT+10
Contact:

Re: Cue markers for video file

Post by Mike Daniell » Mon Aug 28, 2023 6:18 pm

I'm planning to include cue markers for video files in the next release of SCS.
Mike Daniell
Show Cue Systems Pty Ltd
mike@showcuesystems.com
Image

Buyaicia
Posts: 171
Joined: Sat Aug 03, 2013 2:36 am
Location: Barcelona, Catalunya
Contact:

Re: Cue markers for video file

Post by Buyaicia » Mon Aug 28, 2023 11:20 pm

Hi Mike,
Very good idea!!! :D

Thanks,
Lluís

willmodelisme
Posts: 15
Joined: Sun Jul 09, 2017 4:24 pm
Location: Paris (France)

Re: Cue markers for video file

Post by willmodelisme » Tue Aug 29, 2023 8:48 pm

:D :D :D :D :D

Post Reply