RandomEngy / VidCoder

A Blu-ray, DVD and video file transcoder for Windows.
http://vidcoder.net
GNU General Public License v2.0
699 stars 42 forks source link

Crash when trying to encode UHD disc with H265 10bit Nvenc #1058

Closed Jemalaar closed 2 years ago

Jemalaar commented 2 years ago

Problem Description

It's fantastic to have added the possibility to encode a BD UHD in H265 10bit with Nvenc acceleration. But unfortunately, I've tried with 3 different discs ant it always aborts. It would be amazing to fix this problem in the future versions of Vidcoder. Congratulations for this software that offers many possibilities. Jean-Marie Montegnies

What version of VidCoder are you running?

8.9 Beta SquirrelInstaller

Encode Log

# VidCoder 8.9 Beta
# Starting job 1/1
#   Source path: F:\
#   Destination path: D:\VidCoder\Charlies Angels 2019 - Title 112.mkv
#   Title: 112
#   Range: All
#   Preset: JM_UHD
# Worker ready: Pipe 'VidCoderWorker.0d317970-07d7-426d-88cd-a97fffb1aac4' is open
# Connecting to process 14728 on pipe VidCoderWorker.0d317970-07d7-426d-88cd-a97fffb1aac4
ing libhb thread
[01:25:57] CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
[01:25:57]  - Intel microarchitecture Skylake
[01:25:57]  - logical processor count: 8
[01:25:57] Intel Quick Sync Video support: no
[01:25:57] hb_scan: path=F:\, title_index=112
src/libbluray/bdj/bdj.c:137: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:781: BD-J check: Failed to load JVM library
src/libbluray/bdj/bdj.c:137: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:781: BD-J check: Failed to load JVM library
[01:25:57] scan: BD has 121 title(s)
[01:25:57] bd: scanning title 112
[01:25:57] bd: playlist 00244.MPLS
[01:25:57] bd: duration is 01:58:30 (7110102 ms)
[01:25:57] bd: video id=0x1011, stream type=HEVC, format 2160p
[01:25:57] bd: aspect = 16:9
[01:25:57] bd: audio id=0x711100, lang=English (DTS), 3cc=eng
[01:25:57] bd: audio id=0x1100, lang=English (DTS-HD MA), 3cc=eng
[01:25:57] bd: audio id=0x1101, lang=English (AC3), 3cc=eng
[01:25:57] bd: audio id=0x711102, lang=Francais (DTS), 3cc=fra
[01:25:57] bd: audio id=0x1102, lang=Francais (DTS-HD MA), 3cc=fra
[01:25:57] bd: audio id=0x1103, lang=?? (AC3), 3cc=zho
[01:25:57] bd: audio id=0x1104, lang=??????? (AC3), 3cc=rus
[01:25:57] bd: audio id=0x1105, lang=??? (AC3), 3cc=tha
[01:25:57] bd: subtitle id=0x12a0, lang=English [PGS], 3cc=eng
[01:25:57] bd: subtitle id=0x12a2, lang=English [PGS], 3cc=eng
[01:25:57] bd: subtitle id=0x12a3, lang=??????? [PGS], 3cc=ara
[01:25:57] bd: subtitle id=0x12a4, lang=?? [PGS], 3cc=zho
[01:25:57] bd: subtitle id=0x12a5, lang=?? [PGS], 3cc=zho
[01:25:57] bd: subtitle id=0x12a6, lang=?? [PGS], 3cc=zho
[01:25:57] bd: subtitle id=0x12a7, lang=dansk [PGS], 3cc=dan
[01:25:57] bd: subtitle id=0x12a8, lang=Nederlands [PGS], 3cc=nld
[01:25:57] bd: subtitle id=0x12a9, lang=Nederlands [PGS], 3cc=nld
[01:25:57] bd: subtitle id=0x12aa, lang=eesti [PGS], 3cc=est
[01:25:57] bd: subtitle id=0x12ab, lang=suomi [PGS], 3cc=fin
[01:25:57] bd: subtitle id=0x12ac, lang=Francais [PGS], 3cc=fra
[01:25:57] bd: subtitle id=0x12ad, lang=Bahasa Indonesia [PGS], 3cc=ind
[01:25:57] bd: subtitle id=0x12ae, lang=??? [PGS], 3cc=kor
[01:25:57] bd: subtitle id=0x12af, lang=latviesu [PGS], 3cc=lav
[01:25:57] bd: subtitle id=0x12b0, lang=lietuviu [PGS], 3cc=lit
[01:25:57] bd: subtitle id=0x12b1, lang=Bahasa Melayu [PGS], 3cc=msa
[01:25:57] bd: subtitle id=0x12b2, lang=norsk [PGS], 3cc=nor
[01:25:57] bd: subtitle id=0x12b3, lang=??????? [PGS], 3cc=rus
[01:25:57] bd: subtitle id=0x12b4, lang=svenska [PGS], 3cc=swe
[01:25:57] bd: subtitle id=0x12b5, lang=??? [PGS], 3cc=tha
[01:25:57] bd: chap 1, 626625 ms
[01:25:57] bd: chap 2, 383925 ms
[01:25:57] bd: chap 3, 578202 ms
[01:25:57] bd: chap 4, 324032 ms
[01:25:57] bd: chap 5, 343301 ms
[01:25:57] bd: chap 6, 379796 ms
[01:25:57] bd: chap 7, 163371 ms
[01:25:57] bd: chap 8, 287287 ms
[01:25:57] bd: chap 9, 223723 ms
[01:25:57] bd: chap 10, 518434 ms
[01:25:57] bd: chap 11, 455496 ms
[01:25:57] bd: chap 12, 530655 ms
[01:25:57] bd: chap 13, 632715 ms
[01:25:57] bd: chap 14, 584083 ms
[01:25:57] bd: chap 15, 292458 ms
[01:25:57] bd: chap 16, 785993 ms
[01:25:57] bd: title 112 has 16 chapters
[01:25:57] scan: decoding previews for title 112
[01:25:57] scan: title angle(s) 1
[01:25:57] scan: audio 0x711100: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch) (1536 kbps)
[01:25:57] scan: audio 0x1100: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (7.1 ch)
[01:25:57] scan: audio 0x711102: dca, rate=48000Hz, bitrate=1536000 Francais (DTS) (5.1 ch) (1536 kbps)
[01:25:57] scan: audio 0x1102: dca, rate=48000Hz, bitrate=1 Francais (DTS-HD MA) (5.1 ch)
[01:25:57] scan: audio 0x1101: ac3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch) (640 kbps)
[01:25:57] scan: audio 0x1103: ac3, rate=48000Hz, bitrate=640000 ?? (AC3) (5.1 ch) (640 kbps)
[01:25:57] scan: audio 0x1104: ac3, rate=48000Hz, bitrate=640000 ??????? (AC3) (5.1 ch) (640 kbps)
[01:25:57] scan: audio 0x1105: ac3, rate=48000Hz, bitrate=640000 ??? (AC3) (5.1 ch) (640 kbps)
[01:26:01] scan: 10 previews, 3840x2160, 23.976 fps, autocrop = 278/278/0/0, aspect 16:9, PAR 1:1, color profile: 9-16-9, chroma location: topleft
[01:26:01] scan: mastering display metadata: r(0.6800,0.3200) g(0.2650,0.6900) b(0.1500 0.0600) wp(0.3127, 0.3290) min_luminance=0.005000, max_luminance=4000.000000
[01:26:01] scan: content light level: max_cll=9949, max_fall=904
[01:26:01] stream: 7 good frames, 0 errors (0%)
[01:26:01] libhb: scan thread found 1 valid title(s)
[01:26:02] Starting work at: Sun Sep 25 01:26:02 2022
[01:26:02] 1 job(s) to process
[01:26:02] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": -1,
        "CompressionLevel": 5,
        "DRC": 0,
        "Encoder": "copy",
        "Gain": 0,
        "Mixdown": 9,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 1,
        "DitherMethod": 0
      },
      {
        "Bitrate": -1,
        "CompressionLevel": 5,
        "DRC": 0,
        "Encoder": "copy",
        "Gain": 0,
        "Mixdown": 7,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 4,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:eac3",
      "copy:truehd",
      "copy:dts",
      "copy:dtshd",
      "copy:mp2",
      "copy:mp3",
      "copy:flac",
      "copy:opus"
    ],
    "FallbackEncoder": "flac24"
  },
  "Destination": {
    "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"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "D:\\VidCoder\\Charlies Angels 2019 - Title 112.part.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_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": 14,
        "Settings": {
          "crop-bottom": "278",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "278",
          "height": "1604",
          "width": "3840"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 16
    },
    "Title": 112,
    "Path": "F:\\"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": [
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 1,
        "Offset": 0,
        "Track": 0
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 8,
        "Offset": 0,
        "Track": 7
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 12,
        "Offset": 0,
        "Track": 11
      }
    ]
  },
  "Video": {
    "Encoder": "nvenc_h265_10bit",
    "Level": "5.1",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "strong-intra-smoothing=0:rect=0:aq-mode=1",
    "Preset": "fast",
    "Profile": "auto",
    "Quality": -5,
    "QSV": {
      "Decode": true
    }
  }
}
[01:26:02] Starting Task: Encoding Pass
[01:26:02] Auto Passthru: allowed codecs are AAC, AC3, E-AC3, TrueHD, DTS, DTS-HD, MP2, MP3, FLAC, Opus
[01:26:02] Auto Passthru: fallback is FLAC 24-bit
[01:26:02] Auto Passthru: using DTS-HD Passthru for track 1
[01:26:02] Auto Passthru: using DTS-HD Passthru for track 2
[01:26:02] job configuration:
[01:26:02]  * source
[01:26:02]    + F:\
[01:26:02]    + title 112, chapter(s) 1 to 16
[01:26:02]  * destination
[01:26:02]    + D:\VidCoder\Charlies Angels 2019 - Title 112.part.mkv
[01:26:02]    + container: Matroska (libavformat)
[01:26:02]      + chapter markers
[01:26:02]  * video track
[01:26:02]    + decoder: hevc 10-bit (yuv420p10le)
[01:26:02]      + bitrate 200 kbps
[01:26:02]    + filters
[01:26:02]      + 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)
[01:26:02]      + Decomb (mode=39)
[01:26:02]      + Crop and Scale (width=3840:height=1604:crop-top=278:crop-bottom=278:crop-left=0:crop-right=0)
[01:26:02]        + source: 3840 * 2160, crop (278/278/0/0): 3840 * 1604, scale: 3840 * 1604
[01:26:02]      + Format (format=p010le)
[01:26:02]    + Output geometry
[01:26:02]      + storage dimensions: 3840 x 1604
[01:26:02]      + pixel aspect ratio: 1 : 1
[01:26:02]      + display dimensions: 3840 x 1604
[01:26:02]    + encoder: H.265 10-bit (NVEnc)
[01:26:02]      + preset:  fast
[01:26:02]      + options: strong-intra-smoothing=0:rect=0:aq-mode=1
[01:26:02]      + profile: auto
[01:26:02]      + level:   5.1
[01:26:02]      + quality: -5.00 (CQ)
[01:26:02]      + color profile: 9-16-9
[01:26:02]      + chroma location: topleft
[01:26:02]      + mastering display metadata: r(0.6800,0.3200) g(0.2650,0.6900) b(0.1500 0.0600) wp(0.3127, 0.3290) min_luminance=0.005000, max_luminance=4000.000000
[01:26:02]      + content light level: max_cll=9949, max_fall=904
[01:26:02]  * subtitle track 1, English [PGS] (track 0, id 0x12a0, Picture) -> Passthrough
[01:26:02]  * subtitle track 2, Nederlands [PGS] (track 7, id 0x12a8, Picture) -> Passthrough
[01:26:02]  * subtitle track 3, Francais [PGS] (track 11, id 0x12ac, Picture) -> Passthrough
[01:26:02]  * audio track 1
[01:26:02]    + decoder: English (DTS-HD MA) (7.1 ch) (track 2, id 0x1100)
[01:26:02]      + samplerate: 48000 Hz
[01:26:02]    + DTS-HD Passthru
[01:26:02]  * audio track 2
[01:26:02]    + decoder: Francais (DTS-HD MA) (5.1 ch) (track 5, id 0x1102)
[01:26:02]      + samplerate: 48000 Hz
[01:26:02]    + DTS-HD Passthru
src/libbluray/bdj/bdj.c:137: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:781: BD-J check: Failed to load JVM library
src/libbluray/bdj/bdj.c:137: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:781: BD-J check: Failed to load JVM library
[01:26:02] sync: expecting 170471 video frames
[01:26:02] encavcodecInit: H.265 (Nvidia NVENC)
[01:26:02] encavcodec: encoding at rc=vbr, multipass=fullres, -5.00
[01:26:02] encavcodec: encoding with stored aspect 1/1
[hevc_nvenc @ 00000228bcf849c0] Value -5.000000 for parameter 'cq' out of range [0 - 51]
[hevc_nvenc @ 00000228bcf849c0] Error setting option cq to value -5.00.
[01:26:02] encavcodecInit: avcodec_open failed
Failure to initialise thread 'FFMPEG encoder (libavcodec)'
[01:26:02] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[01:26:02] dca-decoder done: 0 frames, 0 decoder errors
[01:26:02] dca-decoder done: 0 frames, 0 decoder errors
[01:26:02] hevc-decoder done: 0 frames, 0 decoder errors
[01:26:02] sync: got 0 frames, 170471 expected
[01:26:02] Finished work at: Sun Sep 25 01:26:02 2022
[01:26:02] libhb: work result = 3
ERROR: Encode failed with code ErrorInit
# Job completed (Elapsed Time: 5s)

# VidCoder 8.9 Beta
# Starting job 1/1
#   Source path: D:\Downloads on D\Crawl.2019.MULTi.COMPLETE.UHD.BLURAY-B0MBARDiERS_wWw.Extreme-Down.io.iso
#   Destination path: D:\VidCoder\Crawl.2019.MULTi.COMPLETE.UHD.BLURAY-B0MBARDiERS wWw.Extreme-Down.io - Title 19.mkv
#   Title: 19
#   Range: All
#   Preset: JM_UHD
# Worker ready: Pipe 'VidCoderWorker.e1d112de-9303-43a9-86e8-a900bef60fa1' is open
# Connecting to process 12536 on pipe VidCoderWorker.e1d112de-9303-43a9-86e8-a900bef60fa1
[01:54:13] hb_init: starting libhb thread
[01:54:13] CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
[01:54:13]  - Intel microarchitecture Skylake
[01:54:13]  - logical processor count: 8
[01:54:13] Intel Quick Sync Video support: no
[01:54:13] hb_scan: path=D:\Downloads on D\Crawl.2019.MULTi.COMPLETE.UHD.BLURAY-B0MBARDiERS_wWw.Extreme-Down.io.iso, title_index=19
src/libbluray/bdj/bdj.c:137: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:781: BD-J check: Failed to load JVM library
src/libbluray/bdj/bdj.c:137: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:781: BD-J check: Failed to load JVM library
[01:54:13] scan: BD has 34 title(s)
[01:54:13] bd: scanning title 19
[01:54:13] bd: playlist 00100.MPLS
[01:54:13] bd: duration is 01:27:33 (5253665 ms)
[01:54:13] bd: video id=0x1011, stream type=HEVC, format 2160p
[01:54:13] bd: aspect = 16:9
[01:54:13] bd: audio id=0x711100, lang=English (DTS), 3cc=eng
[01:54:13] bd: audio id=0x1100, lang=English (DTS-HD MA), 3cc=eng
[01:54:13] bd: audio id=0x1101, lang=Deutsch (AC3), 3cc=deu
[01:54:13] bd: audio id=0x1102, lang=espa¤ol (AC3), 3cc=spa
[01:54:13] bd: audio id=0x1103, lang=espa¤ol (AC3), 3cc=spa
[01:54:13] bd: audio id=0x1104, lang=Francais (AC3), 3cc=fra
[01:54:13] bd: audio id=0x1105, lang=??? (AC3), 3cc=jpn
[01:54:13] bd: subtitle id=0x12a0, lang=English [PGS], 3cc=eng
[01:54:13] bd: subtitle id=0x12a1, lang=English [PGS], 3cc=eng
[01:54:13] bd: subtitle id=0x12a2, lang=dansk [PGS], 3cc=dan
[01:54:13] bd: subtitle id=0x12a3, lang=Deutsch [PGS], 3cc=deu
[01:54:13] bd: subtitle id=0x12a4, lang=espa¤ol [PGS], 3cc=spa
[01:54:13] bd: subtitle id=0x12a5, lang=espa¤ol [PGS], 3cc=spa
[01:54:13] bd: subtitle id=0x12a6, lang=Francais [PGS], 3cc=fra
[01:54:13] bd: subtitle id=0x12a7, lang=italiano [PGS], 3cc=ita
[01:54:13] bd: subtitle id=0x12a8, lang=??? [PGS], 3cc=jpn
[01:54:13] bd: subtitle id=0x12a9, lang=Nederlands [PGS], 3cc=nld
[01:54:13] bd: subtitle id=0x12aa, lang=norsk [PGS], 3cc=nor
[01:54:13] bd: subtitle id=0x12ab, lang=Portugues [PGS], 3cc=por
[01:54:13] bd: subtitle id=0x12ac, lang=suomi [PGS], 3cc=fin
[01:54:13] bd: subtitle id=0x12ad, lang=svenska [PGS], 3cc=swe
[01:54:13] bd: subtitle id=0x12ae, lang=Deutsch [PGS], 3cc=deu
[01:54:13] bd: subtitle id=0x12af, lang=espa¤ol [PGS], 3cc=spa
[01:54:13] bd: subtitle id=0x12b0, lang=espa¤ol [PGS], 3cc=spa
[01:54:13] bd: subtitle id=0x12b1, lang=Francais [PGS], 3cc=fra
[01:54:13] bd: subtitle id=0x12b2, lang=??? [PGS], 3cc=jpn
[01:54:13] bd: chap 1, 472847 ms
[01:54:13] bd: chap 2, 444444 ms
[01:54:13] bd: chap 3, 419168 ms
[01:54:13] bd: chap 4, 747538 ms
[01:54:13] bd: chap 5, 452326 ms
[01:54:13] bd: chap 6, 477935 ms
[01:54:13] bd: chap 7, 420002 ms
[01:54:13] bd: chap 8, 398398 ms
[01:54:13] bd: chap 9, 304679 ms
[01:54:13] bd: chap 10, 460084 ms
[01:54:13] bd: chap 11, 394435 ms
[01:54:13] bd: chap 12, 261386 ms
[01:54:13] bd: chap 13, 417 ms
[01:54:13] bd: title 19 has 13 chapters
[01:54:13] scan: decoding previews for title 19
[01:54:13] scan: title angle(s) 1
[01:54:13] scan: audio 0x711100: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch) (1536 kbps)
[01:54:13] scan: audio 0x1100: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (7.1 ch)
[01:54:13] scan: audio 0x1101: ac3, rate=48000Hz, bitrate=640000 Deutsch (AC3) (5.1 ch) (640 kbps)
[01:54:13] scan: audio 0x1102: ac3, rate=48000Hz, bitrate=640000 espa¤ol (AC3) (5.1 ch) (640 kbps)
[01:54:13] scan: audio 0x1103: ac3, rate=48000Hz, bitrate=640000 espa¤ol (AC3) (5.1 ch) (640 kbps)
[01:54:13] scan: audio 0x1104: ac3, rate=48000Hz, bitrate=640000 Francais (AC3) (5.1 ch) (640 kbps)
[01:54:13] scan: audio 0x1105: ac3, rate=48000Hz, bitrate=640000 ??? (AC3) (5.1 ch) (640 kbps)
[01:54:19] scan: 10 previews, 3840x2160, 23.976 fps, autocrop = 276/276/0/0, aspect 16:9, PAR 1:1, color profile: 9-16-9, chroma location: topleft
[01:54:19] scan: mastering display metadata: r(0.6800,0.3200) g(0.2650,0.6900) b(0.1500 0.0600) wp(0.3127, 0.3290) min_luminance=0.000100, max_luminance=1000.000000
[01:54:19] stream: 7 good frames, 0 errors (0%)
[01:54:19] libhb: scan thread found 1 valid title(s)
[01:54:19] Starting work at: Sun Sep 25 01:54:19 2022
[01:54:19] 1 job(s) to process
[01:54:19] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": -1,
        "CompressionLevel": 5,
        "DRC": 0,
        "Encoder": "copy",
        "Gain": 0,
        "Mixdown": 9,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 1,
        "DitherMethod": 0
      },
      {
        "Bitrate": -1,
        "CompressionLevel": 5,
        "DRC": 0,
        "Encoder": "copy",
        "Gain": 0,
        "Mixdown": 7,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 5,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:eac3",
      "copy:truehd",
      "copy:dts",
      "copy:dtshd",
      "copy:mp2",
      "copy:mp3",
      "copy:flac",
      "copy:opus"
    ],
    "FallbackEncoder": "flac24"
  },
  "Destination": {
    "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"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "D:\\VidCoder\\Crawl.2019.MULTi.COMPLETE.UHD.BLURAY-B0MBARDiERS wWw.Extreme-Down.io - Title 19.part.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_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": 14,
        "Settings": {
          "crop-bottom": "276",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "276",
          "height": "1608",
          "width": "3840"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 13
    },
    "Title": 19,
    "Path": "D:\\Downloads on D\\Crawl.2019.MULTi.COMPLETE.UHD.BLURAY-B0MBARDiERS_wWw.Extreme-Down.io.iso"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": [
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 1,
        "Offset": 0,
        "Track": 0
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 4,
        "Offset": 0,
        "Track": 3
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 5,
        "Offset": 0,
        "Track": 4
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 7,
        "Offset": 0,
        "Track": 6
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 10,
        "Offset": 0,
        "Track": 9
      }
    ]
  },
  "Video": {
    "Encoder": "nvenc_h265_10bit",
    "Level": "5.1",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "strong-intra-smoothing=0:rect=0:aq-mode=1",
    "Preset": "fast",
    "Profile": "auto",
    "Quality": -5,
    "QSV": {
      "Decode": true
    }
  }
}
[01:54:19] Starting Task: Encoding Pass
[01:54:19] Auto Passthru: allowed codecs are AAC, AC3, E-AC3, TrueHD, DTS, DTS-HD, MP2, MP3, FLAC, Opus
[01:54:19] Auto Passthru: fallback is FLAC 24-bit
[01:54:19] Auto Passthru: using DTS-HD Passthru for track 1
[01:54:19] Auto Passthru: using AC3 Passthru for track 2
[01:54:19] job configuration:
[01:54:19]  * source
[01:54:19]    + D:\Downloads on D\Crawl.2019.MULTi.COMPLETE.UHD.BLURAY-B0MBARDiERS_wWw.Extreme-Down.io.iso
[01:54:19]    + title 19, chapter(s) 1 to 13
[01:54:19]  * destination
[01:54:19]    + D:\VidCoder\Crawl.2019.MULTi.COMPLETE.UHD.BLURAY-B0MBARDiERS wWw.Extreme-Down.io - Title 19.part.mkv
[01:54:19]    + container: Matroska (libavformat)
[01:54:19]      + chapter markers
[01:54:19]  * video track
[01:54:19]    + decoder: hevc 10-bit (yuv420p10le)
[01:54:19]      + bitrate 200 kbps
[01:54:19]    + filters
[01:54:19]      + 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)
[01:54:19]      + Decomb (mode=39)
[01:54:19]      + Crop and Scale (width=3840:height=1608:crop-top=276:crop-bottom=276:crop-left=0:crop-right=0)
[01:54:19]        + source: 3840 * 2160, crop (276/276/0/0): 3840 * 1608, scale: 3840 * 1608
[01:54:19]      + Format (format=p010le)
[01:54:19]    + Output geometry
[01:54:19]      + storage dimensions: 3840 x 1608
[01:54:19]      + pixel aspect ratio: 1 : 1
[01:54:19]      + display dimensions: 3840 x 1608
[01:54:19]    + encoder: H.265 10-bit (NVEnc)
[01:54:19]      + preset:  fast
[01:54:19]      + options: strong-intra-smoothing=0:rect=0:aq-mode=1
[01:54:19]      + profile: auto
[01:54:19]      + level:   5.1
[01:54:19]      + quality: -5.00 (CQ)
[01:54:19]      + color profile: 9-16-9
[01:54:19]      + chroma location: topleft
[01:54:19]      + mastering display metadata: r(0.6800,0.3200) g(0.2650,0.6900) b(0.1500 0.0600) wp(0.3127, 0.3290) min_luminance=0.000100, max_luminance=1000.000000
[01:54:19]  * subtitle track 1, English [PGS] (track 0, id 0x12a0, Picture) -> Passthrough
[01:54:19]  * subtitle track 2, Deutsch [PGS] (track 3, id 0x12a3, Picture) -> Passthrough
[01:54:19]  * subtitle track 3, espa¤ol [PGS] (track 4, id 0x12a4, Picture) -> Passthrough
[01:54:19]  * subtitle track 4, Francais [PGS] (track 6, id 0x12a6, Picture) -> Passthrough
[01:54:19]  * subtitle track 5, Nederlands [PGS] (track 9, id 0x12a9, Picture) -> Passthrough
[01:54:19]  * audio track 1
[01:54:19]    + decoder: English (DTS-HD MA) (7.1 ch) (track 2, id 0x1100)
[01:54:19]      + samplerate: 48000 Hz
[01:54:19]    + DTS-HD Passthru
[01:54:19]  * audio track 2
[01:54:19]    + decoder: Francais (AC3) (5.1 ch) (640 kbps) (track 6, id 0x1104)
[01:54:19]      + bitrate: 640 kbps, samplerate: 48000 Hz
[01:54:19]    + AC3 Passthru
src/libbluray/bdj/bdj.c:137: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:781: BD-J check: Failed to load JVM library
src/libbluray/bdj/bdj.c:137: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:781: BD-J check: Failed to load JVM library
[01:54:19] sync: expecting 125961 video frames
[01:54:19] encavcodecInit: H.265 (Nvidia NVENC)
[01:54:19] encavcodec: encoding at rc=vbr, multipass=fullres, -5.00
[01:54:19] encavcodec: encoding with stored aspect 1/1
[hevc_nvenc @ 000001da790f8b40] Value -5.000000 for parameter 'cq' out of range [0 - 51]
[hevc_nvenc @ 000001da790f8b40] Error setting option cq to value -5.00.
[01:54:19] encavcodecInit: avcodec_open failed
Failure to initialise thread 'FFMPEG encoder (libavcodec)'
[01:54:19] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[01:54:19] dca-decoder done: 0 frames, 0 decoder errors
[01:54:19] ac3-decoder done: 0 frames, 0 decoder errors
[01:54:19] hevc-decoder done: 0 frames, 0 decoder errors
[01:54:19] sync: got 0 frames, 125961 expected
[01:54:20] Finished work at: Sun Sep 25 01:54:20 2022
[01:54:20] libhb: work result = 3
ERROR: Encode failed with code ErrorInit
# Job completed (Elapsed Time: 7s)
RandomEngy commented 2 years ago

Looks like somehow the quality got set to -5, and it's erroring out:

[hevc_nvenc @ 000001da790f8b40] Value -5.000000 for parameter 'cq' out of range [0 - 51]
[hevc_nvenc @ 000001da790f8b40] Error setting option cq to value -5.00.

Can you send a screenshot of the Video Encoding tab? Maybe you could try changing the Constant Quality slider to a regular value like 22?

Jemalaar commented 2 years ago

Thank you very much ror your answer and your help.

It WORKS !!!

Best Regards,

Jean-Marie

De : David Rickard @.> Envoyé : dimanche 25 septembre 2022 08:16 À : RandomEngy/VidCoder @.> Cc : Jemalaar @.>; Author @.> Objet : Re: [RandomEngy/VidCoder] Crash when trying to encode UHD disc with H265 10bit Nvenc (Issue #1058)

Looks like somehow the quality got set to -5, and it's erroring out:

[hevc_nvenc @ 000001da790f8b40] Value -5.000000 for parameter 'cq' out of range [0 - 51] [hevc_nvenc @ 000001da790f8b40] Error setting option cq to value -5.00.

Can you send a screenshot of the Video Encoding tab? Maybe you could try changing the Constant Quality slider to a regular value like 22?

— Reply to this email directly, view it on GitHub https://github.com/RandomEngy/VidCoder/issues/1058#issuecomment-1257130080 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJFEPCNABOLL3WLMYYO4ZSDV77UZPANCNFSM6AAAAAAQU3LKRQ . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AJFEPCNF5MEYJCWFXK4L3HTV77UZPA5CNFSM6AAAAAAQU3LKRSWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSK5ZEGA.gif Message ID: @. @.> >