Rank: Advanced Member
Groups: Registered
Joined: 7/31/2014(UTC) Posts: 38
Thanks: 1 times Was thanked: 2 time(s) in 2 post(s)
|
Does anyone know what hardware mostly determines the performance of animated (storyboarded) .xaml-files? For instance, attached .xaml doesn't operate smoothly in an empty preset of vMix on my 32gb RAM, i7 CPU, GTX 960 GPU system. Rendertimes and CPU load displayed by vMix are both negligible. File Attachment(s): Facts.xaml (36kb) downloaded 49 time(s).You cannot view/download attachments. Try to login or register.
|
|
|
|
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)
|
Ph0en1x wrote:Does anyone know what hardware mostly determines the performance of animated (storyboarded) .xaml-files? I actually discussed this with Martin at IBC. He mentioned that the CPU is handling all animation of the xaml file, and I'm pretty sure Martin said that there's not way that the GPU can take over this task to render the animations.. :-( As I see the problem there's two options for you: A) Buy a faster CPU :-) :-) :-) B) Reduce the master resolution/framerate in vMix. It will run smoother when reducing the master output resolution or framerate. I've been personally doing that with some complex xaml animations. I reduced the resolution to 576p (668x576), and it made the animation smooth. I haven't figured out any other way around this problem..
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,218 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
What is it with the designed time not matching the display time (slower)
found that xaml animation framerate is standard 60fps, so set TimeLine.DesiredFrameRate = lower ?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/31/2014(UTC) Posts: 38
Thanks: 1 times Was thanked: 2 time(s) in 2 post(s)
|
stigaard wrote:Ph0en1x wrote:Does anyone know what hardware mostly determines the performance of animated (storyboarded) .xaml-files? I actually discussed this with Martin at IBC. He mentioned that the CPU is handling all animation of the xaml file, and I'm pretty sure Martin said that there's not way that the GPU can take over this task to render the animations.. :-( As I see the problem there's two options for you: A) Buy a faster CPU :-) :-) :-) Meh, i use a 4790k, should be pretty fast right? Quote: B) Reduce the master resolution/framerate in vMix.
Again, meh. ;) I want to output 1080p. Or isn't that what you mean? I could of course do the animation in a video file or image sequence and overlay the data, but i don't have any channels left... doggy wrote:What is it with the designed time not matching the display time (slower)
found that xaml animation framerate is standard 60fps, so set TimeLine.DesiredFrameRate = lower ? I have to confess that i don't know anything about xaml coding. I reverse engineered an existing title and build upon it in Blend for Visual Studio. Can you elaborate on your content? My xaml is set to 60fps but my project is (for instance) 25?
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/13/2010(UTC) Posts: 5,208 Location: Gold Coast, Australia Was thanked: 4290 time(s) in 1520 post(s)
|
Rendering of XAML titles is done on the CPU as Stigaard mentioned, but there are certain things you can do to keep this as low as possible:
1. Avoid using effects, particularly those that involve blurring or blending with other layers such as drop shadow effects. 2. If possible, build graphical elements with effects as PNG files ahead of time and incorporate these into your animations.
As a quick test I removed all the drop shadows from the title and instead of dropping frames at 27% CPU it is now running smoothly at around 11%. This is on an older quad core 3.6 Ghz CPU.
Regards,
Martin vMix
|
1 user thanked admin for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/31/2014(UTC) Posts: 38
Thanks: 1 times Was thanked: 2 time(s) in 2 post(s)
|
admin wrote:Rendering of XAML titles is done on the CPU as Stigaard mentioned, but there are certain things you can do to keep this as low as possible:
1. Avoid using effects, particularly those that involve blurring or blending with other layers such as drop shadow effects. 2. If possible, build graphical elements with effects as PNG files ahead of time and incorporate these into your animations.
As a quick test I removed all the drop shadows from the title and instead of dropping frames at 27% CPU it is now running smoothly at around 11%. This is on an older quad core 3.6 Ghz CPU.
Regards,
Martin vMix Awesome, i tried removing the shadows and now the (flatter) title appears flawless. It's too bad the depth from the title is gone, though. Might look for a middle road. I haven't found an option to add bevels, though i assume that effect would follow the same logic as the shadows as far as performance goes. Thanks!
|
|
|
|
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