Count vidéo and times.

FFGL, OSC, GLSL. If you like abbreviations, this is the forum for you
Post Reply
Timoxy
Is taking Resolume on a second date
Posts: 17
Joined: Fri Jun 14, 2019 10:30

Count vidéo and times.

Post by Timoxy »

Hi everybody,

i'm totally new on FFGL (but maybe is not necessary)...

I explain my project, i want build a plugin able to count how many times a video has been played in a playlist and adds up the time played.

In fact i use resolume to play lot of vidéo for few sport game (like foot or rugby championship). At the end of each match we need to check how many times and how long we played each video for sponsors (and yes we must be held accountable...)

Si in my resolume i make an auto playlist with all vidéo of each sponsors. Vidéos can be put several times in the playlist.

So imagine. In my layer 2 i've 45 columns, and on each columns i've a vidéo.
COL 1 Video 1
COL 2 Video 2
...
COL 25 Vidéo25
COL 26 Video 1
COL 27 Vidéo 3
COL 28 Vidéo 1
COL 29 Vidéo 4
COL 30 Vidéo 2

So how I could do so at the end of the match ? I want press a button which tells me:
Video 1 played 14 times, total duration 15 minutes
video 2 played 7 times, total duration 3 minutes....
Like that we can check if the passage times are well respected. You will say me you just need to check the number of vidéo in your playlist but no, because sometimes, we need to put an other media when there are stoppages in play, and therefore during this time the sponsors do not come through.

I admit that this is completely outside of my skills. So if anyone can help me with this I would be greatly grateful!

Thanks all !

Zoltán
Team Resolume
Posts: 7114
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

Re: Count vidéo and times.

Post by Zoltán »

I think this is a job for OSC, not FFGl.
https://resolume.com/support/en/osc
Via OSC you can get the clip trigger events, then can ask for the clip name, and then count the time in your OSC app.

If this format is good for you, you can use this app for clip logging. Easy to load to excel.

Code: Select all

[2023/10/27 19:15:03:265]	clip start 	3LAU feat. Yeah Boy - Is It Love (Official Lyric Video).mp3	/composition/layers/1/clips/2	at	2023/10/27 19:15:03:267	/Users/y/Desktop/temp/videoklipek/3LAU feat. Yeah Boy - Is It Love (Official Lyric Video).mp3.mov	/Users/y/Desktop/temp/videoklipek/3LAU feat. Yeah Boy - Is It Love (Official Lyric Video).mp3.mov	
[2023/10/27 19:15:08:131]	clip stop 	'I FINK U FREEKY' by DIE ANTWOORD (Official).mp3	/composition/layers/1/clips/1	after	0:0:9.742	/Users/y/Desktop/temp/videoklipek/'I FINK U FREEKY' by DIE ANTWOORD (Official).mp3.mov	/Users/y/Desktop/temp/videoklipek/'I FINK U FREEKY' by DIE ANTWOORD (Official).mp3.mov	
[2023/10/27 19:15:15:453]	clip start 	Text Animator	/composition/layers/1/clips/3	at	2023/10/27 19:15:15:454	/Users/y/Desktop/temp/videoklipek/A-Minor - Thinking Bout The Things (Official Music Video).mp3.mov	/Users/y/Desktop/temp/videoklipek/A-Minor - Thinking Bout The Things (Official Music Video).mp3.mov	names don't match
[2023/10/27 19:15:15:453]	clip stop 	3LAU feat. Yeah Boy - Is It Love (Official Lyric Video).mp3	/composition/layers/1/clips/2	after	0:0:12.192	/Users/y/Desktop/temp/videoklipek/3LAU feat. Yeah Boy - Is It Love (Official Lyric Video).mp3.mov	/Users/y/Desktop/temp/videoklipek/3LAU feat. Yeah Boy - Is It Love (Official Lyric Video).mp3.mov	
[2023/10/27 19:15:20:023]	clip start 	Aazar - Diva ft. Swae Lee, Tove Lo mᅢᄀsolat.mp3	/composition/layers/1/clips/4	at	2023/10/27 19:15:20:027	/Users/y/Desktop/temp/videoklipek/Aazar - Diva ft. Swae Lee, Tove Lo másolat.mp3.mov	/Users/y/Desktop/temp/videoklipek/Aazar - Diva ft. Swae Lee, Tove Lo másolat.mp3.mov	names don't match
[2023/10/27 19:15:20:030]	clip stop 	Text Animator	/composition/layers/1/clips/3	after	0:0:4.577	/Users/y/Desktop/temp/videoklipek/A-Minor - Thinking Bout The Things (Official Music Video).mp3.mov	/Users/y/Desktop/temp/videoklipek/A-Minor - Thinking Bout The Things (Official Music Video).mp3.mov	names don't match
[2023/10/27 19:15:24:293]	clip start 	Aazar - Diva ft. Swae Lee, Tove Lo.mp3	/composition/layers/1/clips/5	at	2023/10/27 19:15:24:295	/Users/y/Desktop/temp/videoklipek/Aazar - Diva ft. Swae Lee, Tove Lo.mp3.mov	/Users/y/Desktop/temp/videoklipek/Aazar - Diva ft. Swae Lee, Tove Lo.mp3.mov	
[2023/10/27 19:15:24:293]	clip stop 	Aazar - Diva ft. Swae Lee, Tove Lo mᅢᄀsolat.mp3	/composition/layers/1/clips/4	after	0:0:4.271	/Users/y/Desktop/temp/videoklipek/Aazar - Diva ft. Swae Lee, Tove Lo másolat.mp3.mov	/Users/y/Desktop/temp/videoklipek/Aazar - Diva ft. Swae Lee, Tove Lo másolat.mp3.mov	names don't match
Képernyőfotó 2023-10-27 - 19.17.59.png
Software developer, Sound Engineer,
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu

Timoxy
Is taking Resolume on a second date
Posts: 17
Joined: Fri Jun 14, 2019 10:30

Re: Count vidéo and times.

Post by Timoxy »

Mmh ! Not bad idea !

I'll try to make it with osc. It's right, i think it's much better to use it. I come back to you with my project.

Thanks zoltan to your help.

Timoxy
Is taking Resolume on a second date
Posts: 17
Joined: Fri Jun 14, 2019 10:30

Re: Count vidéo and times.

Post by Timoxy »

Hi zoltan, i trying your software i think your software is totally awesome !

But, before buy your plugin i want try, so, how to export the log at the end ?

If you have few minutes to explain me your software for my request before buy it will be perfect. If it's work i'll buy you few licences

Zoltán
Team Resolume
Posts: 7114
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

Re: Count vidéo and times.

Post by Zoltán »

The logs are written to Documents/controller clip logs,
Load the composition in Controller, enable the clip logging in the preferences, and once the connection is set up, and you change clips, a new file with the current date should appear in the folder.
Make sure OSC output all preset is selected in Resolume OSC shortcuts.
Software developer, Sound Engineer,
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu

Post Reply