vMix Forums
»
General
»
General Discussion
»
vMix API impair Render Time
Rank: Advanced Member
Groups: Registered
Joined: 9/27/2014(UTC) Posts: 113 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
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/13/2010(UTC) Posts: 5,214 Location: Gold Coast, Australia Was thanked: 4301 time(s) in 1523 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
|
2 users thanked admin for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/20/2015(UTC) Posts: 493 Location: Copenhagen, Denmark Thanks: 389 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?
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/13/2010(UTC) Posts: 5,214 Location: Gold Coast, Australia Was thanked: 4301 time(s) in 1523 post(s)
|
Yes, a batch command will still be processed the same way without PauseRender/ResumeRender.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 9/27/2014(UTC) Posts: 113 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
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/13/2010(UTC) Posts: 5,214 Location: Gold Coast, Australia Was thanked: 4301 time(s) in 1523 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
|
2 users thanked admin for this useful post.
|
|
|
vMix Forums
»
General
»
General Discussion
»
vMix API impair Render Time
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.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close