Best settings for h265 nvenc small files

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
kata40
Posts: 20
Joined: Sun Nov 25, 2018 6:47 pm

Best settings for h265 nvenc small files

Post by kata40 » Sun Nov 25, 2018 8:32 pm

I have a 1080 Ti video card and I would like to use it at the expense of the processor
But I can not find the best settings for good video quality, but make the file as small as possible
That's what I'm looking for: good quality, a small file like h265 or h265 10 bits using the processor.
Can someone help me?

User avatar
s55
HandBrake Team
Posts: 9255
Joined: Sun Dec 24, 2006 1:05 pm

Re: Best settings for h265 nvenc small files

Post by s55 » Mon Nov 26, 2018 1:56 pm

If Quality and Fileszie are important, use x265. NVEnc is not optimised for this. It's geared towards the speed part of the triangle.

kata40
Posts: 20
Joined: Sun Nov 25, 2018 6:47 pm

Re: Best settings for h265 nvenc small files

Post by kata40 » Mon Nov 26, 2018 6:46 pm

I out of 8gb, for example, although the x265 would bring them to a better and lower quality, they use 2500kb plus other settings.
Maybe it can be done with smaller ones, from 8gb, to about 2gb, but I did not manage to do it.
Is the quality index the most important at nvenc, say, at a 27 QS?
Optimize, maybe in the future?

User avatar
s55
HandBrake Team
Posts: 9255
Joined: Sun Dec 24, 2006 1:05 pm

Re: Best settings for h265 nvenc small files

Post by s55 » Mon Nov 26, 2018 6:58 pm

The hardware can't be altered, so not for current generation cards. Any updates requires new hardware.

kata40
Posts: 20
Joined: Sun Nov 25, 2018 6:47 pm

Re: Best settings for h265 nvenc small files

Post by kata40 » Mon Nov 26, 2018 9:23 pm

I'm sorry to say that, but dvdfab, wondershare or other conversion programs do, with nvenc or cuda, you can give size and double passes?

User avatar
s55
HandBrake Team
Posts: 9255
Joined: Sun Dec 24, 2006 1:05 pm

Re: Best settings for h265 nvenc small files

Post by s55 » Mon Nov 26, 2018 10:35 pm

Nope. No other software gets around Nvidia hardware limitations. If you use equivalent settings to dvdfab, wondershare, you'll get the same poor quality output.

Nvidia provide the encoder implementation, so it is the same for all software that uses it.

Basically, if you use the slow preset, and a reasonably high bit-rate isn't good enough, then you really have to go software at that point.

kata40
Posts: 20
Joined: Sun Nov 25, 2018 6:47 pm

Re: Best settings for h265 nvenc small files

Post by kata40 » Tue Nov 27, 2018 6:59 pm

ok, thanks for all answers

kata40
Posts: 20
Joined: Sun Nov 25, 2018 6:47 pm

Re: Best settings for h265 nvenc small files

Post by kata40 » Wed Nov 28, 2018 8:36 pm

I still write once: I used the same settings as dvdfab or wondershare and the result was much weaker than the ones mentioned, although you said nvidia uses the same all over, and that I could not select 2 passes

User avatar
s55
HandBrake Team
Posts: 9255
Joined: Sun Dec 24, 2006 1:05 pm

Re: Best settings for h265 nvenc small files

Post by s55 » Wed Nov 28, 2018 8:48 pm

Then clearly you didn't use the same settings ...

kata40
Posts: 20
Joined: Sun Nov 25, 2018 6:47 pm

Re: Best settings for h265 nvenc small files

Post by kata40 » Thu Nov 29, 2018 6:27 am

Are the same, believme

Woodstock
Veteran User
Posts: 2812
Joined: Tue Aug 27, 2013 6:39 am

Re: Best settings for h265 nvenc small files

Post by Woodstock » Thu Nov 29, 2018 3:07 pm

We have no basis to believe you, without logs for the encodes. The majority of complaints posted on this forum involve some subtle changes in settings, which the poster does not remember making, and sometimes vehemently denies making.

Which is why we ask for logs.

kata40
Posts: 20
Joined: Sun Nov 25, 2018 6:47 pm

Re: Best settings for h265 nvenc small files

Post by kata40 » Fri Nov 30, 2018 10:04 am

I have put side by side handbrake and dvdfab and set the same
I do not know where to log you, as I would
Do not misunderstand, your software is one of the best, if not the best, that I love
But on the new side it's new and it has some steps to grow qualitatively

kata40
Posts: 20
Joined: Sun Nov 25, 2018 6:47 pm

Re: Best settings for h265 nvenc small files

Post by kata40 » Fri Nov 30, 2018 10:04 am

one more question and please answer me: how do I enable with h265nvenc to 2 passes?

Woodstock
Veteran User
Posts: 2812
Joined: Tue Aug 27, 2013 6:39 am

Re: Best settings for h265 nvenc small files

Post by Woodstock » Fri Nov 30, 2018 2:13 pm

Handbrake produces logs. The posting template your overwrote when you posted your first message explained how to get them, and the top of this page has a link to how to get them, posted in red lettering on a pink background.

Without logs, we have no idea what settings you used in handbrake, or how to improve them.

As for "two passes", I'm under the impression that is something the software encoders do, and the hardware encoders do NOT do. By design, the hardware encoders are single-pass, do the obvious compression methods as quickly as possible, then move on. Two-pass is not compatible with their design.

kata40
Posts: 20
Joined: Sun Nov 25, 2018 6:47 pm

Re: Best settings for h265 nvenc small files

Post by kata40 » Fri Nov 30, 2018 7:22 pm

hello, thanks for the answer, was something about the new nvidia driver that did not activate nvenc and then did not see 2 passes
I'll study and give you log files to improve this new version of you, a great software

User avatar
s55
HandBrake Team
Posts: 9255
Joined: Sun Dec 24, 2006 1:05 pm

Re: Best settings for h265 nvenc small files

Post by s55 » Fri Nov 30, 2018 11:52 pm

@kata40 -> We've removed the 2-pass checkbox because it was mis-leading. The 1st pass wasn't actually doing anything. It was all wasted CPU cycles.

NVEnc doesn't actually support 2-pass encoding.

They have something called VBR 2pass. This isn't actually what you'd expect it to be though. It's more of a frame level analysis that attempts to prevent bitrate spikes. What actually ends up happening is you get virtually the same, or worse results. So the general consensus seems to be not to use this mode.

I don't really think there is much point offering it as a UI option. People expect 2 actuall passes to occur and this won't happen.

kata40
Posts: 20
Joined: Sun Nov 25, 2018 6:47 pm

Re: Best settings for h265 nvenc small files

Post by kata40 » Sat Dec 01, 2018 7:11 am

Ok, thanks for all answer that you gave me
when I have more free time, I'm looking to make you log files for more details

kata40
Posts: 20
Joined: Sun Nov 25, 2018 6:47 pm

Re: Best settings for h265 nvenc small files

Post by kata40 » Sat Dec 01, 2018 10:06 am

HandBrake Nightly 20181118140641-9dc0a7a-master (2018111901)
OS: Microsoft Windows NT 10.0.17763.0
Ram: 32446 MB,
GPU Information:
NVIDIA GeForce GTX 1080 Ti - 25.21.14.1694
Screen: 1920x1080
Temp Dir: C:\Users\Catalin\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake Nightly
Data Dir: C:\Users\Catalin\AppData\Roaming\HandBrake\Nightly

-------------------------------------------


# Starting Encode ...

[11:49:19] hb_init: starting libhb thread
[11:49:19] 1 job(s) to process
[11:49:19] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0.0,
"Encoder": "ac3",
"Gain": 0.0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3",
"copy:dtshd",
"copy:dts",
"copy:eac3",
"copy:flac",
"copy:mp3",
"copy:truehd"
],
"FallbackEncoder": "ac3"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "E:\\Manhunt\\Advent Concert-Frauenkirche-1.mkv",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "mkv"
},
"Filters": {
"FilterList": [
{
"ID": 4,
"Settings": {
"mode": "7"
}
},
{
"ID": 3,
"Settings": {
"block-height": "16",
"block-thresh": "40",
"block-width": "16",
"filter-mode": "2",
"mode": "3",
"motion-thresh": "3",
"spatial-metric": "2",
"spatial-thresh": "3"
}
},
{
"ID": 11,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "1080",
"width": "1920"
}
},
{
"ID": 6,
"Settings": {
"mode": "1"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 1,
"Path": "D:\\Download\\Terminate\\Advent_Concert-Frauenkirche\\Advent_Concert-Frauenkirche.mkv"
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"Encoder": "nvenc_h265",
"Level": "3.1",
"TwoPass": true,
"Turbo": true,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "medium",
"Profile": "main",
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[11:49:19] CPU: Intel(R) Core(TM) i9-7980XE CPU @ 2.60GHz
[11:49:19] - logical processor count: 36
[11:49:19] Intel Quick Sync Video support: no
[11:49:19] hb_scan: path=D:\Download\Terminate\Advent_Concert-Frauenkirche\Advent_Concert-Frauenkirche.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image D:\Download\Terminate\Advent_Concert-Frauenkirche\Advent_Concert-Frauenkirche.mkv
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[11:49:19] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[11:49:19] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'D:\Download\Terminate\Advent_Concert-Frauenkirche\Advent_Concert-Frauenkirche.mkv':
Metadata:
encoder : Lavf51.12.1
Duration: 00:58:19.68, start: 0.000000, bitrate: 6370 kb/s
Stream #0:0: Video: h264 (Constrained Baseline), yuvj420p(pc, bt470bg, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
Stream #0:1: Audio: ac3, 48000 Hz, stereo, fltp, 384 kb/s (default)
[11:49:19] scan: decoding previews for title 1
[11:49:19] scan: audio 0x1: ac3, rate=48000Hz, bitrate=384000 Unknown (AC3) (2.0 ch)
[11:49:20] scan: 10 previews, 1920x1080, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[11:49:20] scan: supported video decoders: avcodec qsv
[11:49:20] libhb: scan thread found 1 valid title(s)
[11:49:20] starting job
[11:49:20] decomb filter thread started for segment 0
[11:49:20] decomb filter thread started for segment 1
[11:49:20] decomb filter thread started for segment 4
[11:49:20] decomb filter thread started for segment 3
[11:49:20] decomb filter thread started for segment 2
[11:49:20] decomb filter thread started for segment 5
[11:49:20] decomb filter thread started for segment 22
[11:49:20] decomb filter thread started for segment 7
[11:49:20] decomb check thread started for segment 0
[11:49:20] decomb check thread started for segment 4
[11:49:20] decomb check thread started for segment 8
[11:49:20] decomb check thread started for segment 15
[11:49:20] decomb check thread started for segment 18
[11:49:20] decomb check thread started for segment 22
[11:49:20] decomb filter thread started for segment 15
[11:49:20] decomb check thread started for segment 28
[11:49:20] decomb check thread started for segment 35
[11:49:20] decomb filter thread started for segment 14
[11:49:20] decomb filter thread started for segment 16
[11:49:20] decomb filter thread started for segment 19
[11:49:20] decomb filter thread started for segment 20
[11:49:20] decomb filter thread started for segment 21
[11:49:20] mask filter thread started for segment 27
[11:49:20] decomb filter thread started for segment 23
[11:49:20] mask erode thread started for segment 5
[11:49:20] mask erode thread started for segment 10
[11:49:20] mask erode thread started for segment 16
[11:49:20] mask erode thread started for segment 19
[11:49:20] mask erode thread started for segment 20
[11:49:20] decomb filter thread started for segment 29
[11:49:20] decomb filter thread started for segment 30
[11:49:20] decomb filter thread started for segment 31
[11:49:20] decomb filter thread started for segment 33
[11:49:20] mask erode thread started for segment 34
[11:49:20] decomb filter thread started for segment 34
[11:49:20] mask dilate thread started for segment 6
[11:49:20] mask dilate thread started for segment 10
[11:49:20] decomb check thread started for segment 1
[11:49:20] decomb check thread started for segment 2
[11:49:20] mask dilate thread started for segment 22
[11:49:20] mask dilate thread started for segment 29
[11:49:20] decomb check thread started for segment 5
[11:49:20] decomb check thread started for segment 6
[11:49:20] decomb check thread started for segment 7
[11:49:20] yadif thread started for segment 15
[11:49:20] yadif thread started for segment 18
[11:49:20] decomb check thread started for segment 10
[11:49:20] decomb check thread started for segment 11
[11:49:20] yadif thread started for segment 31
[11:49:20] decomb check thread started for segment 13
[11:49:20] decomb filter thread started for segment 13
[11:49:20] work: only 1 chapter, disabling chapter markers
[11:49:20] job configuration:
[11:49:20] * source
[11:49:20] + D:\Download\Terminate\Advent_Concert-Frauenkirche\Advent_Concert-Frauenkirche.mkv
[11:49:20] + title 1, chapter(s) 1 to 1
[11:49:20] decomb check thread started for segment 14
[11:49:20] + container: matroska,webm
[11:49:20] + data rate: 6370 kbps
[11:49:20] * destination
[11:49:20] + E:\Manhunt\Advent Concert-Frauenkirche-1.mkv
[11:49:20] + container: Matroska (libavformat)
[11:49:20] * video track
[11:49:20] + decoder: h264
[11:49:20] + filters
[11:49:20] + Comb Detect (mode=3:spatial-metric=2:motion-thresh=3:spatial-thresh=3:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[11:49:20] decomb check thread started for segment 16
[11:49:20] + Decomb (mode=39)
[11:49:20] + Framerate Shaper (mode=1)
[11:49:20] + frame rate: 25.000 fps -> constant 25.000 fps
[11:49:20] + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[11:49:20] + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[11:49:20] + Output geometry
[11:49:20] + storage dimensions: 1920 x 1080
[11:49:20] + pixel aspect ratio: 1 : 1
[11:49:20] + display dimensions: 1920 x 1080
[11:49:20] + encoder: H.265 (NVEnc)
[11:49:20] + preset: medium
[11:49:20] + profile: main
[11:49:20] + level: 3.1
[11:49:20] + bitrate: 1000 kbps, pass: 1
[11:49:20] + color profile: 5-1-6
[11:49:20] * audio track 1
[11:49:20] + decoder: Unknown (AC3) (2.0 ch) (track 1, id 0x1)
[11:49:20] + bitrate: 384 kbps, samplerate: 48000 Hz
[11:49:20] + mixdown: Stereo
[11:49:20] + dither: none
[11:49:20] decomb check thread started for segment 17
[11:49:20] + encoder: AC3 (libavcodec)
[11:49:20] + bitrate: 160 kbps, samplerate: 48000 Hz
[11:49:20] decomb filter thread started for segment 11
[11:49:20] decomb check thread started for segment 19
[11:49:20] decomb check thread started for segment 20
[11:49:20] decomb check thread started for segment 21
[11:49:20] decomb filter thread started for segment 10
[11:49:20] decomb check thread started for segment 23
[11:49:20] decomb check thread started for segment 24
[11:49:20] decomb check thread started for segment 25
[11:49:20] decomb check thread started for segment 26
[11:49:20] decomb check thread started for segment 27
[11:49:20] decomb filter thread started for segment 17
[11:49:20] decomb check thread started for segment 29
[11:49:20] decomb check thread started for segment 30
[11:49:20] decomb check thread started for segment 31
[11:49:20] decomb check thread started for segment 32
[11:49:20] decomb check thread started for segment 33
[11:49:20] decomb check thread started for segment 34
[11:49:20] decomb filter thread started for segment 18
[11:49:20] mask filter thread started for segment 0
[11:49:20] mask filter thread started for segment 1
[11:49:20] mask filter thread started for segment 2
[11:49:20] mask filter thread started for segment 3
[11:49:20] mask filter thread started for segment 4
[11:49:20] mask filter thread started for segment 5
[11:49:20] mask filter thread started for segment 6
[11:49:20] mask filter thread started for segment 7
[11:49:20] mask filter thread started for segment 8
[11:49:20] mask filter thread started for segment 9
[11:49:20] mask filter thread started for segment 10
[11:49:20] mask filter thread started for segment 11
[11:49:20] mask filter thread started for segment 12
[11:49:20] mask filter thread started for segment 13
[11:49:20] mask filter thread started for segment 14
[11:49:20] mask filter thread started for segment 15
[11:49:20] mask filter thread started for segment 16
[11:49:20] mask filter thread started for segment 17
[11:49:20] mask filter thread started for segment 18
[11:49:20] mask filter thread started for segment 19
[11:49:20] mask filter thread started for segment 20
[11:49:20] mask filter thread started for segment 23
[11:49:20] mask filter thread started for segment 21
[11:49:20] mask filter thread started for segment 24
[11:49:20] mask filter thread started for segment 22
[11:49:20] mask filter thread started for segment 25
[11:49:20] mask filter thread started for segment 26
[11:49:20] decomb filter thread started for segment 6
[11:49:20] mask filter thread started for segment 28
[11:49:20] mask filter thread started for segment 29
[11:49:20] mask filter thread started for segment 30
[11:49:20] mask filter thread started for segment 31
[11:49:20] mask filter thread started for segment 33
[11:49:20] mask filter thread started for segment 32
[11:49:20] mask filter thread started for segment 34
[11:49:20] mask filter thread started for segment 35
[11:49:20] mask erode thread started for segment 1
[11:49:20] mask erode thread started for segment 0
[11:49:20] mask erode thread started for segment 2
[11:49:20] mask erode thread started for segment 3
[11:49:20] mask erode thread started for segment 4
[11:49:20] decomb filter thread started for segment 24
[11:49:20] mask erode thread started for segment 6
[11:49:20] mask erode thread started for segment 7
[11:49:20] mask erode thread started for segment 8
[11:49:20] mask erode thread started for segment 9
[11:49:20] mask erode thread started for segment 11
[11:49:20] decomb filter thread started for segment 25
[11:49:20] mask erode thread started for segment 12
[11:49:20] mask erode thread started for segment 14
[11:49:20] mask erode thread started for segment 13
[11:49:20] mask erode thread started for segment 15
[11:49:20] decomb filter thread started for segment 26
[11:49:20] mask erode thread started for segment 17
[11:49:20] mask erode thread started for segment 18
[11:49:20] decomb filter thread started for segment 27
[11:49:20] decomb filter thread started for segment 28
[11:49:20] mask erode thread started for segment 21
[11:49:20] mask erode thread started for segment 22
[11:49:20] mask erode thread started for segment 23
[11:49:20] mask erode thread started for segment 24
[11:49:20] mask erode thread started for segment 25
[11:49:20] mask erode thread started for segment 26
[11:49:20] mask erode thread started for segment 27
[11:49:20] mask erode thread started for segment 28
[11:49:20] mask erode thread started for segment 30
[11:49:20] mask erode thread started for segment 29
[11:49:20] mask erode thread started for segment 31
[11:49:20] mask erode thread started for segment 33
[11:49:20] mask erode thread started for segment 32
[11:49:20] mask erode thread started for segment 35
[11:49:20] decomb filter thread started for segment 32
[11:49:20] mask dilate thread started for segment 0
[11:49:20] mask dilate thread started for segment 1
[11:49:20] mask dilate thread started for segment 2
[11:49:20] mask dilate thread started for segment 3
[11:49:20] mask dilate thread started for segment 4
[11:49:20] mask dilate thread started for segment 5
[11:49:20] decomb filter thread started for segment 35
[11:49:20] mask dilate thread started for segment 7
[11:49:20] mask dilate thread started for segment 8
[11:49:20] mask dilate thread started for segment 9
[11:49:20] decomb filter thread started for segment 8
[11:49:20] mask dilate thread started for segment 13
[11:49:20] mask dilate thread started for segment 12
[11:49:20] mask dilate thread started for segment 11
[11:49:20] mask dilate thread started for segment 15
[11:49:20] mask dilate thread started for segment 14
[11:49:20] mask dilate thread started for segment 17
[11:49:20] mask dilate thread started for segment 16
[11:49:20] mask dilate thread started for segment 19
[11:49:20] mask dilate thread started for segment 18
[11:49:20] mask dilate thread started for segment 20
[11:49:20] mask dilate thread started for segment 21
[11:49:20] decomb check thread started for segment 3
[11:49:20] mask dilate thread started for segment 24
[11:49:20] mask dilate thread started for segment 23
[11:49:20] mask dilate thread started for segment 25
[11:49:20] mask dilate thread started for segment 26
[11:49:20] mask dilate thread started for segment 28
[11:49:20] mask dilate thread started for segment 27
[11:49:20] mask dilate thread started for segment 30
[11:49:20] decomb filter thread started for segment 9
[11:49:20] mask dilate thread started for segment 31
[11:49:20] mask dilate thread started for segment 33
[11:49:20] mask dilate thread started for segment 32
[11:49:20] mask dilate thread started for segment 34
[11:49:20] mask dilate thread started for segment 35
[11:49:20] yadif thread started for segment 0
[11:49:20] yadif thread started for segment 1
[11:49:20] yadif thread started for segment 3
[11:49:20] yadif thread started for segment 2
[11:49:20] yadif thread started for segment 4
[11:49:20] yadif thread started for segment 5
[11:49:20] yadif thread started for segment 7
[11:49:20] yadif thread started for segment 6
[11:49:20] yadif thread started for segment 8
[11:49:20] yadif thread started for segment 9
[11:49:20] yadif thread started for segment 10
[11:49:20] yadif thread started for segment 12
[11:49:20] yadif thread started for segment 13
[11:49:20] yadif thread started for segment 11
[11:49:20] decomb filter thread started for segment 12
[11:49:20] yadif thread started for segment 16
[11:49:20] yadif thread started for segment 14
[11:49:20] yadif thread started for segment 17
[11:49:20] decomb check thread started for segment 9
[11:49:20] yadif thread started for segment 19
[11:49:20] yadif thread started for segment 20
[11:49:20] yadif thread started for segment 21
[11:49:20] yadif thread started for segment 23
[11:49:20] yadif thread started for segment 22
[11:49:20] yadif thread started for segment 25
[11:49:20] yadif thread started for segment 27
[11:49:20] yadif thread started for segment 24
[11:49:20] yadif thread started for segment 26
[11:49:20] yadif thread started for segment 29
[11:49:20] yadif thread started for segment 30
[11:49:20] yadif thread started for segment 28
[11:49:20] decomb check thread started for segment 12
[11:49:20] yadif thread started for segment 33
[11:49:20] yadif thread started for segment 34
[11:49:20] yadif thread started for segment 32
[11:49:20] yadif thread started for segment 35
[11:49:20] sync: expecting 87492 video frames
[11:49:20] encavcodecInit: H.265 (Nvidia NVENC)
[11:49:20] encavcodec: encoding with stored aspect 1/1
[11:49:20] sync: first pts video is 0
[11:49:20] sync: "Chapter 1" (1) at frame 1 time 0
[11:49:20] sync: first pts audio 0x1 is 0
[11:55:12] reader: done. 1 scr changes
[11:55:12] work: average encoding speed for job is 248.979691 fps
[11:55:12] comb detect: heavy 0 | light 10 | uncombed 87480 | total 87490
[11:55:12] decomb: deinterlaced 0 | blended 10 | unfiltered 87480 | total 87490
[11:55:12] vfr: 87490 frames output, 0 dropped and 0 duped for CFR/PFR
[11:55:12] vfr: lost time: 0 (0 frames)
[11:55:12] vfr: gained time: 0 (0 frames) (0 not accounted for)
[11:55:12] ac3-decoder done: 109365 frames, 0 decoder errors
[11:55:12] h264-decoder done: 87490 frames, 0 decoder errors
[11:55:12] sync: got 87490 frames, 87492 expected
[11:55:12] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
[11:55:12] starting job
[11:55:12] decomb filter thread started for segment 0
[11:55:12] decomb filter thread started for segment 11
[11:55:12] decomb filter thread started for segment 15
[11:55:12] decomb filter thread started for segment 2
[11:55:12] decomb filter thread started for segment 9
[11:55:12] decomb filter thread started for segment 24
[11:55:12] decomb filter thread started for segment 6
[11:55:12] decomb filter thread started for segment 31
[11:55:12] decomb filter thread started for segment 34
[11:55:12] decomb check thread started for segment 1
[11:55:12] decomb filter thread started for segment 8
[11:55:12] decomb check thread started for segment 8
[11:55:12] decomb check thread started for segment 10
[11:55:12] decomb filter thread started for segment 12
[11:55:12] decomb check thread started for segment 17
[11:55:12] decomb check thread started for segment 20
[11:55:12] decomb filter thread started for segment 18
[11:55:12] decomb filter thread started for segment 19
[11:55:12] decomb filter thread started for segment 20
[11:55:12] decomb check thread started for segment 31
[11:55:12] decomb check thread started for segment 33
[11:55:12] decomb filter thread started for segment 21
[11:55:12] decomb filter thread started for segment 22
[11:55:12] mask filter thread started for segment 6
[11:55:12] decomb filter thread started for segment 4
[11:55:12] decomb filter thread started for segment 25
[11:55:12] decomb filter thread started for segment 26
[11:55:12] decomb filter thread started for segment 27
[11:55:12] mask filter thread started for segment 20
[11:55:12] decomb filter thread started for segment 29
[11:55:12] decomb filter thread started for segment 30
[11:55:12] decomb filter thread started for segment 10
[11:55:12] decomb filter thread started for segment 32
[11:55:12] decomb filter thread started for segment 33
[11:55:12] decomb filter thread started for segment 5
[11:55:12] decomb filter thread started for segment 35
[11:55:12] decomb filter thread started for segment 3
[11:55:12] mask erode thread started for segment 10
[11:55:12] mask erode thread started for segment 12
[11:55:12] decomb check thread started for segment 3
[11:55:12] decomb check thread started for segment 4
[11:55:12] mask erode thread started for segment 20
[11:55:12] decomb check thread started for segment 6
[11:55:12] decomb check thread started for segment 7
[11:55:12] decomb filter thread started for segment 7
[11:55:12] mask erode thread started for segment 30
[11:55:12] decomb filter thread started for segment 1
[11:55:12] mask erode thread started for segment 35
[11:55:12] decomb check thread started for segment 12
[11:55:12] mask dilate thread started for segment 3
[11:55:12] decomb check thread started for segment 14
[11:55:12] decomb check thread started for segment 15
[11:55:12] decomb check thread started for segment 16
[11:55:12] mask dilate thread started for segment 13
[11:55:12] mask dilate thread started for segment 16
[11:55:12] mask dilate thread started for segment 18
[11:55:12] mask dilate thread started for segment 20
[11:55:12] decomb check thread started for segment 21
[11:55:12] mask dilate thread started for segment 24
[11:55:12] decomb check thread started for segment 23
[11:55:12] mask dilate thread started for segment 30
[11:55:12] mask dilate thread started for segment 33
[11:55:12] mask dilate thread started for segment 35
[11:55:12] decomb check thread started for segment 27
[11:55:12] decomb check thread started for segment 28
[11:55:12] decomb check thread started for segment 29
[11:55:12] decomb check thread started for segment 30
[11:55:12] yadif thread started for segment 12
[11:55:12] yadif thread started for segment 14
[11:55:12] yadif thread started for segment 17
[11:55:12] decomb check thread started for segment 34
[11:55:12] yadif thread started for segment 22
[11:55:12] mask filter thread started for segment 0
[11:55:12] mask filter thread started for segment 1
[11:55:12] yadif thread started for segment 29
[11:55:12] yadif thread started for segment 32
[11:55:12] mask filter thread started for segment 4
[11:55:12] mask filter thread started for segment 5
[11:55:12] work: only 1 chapter, disabling chapter markers
[11:55:12] job configuration:
[11:55:12] * source
[11:55:12] + D:\Download\Terminate\Advent_Concert-Frauenkirche\Advent_Concert-Frauenkirche.mkv
[11:55:12] decomb filter thread started for segment 23
[11:55:12] + title 1, chapter(s) 1 to 1
[11:55:12] + container: matroska,webm
[11:55:12] + data rate: 6370 kbps
[11:55:12] * destination
[11:55:12] + E:\Manhunt\Advent Concert-Frauenkirche-1.mkv
[11:55:12] + container: Matroska (libavformat)
[11:55:12] * video track
[11:55:12] mask filter thread started for segment 7
[11:55:12] + decoder: h264
[11:55:12] + filters
[11:55:12] + Comb Detect (mode=3:spatial-metric=2:motion-thresh=3:spatial-thresh=3:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[11:55:12] mask filter thread started for segment 8
[11:55:12] + Decomb (mode=39)
[11:55:12] + Framerate Shaper (mode=1)
[11:55:12] + frame rate: 25.000 fps -> constant 25.000 fps
[11:55:12] mask filter thread started for segment 9
[11:55:12] + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[11:55:12] + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[11:55:12] + Output geometry
[11:55:12] + storage dimensions: 1920 x 1080
[11:55:12] + pixel aspect ratio: 1 : 1
[11:55:12] + display dimensions: 1920 x 1080
[11:55:12] + encoder: H.265 (NVEnc)
[11:55:12] + preset: medium
[11:55:12] + profile: main
[11:55:12] + level: 3.1
[11:55:12] + bitrate: 1000 kbps, pass: 2
[11:55:12] + color profile: 5-1-6
[11:55:12] * audio track 1
[11:55:12] + decoder: Unknown (AC3) (2.0 ch) (track 1, id 0x1)
[11:55:12] mask filter thread started for segment 10
[11:55:12] + bitrate: 384 kbps, samplerate: 48000 Hz
[11:55:12] + mixdown: Stereo
[11:55:12] + dither: none
[11:55:12] + encoder: AC3 (libavcodec)
[11:55:12] mask filter thread started for segment 11
[11:55:12] + bitrate: 160 kbps, samplerate: 48000 Hz
[11:55:12] mask filter thread started for segment 12
[11:55:12] mask filter thread started for segment 13
[11:55:12] mask filter thread started for segment 14
[11:55:12] mask filter thread started for segment 15
[11:55:12] mask filter thread started for segment 16
[11:55:12] mask filter thread started for segment 17
[11:55:12] mask filter thread started for segment 18
[11:55:12] mask filter thread started for segment 19
[11:55:12] decomb filter thread started for segment 28
[11:55:12] mask filter thread started for segment 22
[11:55:12] mask filter thread started for segment 21
[11:55:12] mask filter thread started for segment 23
[11:55:12] mask filter thread started for segment 24
[11:55:12] mask filter thread started for segment 25
[11:55:12] mask filter thread started for segment 26
[11:55:12] mask filter thread started for segment 27
[11:55:12] mask filter thread started for segment 28
[11:55:12] mask filter thread started for segment 29
[11:55:12] mask filter thread started for segment 30
[11:55:12] mask filter thread started for segment 31
[11:55:12] mask filter thread started for segment 32
[11:55:12] mask filter thread started for segment 33
[11:55:12] mask filter thread started for segment 34
[11:55:12] mask filter thread started for segment 35
[11:55:12] mask erode thread started for segment 0
[11:55:12] mask erode thread started for segment 1
[11:55:12] mask erode thread started for segment 2
[11:55:12] mask erode thread started for segment 3
[11:55:12] mask erode thread started for segment 4
[11:55:12] mask erode thread started for segment 5
[11:55:12] mask erode thread started for segment 6
[11:55:12] mask erode thread started for segment 7
[11:55:12] mask erode thread started for segment 8
[11:55:12] mask erode thread started for segment 9
[11:55:12] decomb check thread started for segment 0
[11:55:12] decomb check thread started for segment 2
[11:55:12] mask erode thread started for segment 11
[11:55:12] mask erode thread started for segment 13
[11:55:12] mask erode thread started for segment 14
[11:55:12] mask erode thread started for segment 15
[11:55:12] mask erode thread started for segment 16
[11:55:12] mask erode thread started for segment 17
[11:55:12] mask erode thread started for segment 18
[11:55:12] mask erode thread started for segment 19
[11:55:12] decomb check thread started for segment 5
[11:55:12] mask erode thread started for segment 21
[11:55:12] mask erode thread started for segment 22
[11:55:12] mask erode thread started for segment 23
[11:55:12] mask erode thread started for segment 24
[11:55:12] mask erode thread started for segment 25
[11:55:12] mask erode thread started for segment 26
[11:55:12] mask erode thread started for segment 28
[11:55:12] mask erode thread started for segment 27
[11:55:12] mask erode thread started for segment 29
[11:55:12] decomb check thread started for segment 9
[11:55:12] mask erode thread started for segment 31
[11:55:12] mask erode thread started for segment 32
[11:55:12] mask erode thread started for segment 33
[11:55:12] mask erode thread started for segment 34
[11:55:12] decomb check thread started for segment 11
[11:55:12] mask dilate thread started for segment 0
[11:55:12] mask dilate thread started for segment 1
[11:55:12] mask dilate thread started for segment 2
[11:55:12] decomb check thread started for segment 13
[11:55:12] mask dilate thread started for segment 4
[11:55:12] mask dilate thread started for segment 5
[11:55:12] mask dilate thread started for segment 7
[11:55:12] mask dilate thread started for segment 6
[11:55:12] mask dilate thread started for segment 8
[11:55:12] mask dilate thread started for segment 9
[11:55:12] mask dilate thread started for segment 10
[11:55:12] mask dilate thread started for segment 11
[11:55:12] mask dilate thread started for segment 12
[11:55:12] decomb filter thread started for segment 17
[11:55:12] mask dilate thread started for segment 14
[11:55:12] mask dilate thread started for segment 15
[11:55:12] decomb check thread started for segment 18
[11:55:12] mask dilate thread started for segment 17
[11:55:12] decomb check thread started for segment 19
[11:55:12] mask dilate thread started for segment 19
[11:55:12] decomb filter thread started for segment 13
[11:55:12] mask dilate thread started for segment 21
[11:55:12] mask dilate thread started for segment 22
[11:55:12] mask dilate thread started for segment 23
[11:55:12] decomb check thread started for segment 22
[11:55:12] mask dilate thread started for segment 25
[11:55:12] mask dilate thread started for segment 26
[11:55:12] mask dilate thread started for segment 27
[11:55:12] mask dilate thread started for segment 28
[11:55:12] mask dilate thread started for segment 29
[11:55:12] decomb check thread started for segment 24
[11:55:12] mask dilate thread started for segment 31
[11:55:12] mask dilate thread started for segment 32
[11:55:12] decomb check thread started for segment 25
[11:55:12] mask dilate thread started for segment 34
[11:55:12] decomb check thread started for segment 26
[11:55:12] yadif thread started for segment 0
[11:55:12] yadif thread started for segment 1
[11:55:12] yadif thread started for segment 2
[11:55:12] yadif thread started for segment 3
[11:55:12] yadif thread started for segment 4
[11:55:12] yadif thread started for segment 5
[11:55:12] yadif thread started for segment 6
[11:55:12] yadif thread started for segment 7
[11:55:12] yadif thread started for segment 8
[11:55:12] yadif thread started for segment 9
[11:55:12] yadif thread started for segment 10
[11:55:12] yadif thread started for segment 11
[11:55:12] decomb filter thread started for segment 14
[11:55:12] yadif thread started for segment 13
[11:55:12] decomb check thread started for segment 32
[11:55:12] yadif thread started for segment 15
[11:55:12] yadif thread started for segment 16
[11:55:12] decomb filter thread started for segment 16
[11:55:12] yadif thread started for segment 18
[11:55:12] yadif thread started for segment 19
[11:55:12] yadif thread started for segment 20
[11:55:12] yadif thread started for segment 21
[11:55:12] decomb check thread started for segment 35
[11:55:12] yadif thread started for segment 23
[11:55:12] yadif thread started for segment 24
[11:55:12] yadif thread started for segment 25
[11:55:12] yadif thread started for segment 26
[11:55:12] yadif thread started for segment 27
[11:55:12] yadif thread started for segment 28
[11:55:12] mask filter thread started for segment 2
[11:55:12] yadif thread started for segment 30
[11:55:12] yadif thread started for segment 31
[11:55:12] mask filter thread started for segment 3
[11:55:12] yadif thread started for segment 33
[11:55:12] yadif thread started for segment 34
[11:55:12] yadif thread started for segment 35
[11:55:12] sync: expecting 87490 video frames
[11:55:12] encavcodecInit: H.265 (Nvidia NVENC)
[11:55:12] encavcodec: encoding with stored aspect 1/1
[11:55:12] sync: first pts video is 0
[11:55:12] sync: "Chapter 1" (1) at frame 1 time 0
[11:55:12] sync: first pts audio 0x1 is 0
[12:01:03] reader: done. 1 scr changes
[12:01:03] work: average encoding speed for job is 249.481018 fps
[12:01:03] comb detect: heavy 0 | light 10 | uncombed 87480 | total 87490
[12:01:03] decomb: deinterlaced 0 | blended 10 | unfiltered 87480 | total 87490
[12:01:03] vfr: 87490 frames output, 0 dropped and 0 duped for CFR/PFR
[12:01:03] vfr: lost time: 0 (0 frames)
[12:01:03] vfr: gained time: 0 (0 frames) (0 not accounted for)
[12:01:03] ac3-decoder done: 109365 frames, 0 decoder errors
[12:01:03] h264-decoder done: 87490 frames, 0 decoder errors
[12:01:03] sync: got 87490 frames, 87490 expected
[12:01:03] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
[12:01:03] mux: track 0, 87490 frames, 401943070 bytes, 918.80 kbps, fifo 4096
[12:01:03] mux: track 1, 109365 frames, 69993600 bytes, 160.00 kbps, fifo 4096
[12:01:03] libhb: work result = 0

# Encode Completed ...

User avatar
s55
HandBrake Team
Posts: 9255
Joined: Sun Dec 24, 2006 1:05 pm

Re: Best settings for h265 nvenc small files

Post by s55 » Sat Dec 01, 2018 10:57 am

Your expecting an awful lot if your only encoding at 1000kbit.
Also, Level 3.1 isn't valid for 1080p. File will be 4.0 or higher unless you drop to 720p.

Even with x265 which produces much better results at those low bitrates, the quality isn't amazing.

You can't have it both ways with Nvenc. It's optimised for speed, not quality or filesize. So if you choose a low bitrate to get a low filesize, you sacrifice quality

Your also using the Medium Preset. You might get marginally better results from Slow or High Quality presets.

User avatar
s55
HandBrake Team
Posts: 9255
Joined: Sun Dec 24, 2006 1:05 pm

Re: Best settings for h265 nvenc small files

Post by s55 » Sat Dec 01, 2018 1:46 pm

Issue around your erroneous h.264 level settings is now fixed. So it should fail the encode if you use less than level 4 on a 1080p encode.

kata40
Posts: 20
Joined: Sun Nov 25, 2018 6:47 pm

Re: Best settings for h265 nvenc small files

Post by kata40 » Sat Dec 01, 2018 9:00 pm

I do not use h264, even if it is better optimized it's old and it will get rid of it

kata40
Posts: 20
Joined: Sun Nov 25, 2018 6:47 pm

Re: Best settings for h265 nvenc small files

Post by kata40 » Sat Dec 01, 2018 9:15 pm

HandBrake Nightly 20181129192935-51377f3-master (2018120101)
OS: Microsoft Windows NT 10.0.17763.0
Ram: 32446 MB,
GPU Information:
NVIDIA GeForce GTX 1080 Ti - 25.21.14.1694
Screen: 1920x1080
Temp Dir: C:\Users\Catalin\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake Nightly
Data Dir: C:\Users\Catalin\AppData\Roaming\HandBrake\Nightly

-------------------------------------------


# Starting Encode ...

[23:05:03] hb_init: starting libhb thread
[23:05:03] 1 job(s) to process
[23:05:03] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 192,
"DRC": 0.0,
"Encoder": "ac3",
"Gain": 0.0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3",
"copy:dtshd",
"copy:dts",
"copy:eac3",
"copy:flac",
"copy:mp3",
"copy:truehd"
],
"FallbackEncoder": "ac3"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "E:\\Manhunt\\Advent Concert-Frauenkirche-1.mkv",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "mkv"
},
"Filters": {
"FilterList": [
{
"ID": 4,
"Settings": {
"mode": "7"
}
},
{
"ID": 3,
"Settings": {
"block-height": "16",
"block-thresh": "40",
"block-width": "16",
"filter-mode": "2",
"mode": "3",
"motion-thresh": "1",
"spatial-metric": "2",
"spatial-thresh": "1"
}
},
{
"ID": 11,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "1080",
"width": "1920"
}
},
{
"ID": 6,
"Settings": {
"mode": "1"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 1,
"Path": "D:\\Download\\Terminate\\Advent_Concert-Frauenkirche\\Advent_Concert-Frauenkirche.mkv"
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"Encoder": "nvenc_h265",
"Level": "4.1",
"Bitrate": 3400,
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "medium",
"Profile": "main",
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[23:05:03] CPU: Intel(R) Core(TM) i9-7980XE CPU @ 2.60GHz
[23:05:03] - logical processor count: 36
[23:05:03] Intel Quick Sync Video support: no
[23:05:03] hb_scan: path=D:\Download\Terminate\Advent_Concert-Frauenkirche\Advent_Concert-Frauenkirche.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image D:\Download\Terminate\Advent_Concert-Frauenkirche\Advent_Concert-Frauenkirche.mkv
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[23:05:03] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[23:05:03] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'D:\Download\Terminate\Advent_Concert-Frauenkirche\Advent_Concert-Frauenkirche.mkv':
Metadata:
encoder : Lavf51.12.1
Duration: 00:58:19.68, start: 0.000000, bitrate: 6370 kb/s
Stream #0:0: Video: h264 (Constrained Baseline), yuvj420p(pc, bt470bg, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
Stream #0:1: Audio: ac3, 48000 Hz, stereo, fltp, 384 kb/s (default)
[23:05:03] scan: decoding previews for title 1
[23:05:03] scan: audio 0x1: ac3, rate=48000Hz, bitrate=384000 Unknown (AC3) (2.0 ch)
[23:05:04] scan: 10 previews, 1920x1080, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[23:05:04] scan: supported video decoders: avcodec qsv
[23:05:04] libhb: scan thread found 1 valid title(s)
[23:05:04] starting job
[23:05:04] decomb filter thread started for segment 0
[23:05:04] decomb filter thread started for segment 1
[23:05:04] decomb filter thread started for segment 2
[23:05:04] decomb filter thread started for segment 8
[23:05:04] decomb filter thread started for segment 5
[23:05:04] decomb filter thread started for segment 4
[23:05:04] decomb filter thread started for segment 6
[23:05:04] decomb filter thread started for segment 7
[23:05:04] decomb filter thread started for segment 9
[23:05:04] decomb filter thread started for segment 10
[23:05:04] decomb filter thread started for segment 3
[23:05:04] decomb filter thread started for segment 31
[23:05:04] decomb check thread started for segment 2
[23:05:04] decomb check thread started for segment 7
[23:05:04] decomb filter thread started for segment 14
[23:05:04] decomb check thread started for segment 17
[23:05:04] decomb filter thread started for segment 16
[23:05:04] decomb filter thread started for segment 17
[23:05:04] decomb check thread started for segment 26
[23:05:04] decomb check thread started for segment 29
[23:05:04] decomb check thread started for segment 31
[23:05:04] decomb filter thread started for segment 21
[23:05:04] decomb filter thread started for segment 22
[23:05:04] decomb filter thread started for segment 23
[23:05:04] mask filter thread started for segment 10
[23:05:04] decomb filter thread started for segment 26
[23:05:04] mask filter thread started for segment 14
[23:05:04] decomb filter thread started for segment 27
[23:05:04] mask filter thread started for segment 24
[23:05:04] decomb filter thread started for segment 28
[23:05:04] mask filter thread started for segment 32
[23:05:04] mask erode thread started for segment 1
[23:05:04] decomb filter thread started for segment 33
[23:05:04] mask erode thread started for segment 11
[23:05:04] mask erode thread started for segment 13
[23:05:04] decomb filter thread started for segment 35
[23:05:04] decomb check thread started for segment 0
[23:05:04] decomb check thread started for segment 1
[23:05:04] decomb filter thread started for segment 12
[23:05:04] decomb check thread started for segment 4
[23:05:04] decomb check thread started for segment 3
[23:05:04] decomb check thread started for segment 5
[23:05:04] mask dilate thread started for segment 8
[23:05:04] decomb check thread started for segment 8
[23:05:04] decomb filter thread started for segment 13
[23:05:04] decomb check thread started for segment 9
[23:05:04] mask dilate thread started for segment 19
[23:05:04] decomb check thread started for segment 11
[23:05:04] mask dilate thread started for segment 25
[23:05:04] decomb check thread started for segment 13
[23:05:04] decomb check thread started for segment 15
[23:05:04] decomb check thread started for segment 14
[23:05:04] yadif thread started for segment 5
[23:05:04] decomb filter thread started for segment 15
[23:05:04] decomb check thread started for segment 18
[23:05:04] decomb check thread started for segment 19
[23:05:04] yadif thread started for segment 24
[23:05:04] yadif thread started for segment 27
[23:05:04] decomb check thread started for segment 22
[23:05:04] decomb check thread started for segment 23
[23:05:04] decomb check thread started for segment 24
[23:05:04] work: only 1 chapter, disabling chapter markers
[23:05:04] job configuration:
[23:05:04] * source
[23:05:04] + D:\Download\Terminate\Advent_Concert-Frauenkirche\Advent_Concert-Frauenkirche.mkv
[23:05:04] decomb check thread started for segment 25
[23:05:04] + title 1, chapter(s) 1 to 1
[23:05:04] + container: matroska,webm
[23:05:04] + data rate: 6370 kbps
[23:05:04] * destination
[23:05:04] + E:\Manhunt\Advent Concert-Frauenkirche-1.mkv
[23:05:04] + container: Matroska (libavformat)
[23:05:04] * video track
[23:05:04] + decoder: h264
[23:05:04] + filters
[23:05:04] + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[23:05:04] + Decomb (mode=39)
[23:05:04] + Framerate Shaper (mode=1)
[23:05:04] + frame rate: 25.000 fps -> constant 25.000 fps
[23:05:04] + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[23:05:04] + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[23:05:04] + Output geometry
[23:05:04] + storage dimensions: 1920 x 1080
[23:05:04] + pixel aspect ratio: 1 : 1
[23:05:04] decomb filter thread started for segment 18
[23:05:04] + display dimensions: 1920 x 1080
[23:05:04] + encoder: H.265 (NVEnc)
[23:05:04] + preset: medium
[23:05:04] + profile: main
[23:05:04] + level: 4.1
[23:05:04] + bitrate: 3400 kbps, pass: 0
[23:05:04] + color profile: 5-1-6
[23:05:04] * audio track 1
[23:05:04] + decoder: Unknown (AC3) (2.0 ch) (track 1, id 0x1)
[23:05:04] + bitrate: 384 kbps, samplerate: 48000 Hz
[23:05:04] + mixdown: Stereo
[23:05:04] + dither: none
[23:05:04] decomb check thread started for segment 27
[23:05:04] + encoder: AC3 (libavcodec)
[23:05:04] + bitrate: 192 kbps, samplerate: 48000 Hz
[23:05:04] decomb check thread started for segment 28
[23:05:04] decomb filter thread started for segment 19
[23:05:04] decomb check thread started for segment 30
[23:05:04] decomb filter thread started for segment 20
[23:05:04] decomb check thread started for segment 33
[23:05:04] decomb check thread started for segment 32
[23:05:04] decomb check thread started for segment 34
[23:05:04] decomb check thread started for segment 35
[23:05:04] mask filter thread started for segment 0
[23:05:04] mask filter thread started for segment 1
[23:05:04] mask filter thread started for segment 2
[23:05:04] mask filter thread started for segment 3
[23:05:04] mask filter thread started for segment 4
[23:05:04] mask filter thread started for segment 5
[23:05:04] mask filter thread started for segment 6
[23:05:04] mask filter thread started for segment 7
[23:05:04] mask filter thread started for segment 8
[23:05:04] mask filter thread started for segment 9
[23:05:04] decomb filter thread started for segment 24
[23:05:04] mask filter thread started for segment 11
[23:05:04] mask filter thread started for segment 12
[23:05:04] mask filter thread started for segment 13
[23:05:04] mask filter thread started for segment 15
[23:05:04] decomb filter thread started for segment 25
[23:05:04] mask filter thread started for segment 16
[23:05:04] mask filter thread started for segment 17
[23:05:04] mask filter thread started for segment 18
[23:05:04] mask filter thread started for segment 19
[23:05:04] mask filter thread started for segment 20
[23:05:04] mask filter thread started for segment 22
[23:05:04] mask filter thread started for segment 21
[23:05:04] mask filter thread started for segment 23
[23:05:04] mask filter thread started for segment 25
[23:05:04] decomb filter thread started for segment 29
[23:05:04] mask filter thread started for segment 26
[23:05:04] mask filter thread started for segment 27
[23:05:04] mask filter thread started for segment 28
[23:05:04] mask filter thread started for segment 29
[23:05:04] mask filter thread started for segment 30
[23:05:04] mask filter thread started for segment 31
[23:05:04] mask filter thread started for segment 33
[23:05:04] decomb filter thread started for segment 30
[23:05:04] mask filter thread started for segment 34
[23:05:04] mask filter thread started for segment 35
[23:05:04] mask erode thread started for segment 0
[23:05:04] decomb filter thread started for segment 32
[23:05:04] mask erode thread started for segment 2
[23:05:04] mask erode thread started for segment 3
[23:05:04] mask erode thread started for segment 4
[23:05:04] mask erode thread started for segment 5
[23:05:04] mask erode thread started for segment 6
[23:05:04] mask erode thread started for segment 8
[23:05:04] mask erode thread started for segment 7
[23:05:04] mask erode thread started for segment 9
[23:05:04] mask erode thread started for segment 10
[23:05:04] decomb filter thread started for segment 11
[23:05:04] mask erode thread started for segment 12
[23:05:04] mask erode thread started for segment 14
[23:05:04] decomb filter thread started for segment 34
[23:05:04] mask erode thread started for segment 15
[23:05:04] mask erode thread started for segment 16
[23:05:04] mask erode thread started for segment 17
[23:05:04] mask erode thread started for segment 18
[23:05:04] mask erode thread started for segment 19
[23:05:04] mask erode thread started for segment 20
[23:05:04] mask erode thread started for segment 21
[23:05:04] mask erode thread started for segment 22
[23:05:04] mask erode thread started for segment 23
[23:05:04] mask erode thread started for segment 24
[23:05:04] mask erode thread started for segment 26
[23:05:04] mask erode thread started for segment 25
[23:05:04] mask erode thread started for segment 27
[23:05:04] mask erode thread started for segment 28
[23:05:04] mask erode thread started for segment 29
[23:05:04] mask erode thread started for segment 31
[23:05:04] mask erode thread started for segment 30
[23:05:04] mask erode thread started for segment 32
[23:05:04] mask erode thread started for segment 33
[23:05:04] mask erode thread started for segment 34
[23:05:04] mask erode thread started for segment 35
[23:05:04] mask dilate thread started for segment 0
[23:05:04] mask dilate thread started for segment 1
[23:05:04] mask dilate thread started for segment 2
[23:05:04] mask dilate thread started for segment 3
[23:05:04] mask dilate thread started for segment 4
[23:05:04] mask dilate thread started for segment 5
[23:05:04] mask dilate thread started for segment 6
[23:05:04] mask dilate thread started for segment 7
[23:05:04] mask dilate thread started for segment 9
[23:05:04] decomb check thread started for segment 6
[23:05:04] mask dilate thread started for segment 10
[23:05:04] mask dilate thread started for segment 11
[23:05:04] mask dilate thread started for segment 12
[23:05:04] mask dilate thread started for segment 15
[23:05:04] mask dilate thread started for segment 13
[23:05:04] mask dilate thread started for segment 14
[23:05:04] mask dilate thread started for segment 16
[23:05:04] mask dilate thread started for segment 17
[23:05:04] mask dilate thread started for segment 18
[23:05:04] decomb check thread started for segment 10
[23:05:04] mask dilate thread started for segment 20
[23:05:04] mask dilate thread started for segment 22
[23:05:04] mask dilate thread started for segment 23
[23:05:04] mask dilate thread started for segment 21
[23:05:04] mask dilate thread started for segment 24
[23:05:04] mask dilate thread started for segment 26
[23:05:04] decomb check thread started for segment 12
[23:05:04] mask dilate thread started for segment 27
[23:05:04] mask dilate thread started for segment 28
[23:05:04] mask dilate thread started for segment 29
[23:05:04] mask dilate thread started for segment 30
[23:05:04] mask dilate thread started for segment 31
[23:05:04] mask dilate thread started for segment 32
[23:05:04] mask dilate thread started for segment 33
[23:05:04] mask dilate thread started for segment 34
[23:05:04] mask dilate thread started for segment 35
[23:05:04] yadif thread started for segment 0
[23:05:04] yadif thread started for segment 1
[23:05:04] yadif thread started for segment 3
[23:05:04] yadif thread started for segment 2
[23:05:04] yadif thread started for segment 4
[23:05:04] decomb check thread started for segment 16
[23:05:04] yadif thread started for segment 6
[23:05:04] yadif thread started for segment 7
[23:05:04] yadif thread started for segment 8
[23:05:04] yadif thread started for segment 9
[23:05:04] yadif thread started for segment 10
[23:05:04] yadif thread started for segment 11
[23:05:04] yadif thread started for segment 13
[23:05:04] yadif thread started for segment 15
[23:05:04] yadif thread started for segment 12
[23:05:04] yadif thread started for segment 14
[23:05:04] yadif thread started for segment 16
[23:05:04] yadif thread started for segment 17
[23:05:04] yadif thread started for segment 19
[23:05:04] yadif thread started for segment 18
[23:05:04] yadif thread started for segment 20
[23:05:04] yadif thread started for segment 21
[23:05:04] yadif thread started for segment 22
[23:05:04] yadif thread started for segment 23
[23:05:04] decomb check thread started for segment 20
[23:05:04] yadif thread started for segment 26
[23:05:04] decomb check thread started for segment 21
[23:05:04] yadif thread started for segment 25
[23:05:04] yadif thread started for segment 28
[23:05:04] yadif thread started for segment 29
[23:05:04] yadif thread started for segment 30
[23:05:04] yadif thread started for segment 31
[23:05:04] yadif thread started for segment 32
[23:05:04] yadif thread started for segment 33
[23:05:04] yadif thread started for segment 34
[23:05:04] yadif thread started for segment 35
[23:05:04] sync: expecting 87492 video frames
[23:05:04] encavcodecInit: H.265 (Nvidia NVENC)
[23:05:04] encavcodec: encoding with stored aspect 1/1
[23:05:04] sync: first pts video is 0
[23:05:04] sync: "Chapter 1" (1) at frame 1 time 0
[23:05:04] sync: first pts audio 0x1 is 0
[23:11:20] reader: done. 1 scr changes
[23:11:20] work: average encoding speed for job is 232.871231 fps
[23:11:20] comb detect: heavy 20 | light 454 | uncombed 87016 | total 87490
[23:11:20] decomb: deinterlaced 20 | blended 454 | unfiltered 87016 | total 87490
[23:11:20] vfr: 87490 frames output, 0 dropped and 0 duped for CFR/PFR
[23:11:20] vfr: lost time: 0 (0 frames)
[23:11:20] vfr: gained time: 0 (0 frames) (0 not accounted for)
[23:11:20] ac3-decoder done: 109365 frames, 0 decoder errors
[23:11:20] h264-decoder done: 87490 frames, 0 decoder errors
[23:11:20] sync: got 87490 frames, 87492 expected
[23:11:20] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
[23:11:20] mux: track 0, 87490 frames, 1472505686 bytes, 3366.00 kbps, fifo 1024
[23:11:20] mux: track 1, 109365 frames, 83992320 bytes, 192.00 kbps, fifo 2048
[23:11:20] libhb: work result = 0

# Encode Completed ...
it seems very bad
with dvdfab 2 passes coming out much better
what are these presets, medium, low, high?
refers to quality?
and at constant quality, if I set 24 what is it?

User avatar
s55
HandBrake Team
Posts: 9255
Joined: Sun Dec 24, 2006 1:05 pm

Re: Best settings for h265 nvenc small files

Post by s55 » Sun Dec 02, 2018 8:23 pm

with dvdfab 2 passes coming out much better
Then your not using equivalent settings. Since DVDFab doesn't expose the underlying settings, there is no way to know what they are using.

what are these presets, medium, low, high?
These are nvidia nvenc presets. They enable / disable underlying features that improve quality / filesize with the slower settings.
and at constant quality, if I set 24 what is it?
It's trying to target a set quality throughout the file. The scale is not quite the same as x264 but works in a similar way. Start in the mid point, and move to lower numbers until you hit the quality target you desire. Filesize will vary with each encode but should be more optional than setting constant bitrate.

User avatar
s55
HandBrake Team
Posts: 9255
Joined: Sun Dec 24, 2006 1:05 pm

Re: Best settings for h265 nvenc small files

Post by s55 » Sun Dec 02, 2018 8:42 pm

Also, if you update to the latest nightly, the default rate control methods have changed. for bitrate, it's now using the higher quality cbr modes by default which should include the fake 2pass mode that it does. For quality, it's now using constqp rather than vbr.

And finally, You have a 7980XE, why in the heck would you use NVNEC when x265 is significantly better?

kata40
Posts: 20
Joined: Sun Nov 25, 2018 6:47 pm

Re: Best settings for h265 nvenc small files

Post by kata40 » Sun Dec 02, 2018 8:54 pm

the video processor does not wear as big as a computer processor, or at least so I think

Post Reply