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
BloodyIron  
#1 Posted : Wednesday, September 25, 2013 5:11:14 PM(UTC)
BloodyIron

Rank: Advanced Member

Groups: Registered
Joined: 9/25/2013(UTC)
Posts: 48
Location: Canada

Thanks: 8 times
Was thanked: 3 time(s) in 3 post(s)
Hi vMix folks,

I'm trialing the vMix software for my broadcasting purposes. We have worked with Wirecast at times, and that is a bit relevant in my question here.

I ran vMix recently and while it worked rather well the performance and CPU usage was not quite what I was anticipating.

For the production system I am using an AMD A8-6600K, which has an AMD Radeon 8570D GPU.

We previously have used a Core 2 Quad (I forget the exact model, I think it may have been a Q8400).

Now with Wirecast with the Core 2 Quad system we were able to do 1270x720 at 30fps at upwards of 2500kbps broadcasts very easily. We also were using a much less powerful GPU to accelerate the process. This resulted in 20-40% CPU utilization, and no visible frame loss.

Comparatively with the new hardware and using vMix we are getting much more CPU usage and more frequent frame loss.

Now, I may be doing this incorrectly, so is there any way I can improve my situation?

We're using Windows 7 64bit Pro. And the core content we care about is streaming 3d content (as in gaming) from another system to the production system.

I will gladly clarify where needed.
BloodyIron  
#2 Posted : Wednesday, September 25, 2013 9:07:24 PM(UTC)
BloodyIron

Rank: Advanced Member

Groups: Registered
Joined: 9/25/2013(UTC)
Posts: 48
Location: Canada

Thanks: 8 times
Was thanked: 3 time(s) in 3 post(s)
So I am doing some more testing. It looks like FMLEcmd.exe is using 50-60%+ of the CPU. Pretty sure this is the Flash Media Live Encoder batch executable.

Wirecast has it's own built-in encoder for Flash streaming video, so they don't need to rely on FMLE. As such I do not know of any tricks to improve this situation.

Can anyone advise on how to improve this? I'm pretty sure FMLEcmd.exe is choking my CPU and as such other parts of what I want to do are suffering.
admin  
#3 Posted : Wednesday, September 25, 2013 9:59:48 PM(UTC)
admin

Rank: Administration

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

Was thanked: 4260 time(s) in 1516 post(s)
Hi,

FMLE tends to use a lot of CPU usage for image scaling, to fix this:

1. In vMix Settings go to External Output and set the Output Size to 1280x720 (or whatever the largest encode size is under the Streaming Window) under Virtual Capture
2. Restart vMix and try streaming again.

On our test systems the CPU usage of FMLE is reduced from 55-60% to 25% this way.

Regards,

Martin
vMix
BloodyIron  
#4 Posted : Wednesday, September 25, 2013 10:06:50 PM(UTC)
BloodyIron

Rank: Advanced Member

Groups: Registered
Joined: 9/25/2013(UTC)
Posts: 48
Location: Canada

Thanks: 8 times
Was thanked: 3 time(s) in 3 post(s)
It may still be scaling, but I checked and it's already set to output at 1280x720. I may be doing it wrong, but I followed your instructions as best as I could.

I restarted and it is still using the same amount of CPU.
ask  
#5 Posted : Wednesday, September 25, 2013 10:13:42 PM(UTC)
ask

Rank: Advanced Member

Groups: Registered
Joined: 10/13/2012(UTC)
Posts: 1,162
Australia
Location: Melbourne

Thanks: 220 times
Was thanked: 199 time(s) in 181 post(s)
admin wrote:
Hi,

FMLE tends to use a lot of CPU usage for image scaling, to fix this:

1. In vMix Settings go to External Output and set the Output Size to 1280x720 (or whatever the largest encode size is under the Streaming Window) under Virtual Capture
2. Restart vMix and try streaming again.

On our test systems the CPU usage of FMLE is reduced from 55-60% to 25% this way.

Regards,

Martin
vMix


Martin, that is interesting. Do you also see this reduction when FMLE is set to stream out at a lower resolution but the input is set as above?
admin  
#6 Posted : Wednesday, September 25, 2013 10:19:59 PM(UTC)
admin

Rank: Administration

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

Was thanked: 4260 time(s) in 1516 post(s)
ask wrote:

Martin, that is interesting. Do you also see this reduction when FMLE is set to stream out at a lower resolution but the input is set as above?


This is the scenario I described above. If vMix is sending a full HD output to FMLE and FMLE is encoding at 1280x720 the CPU usage can be up to double.

thanks 1 user thanked admin for this useful post.
ask on 9/25/2013(UTC)
BloodyIron  
#7 Posted : Wednesday, September 25, 2013 10:21:50 PM(UTC)
BloodyIron

Rank: Advanced Member

Groups: Registered
Joined: 9/25/2013(UTC)
Posts: 48
Location: Canada

Thanks: 8 times
Was thanked: 3 time(s) in 3 post(s)
I'm pretty sure I have 1280x720 set at all the relevant spots, but just in-case, where should I be looking for all the spots?

Also, for the sake of semantics, 1280x720 is HD ;o
admin  
#8 Posted : Wednesday, September 25, 2013 10:35:24 PM(UTC)
admin

Rank: Administration

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

Was thanked: 4260 time(s) in 1516 post(s)
Yes, I was referring to "full" hd which is 1920x1080.
The only place where you need to check the output size is under External Output tab in settings, if the resolution there matches the streaming size then you should be fine.

When streaming at 2500 at 1280x720 CPU usage of fmlecmd is under 25% on an Intel i5 3570K
BloodyIron  
#9 Posted : Wednesday, September 25, 2013 10:41:42 PM(UTC)
BloodyIron

Rank: Advanced Member

Groups: Registered
Joined: 9/25/2013(UTC)
Posts: 48
Location: Canada

Thanks: 8 times
Was thanked: 3 time(s) in 3 post(s)
There are two fields for Output size, one for "vMix Video Device" and one for "External Recorder"

I only have vMix Video Device checked. What is External Renderer for and should I use it with/instead?

According to passmark (a site I use to reference CPU and other benchmarks) the A8-6600K has a CPU performance score of 4814, which is measurably over a q8400 of 3246 which is similar to what we were using previously. However the i5-3570k has a score of 7116, so that may explain why I'm getting more percentile use.

Hopefully we can get this figured out, because I'm really loving other aspects of vMix so far. I just figured out the stinger feature, and am trying to figure out the editable lower-thirds.

Any other thoughts? D:

Thanks for your help so far :)
BloodyIron  
#10 Posted : Thursday, September 26, 2013 2:28:23 PM(UTC)
BloodyIron

Rank: Advanced Member

Groups: Registered
Joined: 9/25/2013(UTC)
Posts: 48
Location: Canada

Thanks: 8 times
Was thanked: 3 time(s) in 3 post(s)
I'm considering trying FMLE 2.5, I found a thread that speaks of similar experience: http://community.justin....ms/showthread.php?t=5406

Although the user reports he cannot get higher than 15fps with 2.5, so I'm still torn, but maybe version 3.0.

Thoughts?

Also, are there any plans to bring streaming encoding into the core of vMix instead of relying on the external utility?
BloodyIron  
#11 Posted : Thursday, September 26, 2013 2:33:44 PM(UTC)
BloodyIron

Rank: Advanced Member

Groups: Registered
Joined: 9/25/2013(UTC)
Posts: 48
Location: Canada

Thanks: 8 times
Was thanked: 3 time(s) in 3 post(s)
I also will look at updating directx with dxwebsetup as FMLE may use DirectX for acceleration (or that's vMix, I forget).
BloodyIron  
#12 Posted : Thursday, September 26, 2013 2:37:58 PM(UTC)
BloodyIron

Rank: Advanced Member

Groups: Registered
Joined: 9/25/2013(UTC)
Posts: 48
Location: Canada

Thanks: 8 times
Was thanked: 3 time(s) in 3 post(s)
Oh and I'm using Main profile instead of Baseline. That may impact it?
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.