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
Slaver  
#1 Posted : Monday, June 3, 2019 11:08:34 PM(UTC)
Slaver

Rank: Advanced Member

Groups: Registered
Joined: 9/27/2014(UTC)
Posts: 112
Location: Germany

Thanks: 27 times
Was thanked: 8 time(s) in 8 post(s)
Hello Folks,

i found a reproducible phenomenon using the vMix API.

In my basketball setup, i send the scoreboard data (HomePoints, AwayPoints, GameClock, Quarter, ShotClock) directly in to the vMix API over network from another computer. Everytime when i start to send the data into the API, my render time starts up to increase up to 120ms, but just for the tenth of a second. My whole production is starting up to drop frames. The FPS decrease to 38-47 FPS.

The CPU is chilling, just see the attachment.

Bildschirmfoto 2019-06-03 um 14.58.43.png (3,330kb) downloaded 29 time(s).

Maybe admin can help me out?

Best
Marvin
admin  
#2 Posted : Monday, June 3, 2019 11:49:39 PM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,137
Man
Location: Gold Coast, Australia

Was thanked: 4135 time(s) in 1487 post(s)
Hi,

When updating multiple fields, it is important to call the shortcut PauseRender on the title input
and then ResumeRender after updating all the data.

This will result in a single render of all the fields at once, rather than one at a time.

Regards,

Martin
vMix
thanks 2 users thanked admin for this useful post.
Slaver on 6/4/2019(UTC), stigaard on 5/2/2020(UTC)
stigaard  
#3 Posted : Tuesday, June 4, 2019 6:39:26 AM(UTC)
stigaard

Rank: Advanced Member

Groups: Registered
Joined: 5/20/2015(UTC)
Posts: 493
Man
Denmark
Location: Copenhagen, Denmark

Thanks: 378 times
Was thanked: 100 time(s) in 79 post(s)
Martin, how about if you update all fields in one (batch) command via API? Do you still need to use PauseRender and ResumeRender?
admin  
#4 Posted : Tuesday, June 4, 2019 12:34:05 PM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,137
Man
Location: Gold Coast, Australia

Was thanked: 4135 time(s) in 1487 post(s)
Yes, a batch command will still be processed the same way without PauseRender/ResumeRender.
Slaver  
#5 Posted : Tuesday, June 4, 2019 4:50:27 PM(UTC)
Slaver

Rank: Advanced Member

Groups: Registered
Joined: 9/27/2014(UTC)
Posts: 112
Location: Germany

Thanks: 27 times
Was thanked: 8 time(s) in 8 post(s)
Thanks Martin for the quick response.

I am just wondering how to proceed now, because its a scoreboard with two continues running gametimes (Clock and Shotclock). So there is not really a pause in the datafeed, just when there is a timeout or halftime.

Best
Marvin
admin  
#6 Posted : Tuesday, June 4, 2019 7:11:07 PM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,137
Man
Location: Gold Coast, Australia

Was thanked: 4135 time(s) in 1487 post(s)
Check to make sure you are not updating fields unless they need to be changed,
then if updating more than one field at a time use the pauserender/resumerender.

Also be sure not to update titles more than 5 times a second (every 200ms) if possible when using older XAML titles.
For newer GT titles, they can be updated much more often without impacting performance.

Regards,

Martin
vMix

thanks 2 users thanked admin for this useful post.
Slaver on 6/4/2019(UTC), stigaard on 5/2/2020(UTC)
Users browsing this topic
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.