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
wwdv  
#1 Posted : Saturday, December 20, 2014 10:06:11 AM(UTC)
wwdv

Rank: Advanced Member

Groups: Registered
Joined: 10/30/2013(UTC)
Posts: 290
Location: The Netherlands

Thanks: 6 times
Was thanked: 21 time(s) in 15 post(s)
When I use the Baseline profile then I've got a lot of artefacts (macro blocking) during the fades.
With the Main profile the artefacts are gone, but the stream is choppy.
Changing level and keyframes doesn't make things better.
The total cpu usage is 60% max.

My video settings: 768x576 25fps 800kbs, increasing the bitrate to 1500kps doesn't help (my upload is 6Mb).

PC: SG33G5 Shuttle, Dualcore E8600 3,33GHz 2GB RAM Windows 7 32bit, Nvidia Geforce GT610.

Anything else I can try?
IceStream  
#2 Posted : Saturday, December 20, 2014 10:45:57 AM(UTC)
IceStream

Rank: Advanced Member

Groups: Registered
Joined: 3/7/2012(UTC)
Posts: 2,636
Man
Location: Canada

Thanks: 33 times
Was thanked: 506 time(s) in 475 post(s)
I suspect you are pushing the limits of that system and graphics card
(the 610 might not quite meet the Nvidia *50 recommendation: http://www.vmixhd.com/supported-hardware.aspx
and the Core 2 Duo CPU is already a couple of generations old, although they work with vMix, they just might not be fast enough to perform the way you would like)

Have you tried lower resolutions and/or framerates?
I know it kind of defeats the purpose since that is what you are trying to fix, but as I stated, I think your system might not quite be up for the challenge.

Just my thoughts.


Ice

wwdv  
#3 Posted : Saturday, December 20, 2014 12:13:44 PM(UTC)
wwdv

Rank: Advanced Member

Groups: Registered
Joined: 10/30/2013(UTC)
Posts: 290
Location: The Netherlands

Thanks: 6 times
Was thanked: 21 time(s) in 15 post(s)
I could buy a Radeon HD 7750 (the fastest single slot card that fits in a Shuttle).

The vMix video output is OK, and FMLE doesn't use the GPU for encoding (as far as I know), so what difference could a better graphics card make for streaming?

I also can place a Core 2 Quad (Q9650) processor, but the CPU is only using 60%, what other part can be a bottleneck?
IceStream  
#4 Posted : Saturday, December 20, 2014 1:24:57 PM(UTC)
IceStream

Rank: Advanced Member

Groups: Registered
Joined: 3/7/2012(UTC)
Posts: 2,636
Man
Location: Canada

Thanks: 33 times
Was thanked: 506 time(s) in 475 post(s)
@ wwdv

What are you streaming? Video Capture or video files?
What exactly are you asking the CPU to accomplish overall?
Have you monitored CPU with Windows Task manager to see all processes?
What happens when you record?
Have you tried the ffmpeg encoder to see if there is a difference?

Before swapping out components, try testing with tools like Prime95 and FurMark to see how your CPU and graphics card measure up.
Certainly, newer and higher end components will make a difference, but a lot depends on exactly what you are trying to accomplish...

There are lots of possibilities when it comes to bottlenecks but the bottom line is, how "unacceptable" is the performance?

Streaming fairly static images without fancy transitions or special effects @ 15 to 25 fps is not an unreasonable expectation from a Core2Duo.
Streaming a basketball game with multiple cameras, scoreboard overlays, replays and commercials might be asking too much, even in SD.


Ice
wwdv  
#5 Posted : Saturday, December 20, 2014 2:02:55 PM(UTC)
wwdv

Rank: Advanced Member

Groups: Registered
Joined: 10/30/2013(UTC)
Posts: 290
Location: The Netherlands

Thanks: 6 times
Was thanked: 21 time(s) in 15 post(s)
Input vMix: PAL Video Capture (mostly static images)
CPU when recording (don't use that anyway) is 80% (all processes together in Taskmanager)
ffmpeg is not working: Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height


Before I switched to FMLE I was using WME (WMV9 codec) and that worked perfect, but my profider doesn't support WME anymore.

doyousee.me  
#6 Posted : Monday, December 22, 2014 7:23:32 AM(UTC)
doyousee.me

Rank: Advanced Member

Groups: Registered
Joined: 8/4/2012(UTC)
Posts: 129
Location: the Netherlands

Was thanked: 10 time(s) in 10 post(s)
macros and choppiness is bandwidth more often than not.

are you on wifi or 3g/4g perhaps, with heavy fluctuations in bw?

m@ik
admin  
#7 Posted : Monday, December 22, 2014 7:52:45 AM(UTC)
admin

Rank: Administration

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

Was thanked: 4290 time(s) in 1520 post(s)
Couple of ideas:

* The 610 is quite a low end graphics card even with SD.
* High CPU usage can also reach the point where it also impacts graphics card performance,
as vMix uses the GPU for all video mixing, this might explain the choppiness.

Try some different bit rate and resolution settings for FFMPEG, as the error indicates something is not quite right there.

Regards,

Martin
vMix

wwdv  
#8 Posted : Monday, December 22, 2014 12:13:51 PM(UTC)
wwdv

Rank: Advanced Member

Groups: Registered
Joined: 10/30/2013(UTC)
Posts: 290
Location: The Netherlands

Thanks: 6 times
Was thanked: 21 time(s) in 15 post(s)
doyousee.me wrote:
macros and choppiness is bandwidth more often than not.

are you on wifi or 3g/4g perhaps, with heavy fluctuations in bw?

m@ik



My upload is 8Mb and I am the only user (I'm not using wifi/3G/4G)
wwdv  
#9 Posted : Monday, December 22, 2014 12:38:17 PM(UTC)
wwdv

Rank: Advanced Member

Groups: Registered
Joined: 10/30/2013(UTC)
Posts: 290
Location: The Netherlands

Thanks: 6 times
Was thanked: 21 time(s) in 15 post(s)
admin wrote:

Try some different bit rate and resolution settings for FFMPEG, as the error indicates something is not quite right there.

It's working and only 40% total cpu usage instead of 60% with FMLE!
But unfortunately the same amount of artefacts in Baseline en choppiness in main

admin wrote:

* The 610 is quite a low end graphics card even with SD.\


Is a Radeon HD 7750 sufficient for SD or is that a marginal improvement?
admin  
#10 Posted : Monday, December 22, 2014 9:12:28 PM(UTC)
admin

Rank: Administration

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

Was thanked: 4290 time(s) in 1520 post(s)
Yes, the 7750 should be an improvement.

You are going to get artefacts if the bit rate selected in vMix is too low.
If you have 6mbps up try 4000 to see what the quality is like.

If you see choppyness the higher you go, it may be the streaming provider is not handling a sustained bitrate well.
wwdv  
#11 Posted : Tuesday, December 23, 2014 8:53:02 AM(UTC)
wwdv

Rank: Advanced Member

Groups: Registered
Joined: 10/30/2013(UTC)
Posts: 290
Location: The Netherlands

Thanks: 6 times
Was thanked: 21 time(s) in 15 post(s)
I did some tests:
With 4000 kbps the artefacts (basline) are gone, but the choppyness (main) stays.
At 1 mbps the quality of fmle is slightly better dan ffmpeg.
With ffmpeg audio is not in sync and the out of sync problem increases during a streaming.

We are using a free church provider and the max allowed bitrate is 800kbps.


I am using usb webcams (640x480) and Sony PTZ camera's (PAL 768x576), the output of vMix is 768x576.
I've reduced the vMix output resolution to 640x480, my idea was less data to stream less artefacts, but the result is more artefacts. :(

So my last option is to buy a Radeon HD7750 and see or the choppyness in the main profile is gone.



wwdv  
#12 Posted : Wednesday, December 24, 2014 12:16:14 PM(UTC)
wwdv

Rank: Advanced Member

Groups: Registered
Joined: 10/30/2013(UTC)
Posts: 290
Location: The Netherlands

Thanks: 6 times
Was thanked: 21 time(s) in 15 post(s)
I bought a Radeon, but still choppyness.

However, I found a acceptable compromise: when I stream at 15fps in stead of 25fps in Baseline it looks smoother then in Main and almost no artefacts.

(vMix ffmpeg can't unfortunately stream at 15fps so I have to use FMLEcmd again)
wwdv  
#13 Posted : Friday, December 26, 2014 12:12:16 PM(UTC)
wwdv

Rank: Advanced Member

Groups: Registered
Joined: 10/30/2013(UTC)
Posts: 290
Location: The Netherlands

Thanks: 6 times
Was thanked: 21 time(s) in 15 post(s)
Things are looking good now, but strange enough a 15fps exported video file is a lot bigger than a 25fps file.

How is that possible?

Is there a way to get 15 fps out of vMix in order to keep the better stream quality but not the larger files?
If I could set also 15 fps for the video inputs than vMix uses less resources.


EDIT:

I did a test with an i7 4771 PC, but still a choppy panning camera image when using the main profile (total CPU less than 15%), so this is probably a bug in FMLE.
Users browsing this topic
Guest (3)
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.