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
grantcoll  
#1 Posted : Tuesday, August 10, 2021 1:43:27 PM(UTC)
grantcoll

Rank: Advanced Member

Groups: Registered
Joined: 10/7/2017(UTC)
Posts: 94
Location: Hamilton

Thanks: 21 times
Was thanked: 10 time(s) in 9 post(s)
I have been comparing quality between hw and sw encoding, and find that the quality is better when I use Software Encoder within vMix. The tradeoff is of course, extra CPU usage. 

The comparison is with all settings the same, and just tick and then untick Hardware Encoder. It is more obvious at medium bitrates, eg 2mbps. 1280 x 720. Profile: High, Level 3.1, Preset veryfast or medium.

So my choice is to use the Software encoder for streaming, and Hardware encoder for recording. It would be nice to use the second hardware encoder for streaming as well, but the quality makes it less desirable. 

Anyone out there notice this ? and find a solution for the Hardware Encoding performance.

Of interest is that it seems the Software encoder maintains a steady mildly fluctuating bitrate, that softens the background movement and makes for pleasurable viewing, whereas the Hardware encoder has greater fluctuation of the bitrate up and down, and background filling in is patchy, and slow to update, particularly noticeable when movement comes to a stop and the background then fills in. The following image shows two stream periods. The first part on the left is the hardware encoder streaming, then I stop stream, untick hardware and start stream (no other changes). The Software encoding definitely shows more bitrate, closer to the 2000.

Network Activity hw and sw encoder

Interested in other peoples observations.
MartLeib  
#2 Posted : Tuesday, August 10, 2021 2:06:11 PM(UTC)
MartLeib

Rank: Advanced Member

Groups: Registered
Joined: 2/23/2017(UTC)
Posts: 189
Estonia

Thanks: 1 times
Was thanked: 52 time(s) in 42 post(s)
It is a known fact that CPU encoding (x264) has better quality than GPU (NVENC)
NiBTour  
#3 Posted : Tuesday, August 17, 2021 7:01:23 PM(UTC)
NiBTour

Rank: Advanced Member

Groups: Registered
Joined: 3/28/2016(UTC)
Posts: 159
Man
United States
Location: SACRAMENTO

Thanks: 5 times
Was thanked: 19 time(s) in 18 post(s)
Originally Posted by: MartLeib Go to Quoted Post
It is a known fact that CPU encoding (x264) has better quality than GPU (NVENC)


Not necessarily. This was very much true in the past but ever since the RTX line or Turing NVENC so RTX 2080, 2070, 2060 and the GTX 1660 and up all have a newer NVENC chip that out performs x264 or at least measures up to x264 at a medium preset. So basically if you have a RTX card or higher or the GTX 1660 card you should use hardware encoding. If you have the older GTX cards or pascal NVENC then use x264.

@grantcoll what GPU do you have? Also note that the RTX\GTX line will only allow 3 hardware encoding as the Quadro RTX and up cards will allow for unlimited (resource limited only) natively. So it all depends on your hardware. Content can play a role as well. but if you have a RTX or better card then NVENC all the way.

-King
grantcoll  
#4 Posted : Tuesday, August 17, 2021 8:43:30 PM(UTC)
grantcoll

Rank: Advanced Member

Groups: Registered
Joined: 10/7/2017(UTC)
Posts: 94
Location: Hamilton

Thanks: 21 times
Was thanked: 10 time(s) in 9 post(s)
I have RTX 2060. Have done an event since finding the sw encoder is better, and it does seem to be better.
hellokitty  
#5 Posted : Sunday, August 22, 2021 9:48:46 PM(UTC)
hellokitty

Rank: Advanced Member

Groups: Registered
Joined: 8/29/2015(UTC)
Posts: 136
Location: Seattle Wa

Thanks: 16 times
Was thanked: 14 time(s) in 13 post(s)
what cpu/setup you have? i think software is better also.
grantcoll  
#6 Posted : Monday, August 23, 2021 8:47:01 PM(UTC)
grantcoll

Rank: Advanced Member

Groups: Registered
Joined: 10/7/2017(UTC)
Posts: 94
Location: Hamilton

Thanks: 21 times
Was thanked: 10 time(s) in 9 post(s)
9th Gen i7
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.