Log in

View Full Version : StaxRip


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 [55] 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101

foxace
4th November 2017, 16:47
Hello,
how to convert 4k HDR movies with NVencC and preserve the HDR metadata ?
thanks for help me

Hello

Can someone help me please ?

thank

Yanak
5th November 2017, 12:33
Hello

Can someone help me please ?

thank
Hi, i don't have HDR sources nor the display needed for HDR and don't use Nvencc either but last test version of Staxrip added an option to keep HDR metaData :

new: option added to the options dialog on the video tab to import VUI metadata like HDR from the source file to the video encoder, this is applied when the source loads like before and since this build additionally everytime a video encoder profile is loaded

https://s14.postimg.org/fmruk65up/96726920171105122707.png


This 1.7.0.4 test version of Staxrip can be found here : https://github.com/stax76/staxrip/blob/master/changelog.md

Can't help more than this sorry :/

foxace
5th November 2017, 14:37
thanks for you answer, but this do not work on NvenCc.

Yanak
5th November 2017, 15:34
Arg :/
Not using HDR or having Nvidia GPU i could not even test, Stax is probably the only one that could answer this then, he did not login since a couple of weeks i think, hope he's fine tho.

IbrahimKh
9th November 2017, 03:44
how to enable this demux option on newest version?
https://s1.postimg.org/4edb7kr5zj/jjj.png (https://postimages.org/)

Yanak
9th November 2017, 19:34
Hi, Not sure if it's what you want but should be this, in Options :

https://s14.postimg.org/lmflo9tch/76565420171109193126.png

(tied to each templates so you will need to save the template after setting this option to be set for the next times too I think)

foxace
12th November 2017, 12:40
for the HDR with nvencc
https://github.com/SK-Hardwired/nv_hevc_hdr_patcher

this work very well

ircopdd
15th November 2017, 16:35
for the HDR with nvencc
https://github.com/SK-Hardwired/nv_hevc_hdr_patcher

this work very well

how to get HDR metadata?

foxace
15th November 2017, 17:54
with media info

ircopdd
17th November 2017, 10:31
with media info

MasteringDisplay_ColorPrimaries :

R: x=0.680000 y=0.320000, G: x=0.265000 y=0.690000, B: x=0.150000 y=0.060000, White point: x=0.312700 y=0.329000

I do not know what to do

G(0.265000,0.690000) ???

sneaker_ger
17th November 2017, 13:27
You have to multiply with specific factors to get from one value to the other. You can find them in the x265 documentation along with an example:
http://x265.readthedocs.io/en/default/cli.html#cmdoption-master-display

0.265 / 0.00002 = 13250
0.69 / 0.00002 = 34500

BTW:
1.7.0.4 unstable test build

new: option added to the options dialog on the video tab to import VUI metadata like HDR from the source file to the video encoder, this is applied when the source loads like before and since this build additionally everytime a video encoder profile is loaded
https://github.com/stax76/staxrip/blob/master/changelog.md

ircopdd
18th November 2017, 03:50
You have to multiply with specific factors to get from one value to the other. You can find them in the x265 documentation along with an example:
http://x265.readthedocs.io/en/default/cli.html#cmdoption-master-display

0.265 / 0.00002 = 13250
0.69 / 0.00002 = 34500

BTW:

https://github.com/stax76/staxrip/blob/master/changelog.md


thanks you

but VUI metadata no work for nvenc

Magik Mark
18th November 2017, 10:33
Hi Stax!

Any update on HDR -> SDR conversion script?

Zetti
19th November 2017, 15:10
eac3to v3.33 is released.

MKVToolNix v18.0.0 is released.

Zetti
20th November 2017, 08:37
eac3to v3.34 is released.

Cyberavater
21st November 2017, 19:51
@stax76 Replace ur f3kdb plugin with this one
https://onedrive.live.com/?authkey=%21AJgT9vilE6ClKVU&cid=C1FACEB7B51DAE61&id=C1FACEB7B51DAE61%21417581&parId=root&action=locate
the one u added doesn't work check it if ya like.
Also Plz add FineDehalo filter I'm having problem adding it manually.

craigpro
22nd November 2017, 10:33
hi all, been offline for a while due to my chipset 1155 motherboard failing and couldn't afford a replacement for a while.. anyways - is there still the issue with the recent nvidia driver and nvencc encoding? If yes, which previous nvidia driver should I downgrade to please? thank you.

daberti
22nd November 2017, 12:43
I'm using StaxRip 1.7 and I'm investigating Intel H264 VBR encoding, with max size being assigned.
On the GUI appear Quality and Compressibility, both at 0, point is: how to run compressibility check?

TIA

JohnLai
23rd November 2017, 06:18
hi all, been offline for a while due to my chipset 1155 motherboard failing and couldn't afford a replacement for a while.. anyways - is there still the issue with the recent nvidia driver and nvencc encoding? If yes, which previous nvidia driver should I downgrade to please? thank you.

Pascal = weighted-P is not working with driver 387.92 and current 388.13

Get drivers older than 387.92 if you want weighted-P for HEVC encoding.

craigpro
24th November 2017, 07:04
Pascal = weighted-P is not working with driver 387.92 and current 388.13

Get drivers older than 387.92 if you want weighted-P for HEVC encoding.

thanks JohnLai! I'll try 385.69

from memory the weighted option resulted in a lot smaller file size but I've been without a PC for a month so I've forgotten what I was testing.

EDIT: yes 385.69 works fine. I'd need to do testing to see the file difference with the weighted-p option but from memory it was about 10%?

JohnLai
24th November 2017, 08:44
thanks JohnLai! I'll try 385.69

from memory the weighted option resulted in a lot smaller file size but I've been without a PC for a month so I've forgotten what I was testing.

Don't forget to enable adaptive quantization and lookahead too.

Another thing about NVENC Weight.P..........if you turn it on for H264 encoding, B-Frame will be disabled. Not a good idea.

Only enable W.P. for HEVC encoding because NVENC doesn't support B-Frame for HEVC.

Malphie
24th November 2017, 22:53
Hi,

this is a support thread for StaxRip, when I'm active it's OK to post bugs and feature requests here, sometimes I'm offline for weeks or even months, in that case it's better to use the github issue tracker to ensure things don't get lost.

The official website of StaxRip is on GitHub: https://github.com/stax76/staxrip

Are there any merge code for stax? Merge files option doesn't work for me.

ENiGMA59
25th November 2017, 02:35
Hi Stax76 help me please the solution ? thanx in advance :p


Error ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.4 (1.7.0.4)

ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.4 failed with exit code: 1 (0x1)

The exit code might be a system error code: STATUS_WAIT_1

The exit code might be a system error code: Fonction incorrecte.


------------- ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.4 -------------

"C:\Program Files (x86)\Staxrip\Apps\ffmpeg\ffmpeg.exe" -i "C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23.ts" -c copy -map 0 -ignore_unknown -sn -y -hide_banner "C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23_temp\24.11.2017.12h00-NUMERO 23.mkv"

[h264 @ 0000012b27e23c60] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0000012b27e23c60] Increasing reorder buffer to 3
[mpegts @ 0000012b26636960] start time for stream 4 is not set in estimate_timings_from_pts
[mpegts @ 0000012b26636960] start time for stream 5 is not set in estimate_timings_from_pts
Input #0, mpegts, from 'C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23.ts':
Duration: 00:43:36.68, start: 0.280000, bitrate: 5062 kb/s
Program 2565
Stream #0:0[0x208]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 24.83 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x212](fra): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 128 kb/s
Stream #0:2[0x213](qaa): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 128 kb/s
Stream #0:3[0x214](qad): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 96 kb/s
Stream #0:4[0x226](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
Stream #0:5[0x227](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Output #0, matroska, to 'C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23_temp\24.11.2017.12h00-NUMERO 23.mkv':
Metadata:
encoder : Lavf57.71.100
Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 24.83 fps, 25 tbr, 1k tbn, 90k tbc
Stream #0:1(fra): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 128 kb/s
Stream #0:2(qaa): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 128 kb/s
Stream #0:3(qad): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 96 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)
Stream #0:3 -> #0:3 (copy)
Press [q] to stop, [?] for help
[matroska @ 0000012b27e29c40] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[matroska @ 0000012b27e29c40] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument
video:70kB audio:7kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Conversion failed!



StaxRip.ErrorAbortException: ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.4 failed with exit code: 1 (0x1)

The exit code might be a system error code: STATUS_WAIT_1

The exit code might be a system error code: Fonction incorrecte.


------------- ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.4 -------------

"C:\Program Files (x86)\Staxrip\Apps\ffmpeg\ffmpeg.exe" -i "C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23.ts" -c copy -map 0 -ignore_unknown -sn -y -hide_banner "C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23_temp\24.11.2017.12h00-NUMERO 23.mkv"

[h264 @ 0000012b27e23c60] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0000012b27e23c60] Increasing reorder buffer to 3
[mpegts @ 0000012b26636960] start time for stream 4 is not set in estimate_timings_from_pts
[mpegts @ 0000012b26636960] start time for stream 5 is not set in estimate_timings_from_pts
Input #0, mpegts, from 'C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23.ts':
Duration: 00:43:36.68, start: 0.280000, bitrate: 5062 kb/s
Program 2565
Stream #0:0[0x208]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 24.83 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x212](fra): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 128 kb/s
Stream #0:2[0x213](qaa): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 128 kb/s
Stream #0:3[0x214](qad): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 96 kb/s
Stream #0:4[0x226](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
Stream #0:5[0x227](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Output #0, matroska, to 'C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23_temp\24.11.2017.12h00-NUMERO 23.mkv':
Metadata:
encoder : Lavf57.71.100
Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 24.83 fps, 25 tbr, 1k tbn, 90k tbc
Stream #0:1(fra): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 128 kb/s
Stream #0:2(qaa): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 128 kb/s
Stream #0:3(qad): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 96 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)
Stream #0:3 -> #0:3 (copy)
Press [q] to stop, [?] for help
[matroska @ 0000012b27e29c40] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[matroska @ 0000012b27e29c40] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument
video:70kB audio:7kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Conversion failed!


à StaxRip.Proc.Start() dans D:\Projekte\VS\VB\StaxRip\General\Proc.vb:ligne 338
à StaxRip.CommandLineDemuxer.Run(Project proj) dans D:\Projekte\VS\VB\StaxRip\General\Demux.vb:ligne 207
à StaxRip.MainForm.Demux() dans D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:ligne 3114
à StaxRip.MainForm.OpenVideoSourceFiles(IEnumerable`1 files, Boolean isEncoding) dans D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:ligne 1977

craigpro
26th November 2017, 12:55
Don't forget to enable adaptive quantization and lookahead too.

Another thing about NVENC Weight.P..........if you turn it on for H264 encoding, B-Frame will be disabled. Not a good idea.

Only enable W.P. for HEVC encoding because NVENC doesn't support B-Frame for HEVC.

yeah I'm encoding with HEVC - I did some testing and with AQ enabled the file size was between 5-10% larger than AQ disabled.

WP is enabled and my command line is like this:

--cqp 18:20:22 --codec h265 --preset quality --output-depth 10 --weightp --lookahead 16 --transfer auto

sneaker_ger
26th November 2017, 13:40
yeah I'm encoding with HEVC - I did some testing and with AQ enabled the file size was between 5-10% larger than AQ disabled.
That doesn't really tell you much. File size might can be 5%-10% bigger but quality may be 10%-15% better (or not). You need to compare same file size with your eyes.

JohnLai
26th November 2017, 15:06
yeah I'm encoding with HEVC - I did some testing and with AQ enabled the file size was between 5-10% larger than AQ disabled.

WP is enabled and my command line is like this:

--cqp 18:20:22 --codec h265 --preset quality --output-depth 10 --weightp --lookahead 16 --transfer auto

Just enable AQ, the quality improvement and extra file size is worth it.

I noticed you use CQP mode, why not pseudo CRF mode? (It is VBR-Target Quality mode, but I have difficulty in explaining it)

Take a look on the setting here
https://i.imgur.com/k9Shlwr.png

You will notice there is less "banding" or blockiness on scene with dark background compared to CQP mode.
Trust me on this. :D or.....test it yourself.


Edit: Because many people complained about weight-p being broken with latest nvidia driver........rigaya@nvencc developer decided to disable weightp option temporary. https://github.com/rigaya/NVEnc/releases/tag/3.25 Thus...stick with version 3.24........

craigpro
26th November 2017, 16:03
Just enable AQ, the quality improvement and extra file size is worth it.

I noticed you use CQP mode, why not pseudo CRF mode? (It is VBR-Target Quality mode, but I have difficulty in explaining it)

Take a look on the setting here
https://i.imgur.com/k9Shlwr.png

You will notice there is less "banding" or blockiness on scene with dark background compared to CQP mode.
Trust me on this. :D or.....test it yourself.


Edit: Because many people complained about weight-p being broken with latest nvidia driver........rigaya@nvencc developer decided to disable weightp option temporary. https://github.com/rigaya/NVEnc/releases/tag/3.25 Thus...stick with version 3.24........

will give your suggested settings a try, I use the staxrip compare function - save a few frames from the same timeframe in source and output file, then do a direct pixel comparison between the two to see how much noise / error / garbage is in the output file.

I'm re-encoding my NAS x264 collection anyways, purpose was to maintain similar 720p quality for much smaller file size.

yes, I know. I am the devil.

EDIT: cannot try your settings as I get an error when processing:

NVEncC64.exe --vbr 24329 --codec h265 --preset quality --level 4.1 --output-depth 10 --weightp --lookahead 32 --max-bitrate 24329 --vbr-quality 27 --aq --sar 255:191 --transfer auto -i "Block.mkv" -o "Block_out.h265"

Failed to Initialize the encoder
.: 8 (NVENC indicates that one or more of the parameter passed to the API call is invalid.)

Malphie
27th November 2017, 20:25
guys i want to merge 2 videos but merge files option doesn't work, it gives error. are there any merge code?

JohnLai
28th November 2017, 03:46
EDIT: cannot try your settings as I get an error when processing:

NVEncC64.exe --vbr 24329 --codec h265 --preset quality --level 4.1 --output-depth 10 --weightp --lookahead 32 --max-bitrate 24329 --vbr-quality 27 --aq --sar 255:191 --transfer auto -i "Block.mkv" -o "Block_out.h265"

Failed to Initialize the encoder
.: 8 (NVENC indicates that one or more of the parameter passed to the API call is invalid.)


Hmm? You didn't follow the settings exactly.
-.- Where is Initial QP = 1 ? (This one is mandatory as we don't dont want set min QP contraint at default 20)
Nvencc max bitrate for L4.1 is 17500kbps.
For L5.1, max bitrate is 38400kbps

EDIT: You should get something like below. Let us modify it a bit to L5.1 as per BD-ROM-AV-WhitePaper_HEVC.
NVEncC64.exe --vbr 38400 --codec h265 --preset quality --level 5.1 --output-depth 10 --weightp --ref 5 --lookahead 32 --qp-init 1 --max-bitrate 38400 --vbr-quality 27 --aq --sar 12:11 -i -o %source_dir%%source_name%_temp\_out.h265

craigpro
29th November 2017, 13:11
Hmm? You didn't follow the settings exactly.

EDIT: You should get something like below. Let us modify it a bit to L5.1 as per BD-ROM-AV-WhitePaper_HEVC.
NVEncC64.exe --vbr 38400 --codec h265 --preset quality --level 5.1 --output-depth 10 --weightp --ref 5 --lookahead 32 --qp-init 1 --max-bitrate 38400 --vbr-quality 27 --aq --sar 12:11 -i -o %source_dir%%source_name%_temp\_out.h265

Many thanks JohnLai!! I haven't had time to conduct in-depth tests as yet but your settings result in about another 10% file size saving over my settings.

Both your and my settings however result in a slight loss of red, particularly noticeable in skin tones WITH static images side by side for comparison. I doubt very much it'd be noticed on a tv watching the show.. at worst the video may look a little ''cool''.

I'm hoping to have time this weekend to do some frame by frame comparisons (staxrip video comparison tool is awesome!) and report back.

JohnLai
29th November 2017, 14:56
Many thanks JohnLai!! I haven't had time to conduct in-depth tests as yet but your settings result in about another 10% file size saving over my settings.

Both your and my settings however result in a slight loss of red, particularly noticeable in skin tones WITH static images side by side for comparison. I doubt very much it'd be noticed on a tv watching the show.. at worst the video may look a little ''cool''.

I'm hoping to have time this weekend to do some frame by frame comparisons (staxrip video comparison tool is awesome!) and report back.

Chroma subsampling issue ~.~
Generation loss = can't do much about this.

EDIT: Consider using "--profile main444" to minimize chroma subsampling generation loss. But your output file size gonna...be a trouble....~.~
EDIT2: You can read more about it at https://cloudinary.com/blog/why_jpeg_is_like_a_photocopier

Crash82
29th November 2017, 21:22
I need some help I've been searching but I'm not sure exactly what I'm looking for or if it's even possible to do, so i hope there is some smart people here who can help me:)

What I'm trying to do is when i'm muxing I want to have a name on
the audio track with the type of audio it is and channels has and what language it is so I know which one is what.

Normally I see it like this http://prntscr.com/hgypb8

But I wanted more like this
Example

TrueHD 5.1 [Language]
DTS-HD MA 6.1 [Language]
DTS 5.1 [Language]
AC3 2.0 [Language]
and so on

I want to hear if this possible to do it automatically instead of typing it manually
if it is possible how do I do it.

Any help is appreciated

hajj_3
30th November 2017, 09:39
x265 v2.6 is out.

VincAlastor
4th December 2017, 12:06
By setting DGSourceNV as Source and hardware cropping filter staxrip's auto crop borders feature uses the wrong values when source is codes in 1088p but displayed in 1080p. This also deactivates the forcing output mod 4 rule for DGDecNV.

How can I fix this? :thanks:

Marban
4th December 2017, 23:11
HDR to SDR is very bad, something make it wrong.

http://fs5.directupload.net/images/171204/gyfvj6r7.jpg (http://www.directupload.net)

is it right?

sneaker_ger
4th December 2017, 23:17
Those options do not convert HDR to SDR. They only tell x264 what flags to set in the bitstream (players read the flags in order to know how to interpret/display the content). The HDR->SDR conversion has to be done in VapourSynth/AviSynth.

Marban
5th December 2017, 00:52
ok, thanks.

How does it work with VapourSynth/AviSynth?

Vesdaris
6th December 2017, 08:04
Hey guys. What settings would you recommend using for nvenc hevc for max quality? There are so many and when I try to experiment (like enabling deband, for instance) I usually get errors ;)

So I was wondering if someone would be kind enough to post them .

I've got gtx 1060.

Thanx in advance

PS Should I use these?

https://imgur.com/k9Shlwr

Should I select VBR HQ instead of VBR? What about cabac?

PPS It seems --weightp is still broken in the latest nvidia drivers ;( It makes my encoding process stop at random %

craigpro
6th December 2017, 13:39
Hey guys. What settings would you recommend using for nvenc hevc for max quality?

PS Should I use these?

https://imgur.com/k9Shlwr

Should I select VBR HQ instead of VBR? What about cabac?

PPS It seems --weightp is still broken in the latest nvidia drivers ;( It makes my encoding process stop at random %

I'm using JohnLai's settings and I needed to downgrade my nvidia drivers to version 385.69 for -weightp option to work. I also have a GTX 1060 6GB GPU (intel I5-2500K CPU).

JohnLai
6th December 2017, 13:58
Hey guys. What settings would you recommend using for nvenc hevc for max quality? There are so many and when I try to experiment (like enabling deband, for instance) I usually get errors ;)

So I was wondering if someone would be kind enough to post them .

I've got gtx 1060.

Thanx in advance

PS Should I use these?

https://imgur.com/k9Shlwr

Should I select VBR HQ instead of VBR? What about cabac?

PPS It seems --weightp is still broken in the latest nvidia drivers ;( It makes my encoding process stop at random %

Dont select VBR HQ with the CQ mode setting, otherwise, you will get full 17500kbps or 38400kbps all the way and ended up with huge file size.

CQ mode only work with standard VBR.


edit: CABAC is the only entropy encoder method that is allowed in HEVC per standard. What with the question? For H264 encoding, nvenc will use CABAC as default

Vesdaris
7th December 2017, 09:16
Dont select VBR HQ with the CQ mode setting, otherwise, you will get full 17500kbps or 38400kbps all the way and ended up with huge file size.

CQ mode only work with standard VBR.


I use the settings like on the image I posted above (found it in this thread), only with VBR HQ instead of VBR and so far it's been working fine.No huge files\bitrates.

davidm71
9th December 2017, 23:34
Using Staxrip and NVenc and it says my Video Engine is at 97% load on my GTX 1060 but my fans aren't spinning on my video card! Is this normal??

Max temps in the low 60's. Also like the last few you asked what are your 2500 bps quality settings? Staxrip doesn't have a 2-pass mode?

Thanks

gonca
10th December 2017, 00:51
Trying to process a 10 bit video with StaxRip and getting an error
I'm sure its just user caused, so if someone can point out my error it would be appreciated.
Error
avs: invalid colorformat.
Failed to open input file.

AVS script
LoadPlugin("C:\Program Files (Portable)\dgdecnv\x64 Binaries\DGDecodeNV.dll")
DGSource("I:\xxxxx.dgi", fieldop=0, fulldepth=true)

CMD line
"C:\Program Files (Portable)\StaxRip\Apps\NVEnc\NVEncC64.exe" --vbrhq 38400 --codec h265 --preset quality --level 5.1 --output-depth 10 --weightp --ref 5 --gop-len 24 --lookahead 32 --qp-init 1 --max-bitrate 38400 --vbr-quality 25 --aq --cuda-schedule auto --colormatrix bt2020nc --colorprim bt2020 --transfer bt2020-10 --mv-precision q-pel --cabac -i -o W:\TEMP\%source_name%_temp\_out.h265

Thank you

craigpro
10th December 2017, 04:29
nvidia drivers 388.13 still have API error with nvencc

JohnLai
10th December 2017, 05:14
I use the settings like on the image I posted above (found it in this thread), only with VBR HQ instead of VBR and so far it's been working fine.No huge files\bitrates.

I got a feeling that your Initial QP ain't set to 1.........

Using Staxrip and NVenc and it says my Video Engine is at 97% load on my GTX 1060 but my fans aren't spinning on my video card! Is this normal??

Max temps in the low 60's. Also like the last few you asked what are your 2500 bps quality settings? Staxrip doesn't have a 2-pass mode?

Thanks

=.= Let just say NVENCC two pass isn't what you think it is........

MSI GTX 1060? I read it only start to spin the fan once it reach 62'C. There is one manufacturer who set the fan to spin at 65'C too, but I can't remember which. To be sure, try manually adjust the fan speed to verify if it is fan hardware issue. Can't discount the possibility.

Because nvenc chip (pascal) doesn't support B-Frame, depending on resolution/framerate/scene, 2500kbps might be a bad or good idea.....

2500kbps with DVD resolution is fine.
720p 30fps is still acceptable.
1080p 30fps with 2500kbps? Unless it is animation or the content has a lot of static scene......don't bother.

General rule: Follow https://support.google.com/youtube/answer/1722171?hl=en youtube bitrate recommendation, but with a bit twist. Youtube bitrate recommendation is for H264. Since you are using HEVC, well, divide those values by 2? However, since Nvenc chip doesn't support b-frame, so....better set 60-70% of youtube recommended bitrates/resolution/framerate.


nvidia drivers 388.13 still have API error with nvencc

Yup...didn't I type that version in the screenshot? As far as nvidia concerned, it is fixed in their bug report database. I kinda lazy to report/inform the issue still exists. Anyone wanna inform nvidia instead?

impei
10th December 2017, 09:47
=.= Let just say NVENCC two pass isn't what you think it is........

How is it different than x264 two pass?

JohnLai
10th December 2017, 11:13
How is it different than x264 two pass?


Copy paste from afterdawn and Nvidia documentation

x265/x264 multi-pass
The video encoder analyzes the video many times from the beginning to the end before the actual encoding process.

Nvenc
In 2-pass rate control modes, NVENC estimates the complexity of the frame to be encoded and determines bit distribution across the frame in the first pass. In the second pass, NVENC actually encodes macroblocks in the frame using the distribution determined in the first pass.

NikosD
10th December 2017, 13:01
Using Staxrip and NVenc and it says my Video Engine is at 97% load on my GTX 1060 but my fans aren't spinning on my video card! Is this normal??

Max temps in the low 60's.


The video engine chip inside the GPU, is a very small piece of hardware compared to the whole GPU chip.

So, even after using that chip to 100% for hours, don't expect to push GPU Temps high enough to trigger the spinning of fans, especially in winter and inside a cool case.

The behavior of your card is normal.

videoh
12th December 2017, 14:57
Trying to process a 10 bit video with StaxRip and getting an error I'm sure its just user caused, so if someone can point out my error it would be appreciated.

Error:

avs: invalid colorformat.
Failed to open input file.
NVEncC supports only 8 bit for AVS input. If you must use DGSource then you can use VPY input.

Also, it would be worth asking Rigaya if he can support full depth for AVS input.

gonca
12th December 2017, 22:51
NVEncC supports only 8 bit for AVS input. If you must use DGSource then you can use VPY input.

Also, it would be worth asking Rigaya if he can support full depth for AVS input.

Yes, I must use DGSource