x265_10bit ignores encoder-level setting

Discussion of the HandBrake command line interface (CLI)
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.
Post Reply
jasonsansone
Posts: 8
Joined: Wed Oct 02, 2019 12:54 pm

x265_10bit ignores encoder-level setting

Post by jasonsansone » Wed Oct 02, 2019 9:22 pm

I wish to encode HEVC at 10bit, Main 10@5.1@High. I can achieve 10bit HEVC at Main10, but Handbrake ignores the --encoder-level "5.1" and I have no idea how to set to High tier instead of Main. I am using Windows 10 1903 with HandbrakeCLI 1.2.2. Log below.


How can I force 10bit h265 Main10 level 5.1 at High tier?

Command line use:

handbrakecli --format "av_mkv" --no-markers --previews 25:0 --encoder "x265_10bit" --width "3840" --maxHeight "2160" --auto-anamorphic --modulus "2" --no-hqdn3d --no-nlmeans --no-deblock --encoder-preset "medium" --encoder-profile "main10" --encoder-level "5.1" --quality "18" --rate "30" --pfr --start-at "duration:1800" --stop-at "duration:60" --first-audio --audio-lang-list eng --aencoder=copy -i "P:\To Sort\To Encode\4K Movie Monitor Folder - Local\test.mkv" -o "P:\To Sort\To Encode\4K Movie Monitor Folder - Local\test.mkv" 2> "P:\To Sort\To Encode\4K Movie Monitor Folder - Local\log.txt"


Code: Select all

Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
[15:52:30] hb_init: starting libhb thread
[15:52:30] thread 409be80 started ("libhb")
HandBrake 1.2.2 (2019022300) - MinGW x86_64 - https://handbrake.fr
40 CPUs detected
Opening P:\To Sort\To Encode\4K Movie Monitor Folder - Local\test.mkv...
[15:52:30] CPU: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz
[15:52:30]  - Intel microarchitecture Ivy Bridge
[15:52:30]  - logical processor count: 40
[15:52:30] Intel Quick Sync Video support: no
[15:52:30] hb_scan: path=P:\To Sort\To Encode\4K Movie Monitor Folder - Local\test.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image P:\To Sort\To Encode\4K Movie Monitor Folder - Local\test.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
[15:52:30] 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
[15:52:30] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'P:\To Sort\To Encode\4K Movie Monitor Folder - Local\test.mkv':
  Metadata:
    title           : 
    encoder         : libmakemkv v1.14.5 (1.3.5/1.4.7) win(x64-release)
    creation_time   : 2019-09-27T18:29:18.000000Z
  Duration: 03:01:11.53, start: 0.000000, bitrate: 40833 kb/s
    Chapter #0:0: start 0.000000, end 485.776958
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 485.776958, end 1201.867333
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 1201.867333, end 1575.448875
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 1575.448875, end 2217.340125
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 2217.340125, end 2600.764833
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 2600.764833, end 2924.254667
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 2924.254667, end 3456.911792
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 3456.911792, end 4032.778750
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 4032.778750, end 4562.683125
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 4562.683125, end 5185.471958
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 5185.471958, end 5540.284750
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 5540.284750, end 5935.846583
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 5935.846583, end 6492.402583
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 6492.402583, end 7047.081708
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 7047.081708, end 7500.242750
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 7500.242750, end 8106.473375
    Metadata:
      title           : Chapter 16
    Chapter #0:16: start 8106.473375, end 8750.616875
    Metadata:
      title           : Chapter 17
    Chapter #0:17: start 8750.616875, end 9278.102167
    Metadata:
      title           : Chapter 18
    Chapter #0:18: start 9278.102167, end 9784.065958
    Metadata:
      title           : Chapter 19
    Chapter #0:19: start 9784.065958, end 10145.385250
    Metadata:
      title           : Chapter 20
    Chapter #0:20: start 10145.385250, end 10871.527333
    Metadata:
      title           : Chapter 21
    Stream #0:0(eng): Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc
    Metadata:
      BPS-eng         : 36009641
      DURATION-eng    : 03:01:11.527333333
      NUMBER_OF_FRAMES-eng: 260656
      NUMBER_OF_BYTES-eng: 48934974087
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.5 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-09-27 18:29:18
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) (default)
    Metadata:
      title           : Surround 7.1
      BPS-eng         : 4776545
      DURATION-eng    : 03:01:11.528333333
      NUMBER_OF_FRAMES-eng: 13045834
      NUMBER_OF_BYTES-eng: 6491043968
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.5 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-09-27 18:29:18
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle (default)
    Metadata:
      BPS-eng         : 33835
      DURATION-eng    : 03:00:53.488479166
      NUMBER_OF_FRAMES-eng: 5292
      NUMBER_OF_BYTES-eng: 45903489
      SOURCE_ID-eng   : 0012A0
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.5 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-09-27 18:29:18
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:3: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 640x360 [SAR 100:100 DAR 16:9], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      filename        : cover.jpg
      mimetype        : image/jpeg
[15:52:30] scan: decoding previews for title 1
[15:52:30] scan: audio 0x1: truehd, rate=48000Hz, bitrate=1 English (TrueHD) (7.1 ch)

Scanning title 1 of 1, preview 1, 4.00 %
Scanning title 1 of 1, preview 1, 4.00 %
Scanning title 1 of 1, preview 1, 4.00 %
Scanning title 1 of 1, preview 2, 8.00 %
Scanning title 1 of 1, preview 2, 8.00 %
Scanning title 1 of 1, preview 2, 8.00 %
Scanning title 1 of 1, preview 3, 12.00 %
Scanning title 1 of 1, preview 3, 12.00 %
Scanning title 1 of 1, preview 3, 12.00 %
Scanning title 1 of 1, preview 4, 16.00 %
Scanning title 1 of 1, preview 4, 16.00 %
Scanning title 1 of 1, preview 4, 16.00 %
Scanning title 1 of 1, preview 4, 16.00 %
Scanning title 1 of 1, preview 5, 20.00 %
Scanning title 1 of 1, preview 5, 20.00 %
Scanning title 1 of 1, preview 5, 20.00 %
Scanning title 1 of 1, preview 6, 24.00 %
Scanning title 1 of 1, preview 6, 24.00 %
Scanning title 1 of 1, preview 6, 24.00 %
Scanning title 1 of 1, preview 7, 28.00 %
Scanning title 1 of 1, preview 7, 28.00 %
Scanning title 1 of 1, preview 8, 32.00 %
Scanning title 1 of 1, preview 8, 32.00 %
Scanning title 1 of 1, preview 9, 36.00 %
Scanning title 1 of 1, preview 9, 36.00 %
Scanning title 1 of 1, preview 9, 36.00 %
Scanning title 1 of 1, preview 10, 40.00 %
Scanning title 1 of 1, preview 10, 40.00 %
Scanning title 1 of 1, preview 11, 44.00 %
Scanning title 1 of 1, preview 11, 44.00 %
Scanning title 1 of 1, preview 11, 44.00 %
Scanning title 1 of 1, preview 12, 48.00 %
Scanning title 1 of 1, preview 12, 48.00 %
Scanning title 1 of 1, preview 12, 48.00 %
Scanning title 1 of 1, preview 12, 48.00 %
Scanning title 1 of 1, preview 13, 52.00 %
Scanning title 1 of 1, preview 13, 52.00 %
Scanning title 1 of 1, preview 13, 52.00 %
Scanning title 1 of 1, preview 14, 56.00 %
Scanning title 1 of 1, preview 14, 56.00 %
Scanning title 1 of 1, preview 15, 60.00 %
Scanning title 1 of 1, preview 15, 60.00 %
Scanning title 1 of 1, preview 15, 60.00 %
Scanning title 1 of 1, preview 15, 60.00 %
Scanning title 1 of 1, preview 16, 64.00 %
Scanning title 1 of 1, preview 16, 64.00 %
Scanning title 1 of 1, preview 17, 68.00 %
Scanning title 1 of 1, preview 17, 68.00 %
Scanning title 1 of 1, preview 17, 68.00 %
Scanning title 1 of 1, preview 18, 72.00 %
Scanning title 1 of 1, preview 18, 72.00 %
Scanning title 1 of 1, preview 19, 76.00 %
Scanning title 1 of 1, preview 19, 76.00 %
Scanning title 1 of 1, preview 19, 76.00 %
Scanning title 1 of 1, preview 19, 76.00 %
Scanning title 1 of 1, preview 20, 80.00 %
Scanning title 1 of 1, preview 20, 80.00 %
Scanning title 1 of 1, preview 20, 80.00 %
Scanning title 1 of 1, preview 21, 84.00 %
Scanning title 1 of 1, preview 21, 84.00 %
Scanning title 1 of 1, preview 21, 84.00 %
Scanning title 1 of 1, preview 22, 88.00 %
Scanning title 1 of 1, preview 22, 88.00 %
Scanning title 1 of 1, preview 23, 92.00 %
Scanning title 1 of 1, preview 23, 92.00 %
Scanning title 1 of 1, preview 23, 92.00 %
Scanning title 1 of 1, preview 23, 92.00 %
Scanning title 1 of 1, preview 24, 96.00 %
Scanning title 1 of 1, preview 24, 96.00 %
Scanning title 1 of 1, preview 25, 100.00 %
Scanning title 1 of 1, preview 25, 100.00 %
Scanning title 1 of 1, preview 25, 100.00 %[15:52:45] scan: 25 previews, 3840x2160, 23.976 fps, autocrop = 276/276/0/0, aspect 16:9, PAR 1:1
[15:52:45] scan: supported video decoders: avcodec qsv
[15:52:45] libhb: scan thread found 1 valid title(s)
+ Using preset: CLI Default
+ title 1:
  + stream: P:\To Sort\To Encode\4K Movie Monitor Folder - Local\test.mkv
  + duration: 03:01:11
  + size: 3840x2160, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 276/276/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:08:06
    + 2: cells 0->0, 0 blocks, duration 00:11:56
    + 3: cells 0->0, 0 blocks, duration 00:06:14
    + 4: cells 0->0, 0 blocks, duration 00:10:42
    + 5: cells 0->0, 0 blocks, duration 00:06:23
    + 6: cells 0->0, 0 blocks, duration 00:05:23
    + 7: cells 0->0, 0 blocks, duration 00:08:53
    + 8: cells 0->0, 0 blocks, duration 00:09:36
    + 9: cells 0->0, 0 blocks, duration 00:08:50
    + 10: cells 0->0, 0 blocks, duration 00:10:23
    + 11: cells 0->0, 0 blocks, duration 00:05:55
    + 12: cells 0->0, 0 blocks, duration 00:06:36
    + 13: cells 0->0, 0 blocks, duration 00:09:17
    + 14: cells 0->0, 0 blocks, duration 00:09:15
    + 15: cells 0->0, 0 blocks, duration 00:07:33
    + 16: cells 0->0, 0 blocks, duration 00:10:06
    + 17: cells 0->0, 0 blocks, duration 00:10:44
    + 18: cells 0->0, 0 blocks, duration 00:08:47
    + 19: cells 0->0, 0 blocks, duration 00:08:26
    + 20: cells 0->0, 0 blocks, duration 00:06:01
    + 21: cells 0->0, 0 blocks, duration 00:12:06
  + audio tracks:
    + 1, English (TrueHD) (7.1 ch) (iso639-2: eng)
  + subtitle tracks:
    + 1, English [PGS]
[15:52:45] 1 job(s) to process
[15:52:45] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Bitrate": 0,
                "DRC": 0.0,
                "Encoder": "copy:truehd",
                "Mixdown": "none",
                "PresetEncoder": "copy",
                "Quality": -3.0,
                "Samplerate": 0,
                "Track": 0
            }
        ],
        "CopyMask": [
            "copy:aac",
            "copy:ac3",
            "copy:eac3",
            "copy:dtshd",
            "copy:dts",
            "copy:mp3",
            "copy:truehd",
            "copy:flac"
        ],
        "FallbackEncoder": "av_aac"
    },
    "Destination": {
        "AlignAVStart": false,
        "ChapterList": [
            {
                "Name": "Chapter 1"
            },
            {
                "Name": "Chapter 2"
            },
            {
                "Name": "Chapter 3"
            },
            {
                "Name": "Chapter 4"
            },
            {
                "Name": "Chapter 5"
            },
            {
                "Name": "Chapter 6"
            },
            {
                "Name": "Chapter 7"
            },
            {
                "Name": "Chapter 8"
            },
            {
                "Name": "Chapter 9"
            },
            {
                "Name": "Chapter 10"
            },
            {
                "Name": "Chapter 11"
            },
            {
                "Name": "Chapter 12"
            },
            {
                "Name": "Chapter 13"
            },
            {
                "Name": "Chapter 14"
            },
            {
                "Name": "Chapter 15"
            },
            {
                "Name": "Chapter 16"
            },
            {
                "Name": "Chapter 17"
            },
            {
                "Name": "Chapter 18"
            },
            {
                "Name": "Chapter 19"
            },
            {
                "Name": "Chapter 20"
            },
            {
                "Name": "Chapter 21"
            }
        ],
        "ChapterMarkers": false,
        "File": "P:\\To Sort\\To Encode\\4K Movie Monitor Folder - Local\\test.mkv",
        "InlineParameterSets": false,
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": false
        },
        "Mux": "mkv"
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 6,
                "Settings": {
                    "mode": 2,
                    "rate": "27000000/900000"
                }
            },
            {
                "ID": 11,
                "Settings": {
                    "crop-bottom": 276,
                    "crop-left": 0,
                    "crop-right": 0,
                    "crop-top": 276,
                    "height": 1608,
                    "width": 3840
                }
            }
        ]
    },
    "Metadata": {
        "Name": ""
    },
    "PAR": {
        "Den": 1,
        "Num": 1
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "P:\\To Sort\\To Encode\\4K Movie Monitor Folder - Local\\test.mkv",
        "Range": {
            "End": 167400000,
            "Start": 162000000,
            "Type": "time"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": false,
            "Forced": false
        },
        "SubtitleList": []
    },
    "Video": {
        "ColorMatrix": 9,
        "ColorPrimaries": 9,
        "ColorTransfer": 16,
        "Encoder": "x265_10bit",
        "Level": "5.1",
        "Preset": "medium",
        "Profile": "main10",
        "QSV": {
            "AsyncDepth": 4,
            "Decode": false
        },
        "Quality": 18.0,
        "Turbo": false,
        "TwoPass": false
    }
}
[15:52:45] starting job
[15:52:45] job configuration:
[15:52:45]  * source
[15:52:45]    + P:\To Sort\To Encode\4K Movie Monitor Folder - Local\test.mkv
[15:52:45]    + title 1, start 00:30:0.00 stop 00:31:0.00
[15:52:45]    + container: matroska,webm
[15:52:45]    + data rate: 40833 kbps
[15:52:45]  * destination
[15:52:45]    + P:\To Sort\To Encode\4K Movie Monitor Folder - Local\test.mkv
[15:52:45]    + container: Matroska (libavformat)
[15:52:45]  * video track
[15:52:45]    + decoder: hevc
[15:52:45]    + filters
[15:52:45]      + Framerate Shaper (mode=2:rate=27000000/900000)
[15:52:45]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[15:52:45]      + Crop and Scale (width=3840:height=1608:crop-top=276:crop-bottom=276:crop-left=0:crop-right=0)
[15:52:45]        + source: 3840 * 2160, crop (276/276/0/0): 3840 * 1608, scale: 3840 * 1608
[15:52:45]    + Output geometry
[15:52:45]      + storage dimensions: 3840 x 1608
[15:52:45]      + pixel aspect ratio: 1 : 1
[15:52:45]      + display dimensions: 3840 x 1608
[15:52:45]    + encoder: H.265 10-bit (libx265)
[15:52:45]      + preset:  medium
[15:52:45]      + profile: main10
[15:52:45]      + quality: 18.00 (RF)
[15:52:45]      + color profile: 9-16-9
[15:52:45]  * audio track 1
[15:52:45]    + decoder: English (TrueHD) (7.1 ch) (track 1, id 0x1)
[15:52:45]      + samplerate: 48000 Hz
[15:52:45]    + TrueHD Passthru
[15:52:45] sync: expecting 1462 video frames
x265 [info]: HEVC encoder version 2.9
x265 [info]: build info [Windows][GCC 8.2.0][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x265 [info]: Main 10 profile, Level-5 (Main tier)
x265 [info]: Thread pool 0 using 20 threads on numa nodes 0
x265 [info]: Thread pool 1 using 20 threads on numa nodes 1
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 5 / wpp(26 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-18.0 / 0.60
x265 [info]: tools: rd=3 psy-rd=2.00 rskip signhide tmvp strong-intra-smoothing
x265 [info]: tools: lslices=8 deblock sao
[15:52:46] reader: done. 1 scr changes
[15:52:46] work: average encoding speed for job is 0.000000 fps
[15:52:46] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[15:52:46] vfr: lost time: 0 (0 frames)
[15:52:46] vfr: gained time: 0 (0 frames) (0 not accounted for)
[15:52:46] truehd-decoder done: 0 frames, 0 decoder errors
[15:52:46] hevc-decoder done: 0 frames, 0 decoder errors
[15:52:46] sync: got 0 frames, 1462 expected

encoded 0 frames
[15:52:46] mux: track 0, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[15:52:46] mux: track 1, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[15:52:46] libhb: work result = 0

Encode done!
HandBrake has exited.

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

Re: x265_10bit ignores encoder-level setting

Post by s55 » Wed Oct 02, 2019 9:45 pm

encoder level is not available for x265 in 1.2.2.
Even if you use a nightly and set a level, it's a limiter, not a set feature. So you may still get below this depending on the encoded content. This isn't an issue.


Also, there is no main10@high profile

for x265, these are your available profile choices:

8bit profiles:
main and mainstillpicture

and for 10bit:
main10 and main10-intra

jasonsansone
Posts: 8
Joined: Wed Oct 02, 2019 12:54 pm

Re: x265_10bit ignores encoder-level setting

Post by jasonsansone » Wed Oct 02, 2019 9:54 pm

Main 10 profile has a main tier and a high tier for levels at and above 4.0. At Level 5, the Main tier has a bitrate limit of 25Mbps while High tier is 100. For L5.1 those numbers increase to 40 and 160 respectively. All UHD discs are Main10@L5.1@High to enable a maximum bitrate of 160Mbps.

https://en.wikipedia.org/wiki/High_Effi ... and_levels

If I understand correctly, the ability to force a level is not available in x265, like it is in x264, but will be selected based upon the bitrate requirement. However, how can the software possibly know the greatest peak bitrate inside of a stream before the entire stream has been read and transcoded? By defaulting Main 10 at Level 5 at Main tier, the highest possible peak bitrate Is 25mbps which could easily be exceeded by a UHD video stream.

User avatar
Rodeo
HandBrake Team
Posts: 12248
Joined: Tue Mar 03, 2009 8:55 pm

Re: x265_10bit ignores encoder-level setting

Post by Rodeo » Wed Oct 02, 2019 9:59 pm

If you set your VBV settings correctly, x265 should select an appropriate level and tier for you.

jasonsansone
Posts: 8
Joined: Wed Oct 02, 2019 12:54 pm

Re: x265_10bit ignores encoder-level setting

Post by jasonsansone » Wed Oct 02, 2019 10:53 pm

@Rodeo, you are a sage genius. For anyone else curious, the solution is adding --encopts "vbv-maxrate=159000" (or whatever you want based on the above linked table). Thank you again!

User avatar
Rodeo
HandBrake Team
Posts: 12248
Joined: Tue Mar 03, 2009 8:55 pm

Re: x265_10bit ignores encoder-level setting

Post by Rodeo » Wed Oct 02, 2019 11:24 pm

160000 should work fine as well, no need for an offset or safety margin here, I don't think.

jasonsansone
Posts: 8
Joined: Wed Oct 02, 2019 12:54 pm

Re: x265_10bit ignores encoder-level setting

Post by jasonsansone » Thu Oct 03, 2019 12:01 am

I hadn’t checked it at exactly 160000, my first test was with the safety margin. Haven’t yet tested at length.

mduell
Veteran User
Posts: 6719
Joined: Sat Apr 21, 2007 8:54 pm

Re: x265_10bit ignores encoder-level setting

Post by mduell » Thu Oct 03, 2019 11:57 pm

Do you also need a vbv-bufsize for the vbv-maxrate to be effective?

User avatar
Rodeo
HandBrake Team
Posts: 12248
Joined: Tue Mar 03, 2009 8:55 pm

Re: x265_10bit ignores encoder-level setting

Post by Rodeo » Fri Oct 04, 2019 12:07 am

x265 auto-sets a bufsize for you IIRC.

jasonsansone
Posts: 8
Joined: Wed Oct 02, 2019 12:54 pm

Re: x265_10bit ignores encoder-level setting

Post by jasonsansone » Fri Oct 04, 2019 12:21 am

I didn’t use the bufsize parameter but was able to force my encode to Main10@5.1@High like I wanted.

Post Reply