Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > High Efficiency Video Coding (HEVC)

Reply
 
Thread Tools Search this Thread Display Modes
Old 16th September 2019, 05:22   #1  |  Link
ZeroCool22
Registered User
 
ZeroCool22's Avatar
 
Join Date: Sep 2019
Posts: 20
A good config for StaxRip 2019?

I just found this awesome converter and i was looking for a good guide/settings for h265 Nvenc, i searched trough all places and i only found outdated configs, someone could do/share a updated config please?

Thx in advance!

My GPU: MSI 1080 TI Gaming X
Nvidia Drivers: 436.48

These are the settings i usually use (for 1080p encodes):

Quote:
--cqp 21 --codec h265 --preset quality --profile main10 --output-depth 10 --aq --ref 16 --gop-len 600 --lookahead 32 --strict-gop --cuda-schedule auto --vpp-edgelevel strength=10,threshold=15,black=5,white=1 --vpp-deband --mv-precision q-pel --cabac

Last edited by ZeroCool22; 6th October 2019 at 05:43.
ZeroCool22 is offline   Reply With Quote
Old 17th September 2019, 02:41   #2  |  Link
videoh
Useful n00b
 
Join Date: Jul 2014
Posts: 1,667
What do you mean by outdated and how would we know if an "updated config" is good enough for you?
videoh is offline   Reply With Quote
Old 17th September 2019, 18:27   #3  |  Link
Forteen88
Herr
 
Join Date: Apr 2009
Location: North Europe
Posts: 556
I don't know much about NVENC, but I know that for quality with H.265, you should be sure to set "Depth" to 10-Bit (and Profile "Main 10", I think), because most GPU:s can decode H.265-video at 10-bit.
16 B-Frames and 6 "Ref frames" should be set too (maybe only 5 "Ref frames" for 4K resolution or higher, to keep GPU-decoding compatibility).
Forteen88 is offline   Reply With Quote
Old 23rd September 2019, 22:56   #4  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,988
If you must use NVENC then you should have a Turing generation GPU. This generation has pretty good encoding quality (for a hardware encoder, anyway).
Blue_MiSfit is offline   Reply With Quote
Old 24th September 2019, 20:33   #5  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,750
Quote:
Originally Posted by Forteen88 View Post
I don't know much about NVENC, but I know that for quality with H.265, you should be sure to set "Depth" to 10-Bit (and Profile "Main 10", I think), because most GPU:s can decode H.265-video at 10-bit.
16 B-Frames and 6 "Ref frames" should be set too (maybe only 5 "Ref frames" for 4K resolution or higher, to keep GPU-decoding compatibility).
Do you have any data showing 16 b-frames as being helpful? In past HW encoders, too many could actually make things worse if the I/P/B frame type decision logic wasn't great.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 26th September 2019, 22:16   #6  |  Link
Forteen88
Herr
 
Join Date: Apr 2009
Location: North Europe
Posts: 556
Quote:
Originally Posted by benwaggoner View Post
Do you have any data showing 16 b-frames as being helpful? In past HW encoders, too many could actually make things worse if the I/P/B frame type decision logic wasn't great.
No, I don't have actual data, it's just that in theory it should be better to allow for more b-frames.
OK, it's better to test that.
Forteen88 is offline   Reply With Quote
Old 6th October 2019, 04:39   #7  |  Link
ZeroCool22
Registered User
 
ZeroCool22's Avatar
 
Join Date: Sep 2019
Posts: 20
Quote:
Originally Posted by Forteen88 View Post
I don't know much about NVENC, but I know that for quality with H.265, you should be sure to set "Depth" to 10-Bit (and Profile "Main 10", I think), because most GPU:s can decode H.265-video at 10-bit.
16 B-Frames and 6 "Ref frames" should be set too (maybe only 5 "Ref frames" for 4K resolution or higher, to keep GPU-decoding compatibility).
Hey thx for the answer, yes, infact i always use Main 10 & 10 Bits for the encodes. I would like to try 12 Bits but seems like Staxrip can't do it yet for H265.
ZeroCool22 is offline   Reply With Quote
Old 6th October 2019, 05:38   #8  |  Link
ZeroCool22
Registered User
 
ZeroCool22's Avatar
 
Join Date: Sep 2019
Posts: 20
Quote:
Originally Posted by videoh View Post
What do you mean by outdated and how would we know if an "updated config" is good enough for you?
By outdated, i mean there are settings guides that are old and don't have all the new options of the lasts Staxrip versions:

For ex. searching for guides, i found:

https://www.youtube.com/watch?v=2OselaN9v9k

https://forum.videohelp.com/threads/...-%28Staxrip%29

https://www.google.com.ar/search?sxs...10.bKn_F5ZFw8c

But no one guide for Staxrip for H265 on 2019.
ZeroCool22 is offline   Reply With Quote
Old 6th October 2019, 05:40   #9  |  Link
ZeroCool22
Registered User
 
ZeroCool22's Avatar
 
Join Date: Sep 2019
Posts: 20
BTW, someone know if there is some command to be able to endoce with H265 at 12 Bits with Staxrip?
ZeroCool22 is offline   Reply With Quote
Old 7th October 2019, 05:54   #10  |  Link
RanmaCanada
Registered User
 
Join Date: May 2009
Posts: 328
Quote:
Originally Posted by ZeroCool22 View Post
BTW, someone know if there is some command to be able to endoce with H265 at 12 Bits with Staxrip?
Pick x265 as you encoder. In the encoder window, go into options, Basic, and bit depth.

You need to use x265 as nvenc does not support 12 bit. There is no hardware support for 12 bit outside of PC, so any other devices you attempt to play your encodes on will use software rendering, which will typically bring them to their knees.
RanmaCanada is offline   Reply With Quote
Old 7th October 2019, 07:23   #11  |  Link
ZeroCool22
Registered User
 
ZeroCool22's Avatar
 
Join Date: Sep 2019
Posts: 20
Quote:
Originally Posted by RanmaCanada View Post
Pick x265 as you encoder. In the encoder window, go into options, Basic, and bit depth.

You need to use x265 as nvenc does not support 12 bit. There is no hardware support for 12 bit outside of PC, so any other devices you attempt to play your encodes on will use software rendering, which will typically bring them to their knees.
x265 will take hours to encode, i will stick with H265 at 10 Bits, using the GPU, but thx.

Last edited by ZeroCool22; 7th October 2019 at 07:51.
ZeroCool22 is offline   Reply With Quote
Old 7th October 2019, 14:27   #12  |  Link
RanmaCanada
Registered User
 
Join Date: May 2009
Posts: 328
Quote:
Originally Posted by ZeroCool22 View Post
x265 will take hours to encode, i will stick with H265 at 10 Bits, using the GPU, but thx.
Ok, so you want garbage/bloated encodes. Gotcha!
RanmaCanada is offline   Reply With Quote
Old 20th December 2019, 13:47   #13  |  Link
Santojob
Registered User
 
Join Date: Mar 2017
Posts: 7
Using H265 with Nvenc is a quick way to code at a fairly acceptable quality. New possibilities for improvement are being implemented with the new versions of NVENC. Is there an expert who can tell us what new parameters to include to improve?

My parameters:

Quote:
--vbrhq 6000 --codec h265 --preset quality --profile main10 --tier high --level 5.1 --output-depth 10 --aq --lookahead 32 --nonrefp --cuda-schedule auto --vpp-edgelevel --vpp-deband
Santojob is offline   Reply With Quote
Old 21st December 2019, 16:15   #14  |  Link
Forteen88
Herr
 
Join Date: Apr 2009
Location: North Europe
Posts: 556
Quote:
Originally Posted by RanmaCanada View Post
Ok, so you want garbage/bloated encodes. Gotcha!
Not being able to GPU-decode 12bits-encodes is crappy too though, so I'd stick with 10bit x265-encodes.
EDIT: Oh, I assumed that "using the GPU" meant GPU-decoding, not GPU-encoding.

Last edited by Forteen88; 25th January 2020 at 16:23.
Forteen88 is offline   Reply With Quote
Old 15th January 2020, 03:57   #15  |  Link
craigpro
Registered User
 
Join Date: Feb 2003
Posts: 68
from following the suggested settings at http://aerobytepc.com/index-html/nvi...ware-encoding/ , my command line output looks like this:

--cqp 18:20:22 --codec h265 --preset quality --output-depth 10 --qp-init 20 --qp-max 22 --qp-min 18 --aq --aq-temporal --gop-len 240 --lookahead 16 --slices 2 --multiref-l0 4 --multiref-l1 4 --strict-gop --nonrefp --weightp
craigpro is offline   Reply With Quote
Old 16th January 2020, 23:30   #16  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,750
Quote:
Originally Posted by Forteen88 View Post
Not being able to GPU-decode 12bits-encodes is crappy too though, so I'd stick with 10bit x265-encodes.
12-bit decode is supported in the last generation or two of NVidia GPUs, IIRC.

A full "Native" version of Dolby Vision would be 12-bit, although I'm not sure how much materially better that would be over Profile 5 with its dynamic coding ranges.

Sent from my SM-T837V using Tapatalk
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Reply

Tags
h365, nvenc, staxrip

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 14:11.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.