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
sunkast  
#1 Posted : Thursday, August 9, 2018 10:23:53 AM(UTC)
sunkast

Rank: Advanced Member

Groups: Registered
Joined: 3/7/2017(UTC)
Posts: 60

Thanks: 3 times
Was thanked: 6 time(s) in 6 post(s)
Quick question... I want to hardware encode 2 streams. If the 2nd stream has Use Stream 1 Quality checked, will it also use hardware encoding? The hardware encoding option for Stream 1 is greyed out unless I uncheck Use Stream 1 Quality, which is why I'm unsure what option to use to ensure both streams are hardware encoded.
richardgatarski  
#2 Posted : Friday, August 17, 2018 3:37:36 PM(UTC)
richardgatarski

Rank: Advanced Member

Groups: Registered
Joined: 2/18/2014(UTC)
Posts: 1,838
Location: Stockholm

Thanks: 144 times
Was thanked: 297 time(s) in 250 post(s)
Not really sure what you mean. If other streams are using Stream1 quality, there is no need to encode their streams. If Stream2 is using i different quality it has to be encoded, optionally by hardware. Note that the Nvidia Geforce cards only support two hardware encoders. Meaning if you hardware encode two different streams, you cannot hardware a third streams or a recording.
admin  
#3 Posted : Friday, August 17, 2018 9:43:13 PM(UTC)
admin

Rank: Administration

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

Was thanked: 4332 time(s) in 1528 post(s)
To clarify, yes ticking that box will also copy the Use Hardware Encoder setting, so be sure your GPU has enough encoder channels available. (2 for GeForce, no fixed limit for most mid-high end Qusdro models)
niemi  
#4 Posted : Saturday, August 18, 2018 1:46:59 PM(UTC)
niemi

Rank: Advanced Member

Groups: Registered
Joined: 2/16/2017(UTC)
Posts: 178
Location: Denmark

Thanks: 27 times
Was thanked: 18 time(s) in 15 post(s)
Specifically, Quadro P2000 and above has unlimited encode sessions:

https://developer.nvidia.com/video-encode-decode-gpu-support-matrix#Encoder

Quadro P400 and P1000 - and those in between - only supports two, just like most Geforce cards with the exception of GeForce GT 1030 which doesn't support hardware encoding.
niemi  
#5 Posted : Saturday, August 18, 2018 1:49:19 PM(UTC)
niemi

Rank: Advanced Member

Groups: Registered
Joined: 2/16/2017(UTC)
Posts: 178
Location: Denmark

Thanks: 27 times
Was thanked: 18 time(s) in 15 post(s)
richardgatarski wrote:
Not really sure what you mean. If other streams are using Stream1 quality, there is no need to encode their streams. If Stream2 is using i different quality it has to be encoded, optionally by hardware. Note that the Nvidia Geforce cards only support two hardware encoders. Meaning if you hardware encode two different streams, you cannot hardware a third streams or a recording.


With the three streams being independent since vMix 21, are they not all encoded separately even with "Use stream 1 quality" selected?
richardgatarski  
#6 Posted : Saturday, August 18, 2018 3:09:04 PM(UTC)
richardgatarski

Rank: Advanced Member

Groups: Registered
Joined: 2/18/2014(UTC)
Posts: 1,838
Location: Stockholm

Thanks: 144 times
Was thanked: 297 time(s) in 250 post(s)
niemi wrote:
With the three streams being independent since vMix 21, are they not all encoded separately even with "Use stream 1 quality" selected?

That's up to Martin to answer correctly. But my guess is that each stream to the CDN uses the same encoding stream, which is just turned on/off to the individual CDNs.
DWAM  
#7 Posted : Saturday, August 18, 2018 7:28:50 PM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Usually streams with the same settings to multiple destinations are only encoded once and pushed to the destinations. But this does not allow independent start and stop by default.
However depending how Martin wrote the independent stream feature 2 options are possible:
- each destination has a dedicated command line for FFMPEG, even if encoding parameters are the same
- streams sharing the same settings are encoded just once, only the destinations part of the command line is "dynamic" and can be updated on the fly

Only Martin knows I'm afraid... unless the stream logs contains clues, I never thought to check this...
admin  
#8 Posted : Saturday, August 18, 2018 9:51:50 PM(UTC)
admin

Rank: Administration

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

Was thanked: 4332 time(s) in 1528 post(s)
Each individual stream is encoded independently regardless of settings selected. This is necessary to ensure all streams are isolated from another
so an issue with one stream does not affect the others.
thanks 2 users thanked admin for this useful post.
DWAM on 8/19/2018(UTC), mjgraves on 8/22/2018(UTC)
niemi  
#9 Posted : Wednesday, August 22, 2018 10:41:43 AM(UTC)
niemi

Rank: Advanced Member

Groups: Registered
Joined: 2/16/2017(UTC)
Posts: 178
Location: Denmark

Thanks: 27 times
Was thanked: 18 time(s) in 15 post(s)
Thanks Richard, Guillaume and Martin for clarifying.

Independent streams is the single biggest improvement for us in vMix 21.

I just replaced a GTX 1060 with a Quadro P2000, so the resource cost for additional streams is very limited with hardware encoding enabled for both recordings and all three streams. Makes me wonder whether we didn't do this before as the price premium is almost negligible.
daniel514  
#10 Posted : Saturday, October 27, 2018 11:48:33 PM(UTC)
daniel514

Rank: Advanced Member

Groups: Registered
Joined: 2/26/2014(UTC)
Posts: 81
Canada
Location: Canada

Thanks: 18 times
Was thanked: 15 time(s) in 15 post(s)
Originally Posted by: niemi Go to Quoted Post
Thanks Richard, Guillaume and Martin for clarifying.

Independent streams is the single biggest improvement for us in vMix 21.

I just replaced a GTX 1060 with a Quadro P2000, so the resource cost for additional streams is very limited with hardware encoding enabled for both recordings and all three streams. Makes me wonder whether we didn't do this before as the price premium is almost negligible.


I am looking to replace my 1060 with a P2000 too!
Are you satisfied with it? How many NVENC 1080 simultaneous records you get out of it?

Thanks

DWAM  
#11 Posted : Sunday, October 28, 2018 3:20:05 AM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Quote:
How many NVENC 1080 simultaneous records you get out of it?

It's not possible to say a number as it will allow as many simultaneous encodes as possible depending on the actual load of the card. So it will vary according to what's the card's used for at the same moment.

Guillaume
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.