logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
ClaudiuCiprian  
#1 Posted : Saturday, April 1, 2017 1:17:23 PM(UTC)
ClaudiuCiprian

Rank: Member

Groups: Registered
Joined: 4/1/2017(UTC)
Posts: 14
Location: Bucharest

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
Hi Guys,

I have a project involving 7 days/15 hours per day live streaming of a competition with a lot of contestants. My client asked me if it is possible to provide him at the end of each day a log with the lower thirds that were inserted live and the timings when this happened. E.g. the file should include data like: 1) John Doe - 13:00:00 2) Jane Doe - 14:00:00 etc. I assume that the vMix triggers should be used but they should trigger a data addition to the already created log file, each time when the Overlay 1 is activated for example.
Any idea of how to implement it?

Thank you in advance!
DWAM  
#2 Posted : Wednesday, April 5, 2017 5:46:44 AM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Hi Claudiu

I have never done such a thing but I feel like the answer is to use Vb.net Scripting feature in vMix 4K and Pro versions.

I'd try to trigger a script with each overlay used for titles. The script should be able to extract current values used in the title aswell as the time. (Alternative is to create a shorcut for a script that would call the overlay)

As explained in the documentation, Vb.net supports the majority of VB.NET 2.0 code that will work within a single sub or function. The idea is to replace Console.WriteLine by File.WriteLine to create your own log file.

I found an example using StreamWriter class.

Code:
Dim file As System.IO.StreamWriter
file = My.Computer.FileSystem.OpenTextFileWriter("c:\test.txt", True)
file.WriteLine("Here is the first string.")
file.Close()


This is a programmer's job. I wouldn't do that for free to a customer.

vMix Scripting Documentation:
http://www.vmix.com/help19/VBNetScripting.html

Hope this helps.
Guillaume
DWAM  
#3 Posted : Wednesday, April 5, 2017 6:18:48 AM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Another solution I can think of is to create a webpage with any scripting language.

This webpage should be used exclusively for managing titles and would contain:

- forms inputs areas (text fields or dropdown menus) to feed the xaml title with the names etc...
- some buttons to control the overlays with the "SetText" values above and using vMix API
- and a routine to log the events

Still serious developper skills required. But doable... Requires a local web server on vMix network though, but it can be done with every vMix licence, not only 4K or Pro.
ClaudiuCiprian  
#4 Posted : Wednesday, April 5, 2017 7:12:02 AM(UTC)
ClaudiuCiprian

Rank: Member

Groups: Registered
Joined: 4/1/2017(UTC)
Posts: 14
Location: Bucharest

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
Thanks a lot Guillaume! I figured out that some scripting will be needed but I hoped that somebody did it already:). We will do it and, if successful, I will post it here for future reference.

Cheers,
Claudiu
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.