-
Notifications
You must be signed in to change notification settings - Fork 50
Vidcoder fails to encode in some cases. #1477
Copy link
Copy link
Open
Labels
Description
Problem Description
Hi. Congratulations for your excellent sofware. A little bug to mention.
When I try to encode a video 4K in MKV with codec H265 10 bit, Vidcoder begins to work and very quick stpos the encoding and indicaites "Fails"
What version of VidCoder are you running?
12.17 VelopackInstaller
Encode Log
VC [00:04:49] VidCoder 12.17
VC [00:04:49] Starting job 1/1
VC [00:04:49] Source path: I:\
VC [00:04:49] Destination path: C:\Users\HOMECINE\Videos\Baywatch - Title 42 - Chapters 1-3-1.mkv
VC [00:04:49] Title: 42
VC [00:04:49] Chapters: 1-3
VC [00:04:49] Preset: AV1 MKV UHD NVEnc
VC [00:04:49] Picker:
VC [00:04:49] Worker ready: Pipe 'VidCoderWorker.58efae6b-bff7-4294-88b7-2fb4bd0bfc31' is open
VC [00:04:49] Connecting to process 7492 on pipe VidCoderWorker.58efae6b-bff7-4294-88b7-2fb4bd0bfc31
HB [00:04:49] OS: Windows 10.0 (26200)
[00:04:49] CPU: Intel(R) Core(TM) i7-14700K
[00:04:49] - logical processor count: 28
[00:04:49] Intel Quick Sync Video support: no
[00:04:49] hb_scan: path=I:\, title_index=42
../src/libbluray/bdj/bdj.c:137: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
../src/libbluray/bdj/bdj.c:795: 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:795: BD-J check: Failed to load JVM library
[00:04:49] scan: BD has 98 title(s)
[00:04:49] bd: scanning title 42
[00:04:49] bd: playlist 00220.MPLS
[00:04:49] bd: duration is 01:56:28 (6988731 ms)
[00:04:49] bd: video id=0x1011, stream type=HEVC, format 2160p
[00:04:49] bd: aspect = 16:9
[00:04:49] bd: audio id=0x761100, lang=English (AC3), 3cc=eng
[00:04:49] bd: audio id=0x721100, lang=English (TrueHD), 3cc=eng
[00:04:49] bd: audio id=0x1101, lang=Francais (AC3), 3cc=fra
[00:04:49] bd: audio id=0x1102, lang=Deutsch (AC3), 3cc=deu
[00:04:49] bd: audio id=0x1103, lang=italiano (AC3), 3cc=ita
[00:04:49] bd: audio id=0x1104, lang=??????? (AC3), 3cc=rus
[00:04:49] bd: audio id=0x1105, lang=espa¤ol (AC3), 3cc=spa
[00:04:49] bd: audio id=0x1106, lang=English (AC3), 3cc=eng
[00:04:49] bd: subtitle id=0x12a0, lang=English (PGS), 3cc=eng
[00:04:49] bd: subtitle id=0x12a1, lang=English (PGS), 3cc=eng
[00:04:49] bd: subtitle id=0x12a2, lang=??????? (PGS), 3cc=ara
[00:04:49] bd: subtitle id=0x12a3, lang=?? (PGS), 3cc=zho
[00:04:49] bd: subtitle id=0x12a4, lang=?? (PGS), 3cc=zho
[00:04:49] bd: subtitle id=0x12a5, lang=cestina (PGS), 3cc=ces
[00:04:49] bd: subtitle id=0x12a6, lang=dansk (PGS), 3cc=dan
[00:04:49] bd: subtitle id=0x12a7, lang=Nederlands (PGS), 3cc=nld
[00:04:49] bd: subtitle id=0x12a8, lang=eesti (PGS), 3cc=est
[00:04:49] bd: subtitle id=0x12a9, lang=suomi (PGS), 3cc=fin
[00:04:49] bd: subtitle id=0x12aa, lang=Francais (PGS), 3cc=fra
[00:04:49] bd: subtitle id=0x12ab, lang=Deutsch (PGS), 3cc=deu
[00:04:49] bd: subtitle id=0x12ac, lang=???????? (PGS), 3cc=ell
[00:04:49] bd: subtitle id=0x12ad, lang=????? (PGS), 3cc=heb
[00:04:49] bd: subtitle id=0x12ae, lang=????? (PGS), 3cc=hin
[00:04:49] bd: subtitle id=0x12af, lang=magyar (PGS), 3cc=hun
[00:04:49] bd: subtitle id=0x12b0, lang=¡slenska (PGS), 3cc=isl
[00:04:49] bd: subtitle id=0x12b1, lang=italiano (PGS), 3cc=ita
[00:04:49] bd: subtitle id=0x12b2, lang=??? (PGS), 3cc=kor
[00:04:49] bd: subtitle id=0x12b3, lang=latviesu (PGS), 3cc=lav
[00:04:49] bd: subtitle id=0x12b4, lang=lietuviu (PGS), 3cc=lit
[00:04:49] bd: subtitle id=0x12b5, lang=Bahasa Melayu (PGS), 3cc=msa
[00:04:49] bd: subtitle id=0x12b6, lang=norsk (PGS), 3cc=nor
[00:04:49] bd: subtitle id=0x12b7, lang=Portugues (PGS), 3cc=por
[00:04:49] bd: subtitle id=0x12b8, lang=romƒna (PGS), 3cc=ron
[00:04:49] bd: subtitle id=0x12b9, lang=??????? (PGS), 3cc=rus
[00:04:49] bd: subtitle id=0x12ba, lang=slovencina (PGS), 3cc=slk
[00:04:49] bd: subtitle id=0x12bb, lang=espa¤ol (PGS), 3cc=spa
[00:04:49] bd: subtitle id=0x12bc, lang=svenska (PGS), 3cc=swe
[00:04:49] bd: subtitle id=0x12bd, lang=??? (PGS), 3cc=tha
[00:04:49] bd: subtitle id=0x12be, lang=T�rk‡e (PGS), 3cc=tur
[00:04:49] bd: subtitle id=0x12bf, lang=?????????? (PGS), 3cc=ukr
[00:04:49] bd: chap 1, 460710 ms
[00:04:49] bd: chap 2, 426175 ms
[00:04:49] bd: chap 3, 247455 ms
[00:04:49] bd: chap 4, 519143 ms
[00:04:49] bd: chap 5, 509884 ms
[00:04:49] bd: chap 6, 411452 ms
[00:04:49] bd: chap 7, 338379 ms
[00:04:49] bd: chap 8, 656489 ms
[00:04:49] bd: chap 9, 595344 ms
[00:04:49] bd: chap 10, 393059 ms
[00:04:49] bd: chap 11, 528778 ms
[00:04:49] bd: chap 12, 382382 ms
[00:04:49] bd: chap 13, 507798 ms
[00:04:49] bd: chap 14, 335626 ms
[00:04:49] bd: chap 15, 284951 ms
[00:04:49] bd: chap 16, 390848 ms
[00:04:49] bd: chapter 17 too short 628963308, dropping
[00:04:49] bd: title 42 has 16 chapters
[00:04:49] scan: decoding previews for title 42
[00:04:49] scan: title angle(s) 1
HB [00:04:49] scan: audio 0x761100: ac3, rate=48000Hz, bitrate=640000 English (AC3, 5.1 ch, 640 kbps)
[00:04:49] scan: audio 0x721100: truehd, rate=48000Hz, bitrate=1 English (Dolby TrueHD + Dolby Atmos, 7.1 ch)
[00:04:49] scan: audio 0x1101: ac3, rate=48000Hz, bitrate=640000 Francais (AC3, 5.1 ch, 640 kbps)
[00:04:49] scan: audio 0x1102: ac3, rate=48000Hz, bitrate=640000 Deutsch (AC3, 5.1 ch, 640 kbps)
[00:04:49] scan: audio 0x1103: ac3, rate=48000Hz, bitrate=640000 italiano (AC3, 5.1 ch, 640 kbps)
[00:04:49] scan: audio 0x1104: ac3, rate=48000Hz, bitrate=640000 ??????? (AC3, 5.1 ch, 640 kbps)
[00:04:49] scan: audio 0x1105: ac3, rate=48000Hz, bitrate=640000 espa¤ol (AC3, 5.1 ch, 640 kbps)
[00:04:49] scan: audio 0x1106: ac3, rate=48000Hz, bitrate=640000 English (AC3, 5.1 ch, 640 kbps)
HB [00:04:50] using container PAR 1:1
[00:04:50] 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
[00:04:50] 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.000000, max_luminance=1000.000000
[00:04:50] scan: content light level: max_cll=1000, max_fall=386
[00:04:50] scan: supported video decoders: avcodec hwaccel
[00:04:50] stream: 5 good frames, 0 errors (0%)
[00:04:50] libhb: scan thread found 1 valid title(s)
HB [00:04:50] Starting work at: Mon Apr 6 00:04:50 2026
[00:04:50] 1 job(s) to process
[00:04:50] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 1536,
"DRC": 0,
"Encoder": "copy",
"Gain": 0,
"Mixdown": 7,
"NormalizeMixLevel": false,
"Samplerate": 48000,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3",
"copy:eac3",
"copy:truehd",
"copy:dts",
"copy:dtshd",
"copy:mp2",
"copy:mp3",
"copy:opus",
"copy:vorbis",
"copy:flac",
"copy:alac",
"copy:pcm"
],
"FallbackEncoder": "eac3"
},
"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": true,
"File": "C:\\Users\\HOMECINE\\Videos\\Baywatch - Title 42 - Chapters 1-3-1.part.mkv",
"Options": {
"IpodAtom": false,
"Optimize": false
},
"Mux": "av_mkv"
},
"Filters": {
"FilterList": [
{
"ID": 6,
"Settings": {
"mode": "7"
}
},
{
"ID": 4,
"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": 20,
"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": 3
},
"Title": 42,
"Path": "I:\\",
"HWDecode": 4,
"KeepDuplicateTitles": false
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"Encoder": "x265_10bit",
"Level": "auto",
"MultiPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "enable-variance-boost=1:enable-qm=1:ac-bias=1:tf-strength=1:qp-scale-compress-strength=1:sharpness=1:keyint=10s",
"Preset": "medium",
"Profile": "auto",
"Quality": 45,
"HardwareDecode": 0
}
}
[00:04:50] Starting Task: Encoding Pass
[00:04:50] Auto Passthru: allowed codecs are AAC, AC3, E-AC3, TrueHD, DTS, DTS-HD, MP2, MP3, Opus, Vorbis, FLAC, ALAC, PCM
[00:04:50] Auto Passthru: fallback is E-AC3
[00:04:50] Auto Passthru: using AC3 Passthru for track 1
[00:04:50] job configuration:
[00:04:50] * source
[00:04:50] + I:\
[00:04:50] + title 42, chapter(s) 1 to 3
[00:04:50] * destination
[00:04:50] + C:\Users\HOMECINE\Videos\Baywatch - Title 42 - Chapters 1-3-1.part.mkv
[00:04:50] + container: Matroska (libavformat)
[00:04:50] + align initial A/V stream timestamps
[00:04:50] + chapter markers
[00:04:50] * video track
[00:04:50] + decoder: hevc 10-bit (yuv420p10le)
[00:04:50] + bitrate 200 kbps
[00:04:50] + filters
[00:04:50] + 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)
[00:04:50] + Decomb (mode=39)
[00:04:50] + Crop and Scale (width=3840:height=1608:crop-top=276:crop-bottom=276:crop-left=0:crop-right=0)
[00:04:50] + source: 3840 * 2160, crop (276/276/0/0): 3840 * 1608, scale: 3840 * 1608
[00:04:50] + Output geometry
[00:04:50] + storage dimensions: 3840 x 1608
[00:04:50] + pixel aspect ratio: 1 : 1
[00:04:50] + display dimensions: 3840 x 1608
[00:04:50] + encoder: H.265 10-bit (libx265)
[00:04:50] + preset: medium
[00:04:50] + options: enable-variance-boost=1:enable-qm=1:ac-bias=1:tf-strength=1:qp-scale-compress-strength=1:sharpness=1:keyint=10s
[00:04:50] + profile: auto
[00:04:50] + level: auto
[00:04:50] + quality: 45.00 (RF)
[00:04:50] + color profile: 9-16-9
[00:04:50] + color range: tv
[00:04:50] + chroma location: topleft
[00:04:50] + 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.000000, max_luminance=1000.000000
[00:04:50] + content light level: max_cll=1000, max_fall=386
[00:04:50] * audio track 1
[00:04:50] + decoder: English (AC3, 5.1 ch, 640 kbps) (track 1, id 0x761100)
[00:04:50] + bitrate: 640 kbps, samplerate: 48000 Hz
[00:04:50] + AC3 Passthru
../src/libbluray/bdj/bdj.c:137: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
../src/libbluray/bdj/bdj.c:795: 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:795: BD-J check: Failed to load JVM library
[00:04:50] sync: expecting 27196 video frames
[00:04:50] encx265: unknown option 'enable-variance-boost'
[00:04:50] encx265: unknown option 'enable-qm'
[00:04:50] encx265: unknown option 'ac-bias'
[00:04:50] encx265: unknown option 'tf-strength'
[00:04:50] encx265: unknown option 'qp-scale-compress-strength'
[00:04:50] encx265: unknown option 'sharpness'
[00:04:50] encx265: bad argument 'keyint=10s'
x265 [info]: HEVC encoder version 4.1+222-afa0028
x265 [info]: build info [Windows][GCC 15.2.0][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [warning]: Turning on repeat-headers for HDR compatibility
x265 [info]: Main 10 profile, Level-5 (Main tier)
x265 [info]: Thread pool created using 28 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 4 / 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 / 3
x265 [info]: Keyframe min / max / scenecut / bias : 24 / 10 / 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 / off / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-45.0 / 0.60
x265 [info]: tools: rd=3 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp
x265 [info]: tools: b-intra strong-intra-smoothing lslices=8 deblock sao
HB [00:04:50] sync: first pts video is 0
[00:04:50] sync: "Chapter 1" (1) at frame 1 time 0
[00:04:50] sync: first pts audio 0x761100 is 0
VC E [00:05:00] Operation 'Ping' failed. Worker process exited unexpectedly with code -1073741819. This may be due to a HandBrake engine crash.
VC E [00:05:00] Encode failed with code ErrorHandBrakeProcessCrashed
VC [00:05:00] Job completed (Elapsed Time: 11s)
Reactions are currently unavailable