HB CLI 1.4.0 does not work anymore

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.
nick24
Posts: 31
Joined: Fri Dec 19, 2014 4:38 pm

HB CLI 1.4.0 does not work anymore

Post by nick24 »

Description of problem or question:

when using 1.4.0 with subtitle scan, handbrake just quits after the scan.


Steps to reproduce the problem (If Applicable):

just use any BD with qsv_h265 10 bit


HandBrake version (e.g., 1.0.0):

since 1.4.0


Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):

Windows 10 21H1


HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

D:\Temp\HandBrakeCLI-20210720182537-a01549c9c-master-win-x86_64>.\handbrakecli.exe -O -m -i "D:\Temp\WAECHTER_DER_WUESTE
_B\BDCOPY" -o "WAECHTER_DER_WUESTE_B_001.mp4" -t 1 -a 1 -E ac3 -6 5point1 -q 20.0 -e qsv_h265_10bit --encoder-preset bal
anced --disable-qsv-decoding --qsv-async-depth=0 --encoder-profile auto --encoder-level auto --no-dvdnav -s scan -N deu
--subtitle-forced --subtitle-default --cfr --loose-anamorphic --modulus 2
[20:30:17] Compile-time hardening features are enabled
[20:30:17] hb_init: starting libhb thread
[20:30:17] thread 1 started ("libhb")
HandBrake 20210720182537-a01549c9c-master (2021072001) - MinGW x86_64 - https://handbrake.fr
8 CPUs detected
Opening D:\Temp\WAECHTER_DER_WUESTE_B\BDCOPY...
[20:30:17] CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
[20:30:17]  - Intel microarchitecture Kaby Lake
[20:30:17]  - logical processor count: 8
[20:30:17] Intel Quick Sync Video support: yes, gpu list: 1
[20:30:17] Intel Quick Sync Video integrated adapter with index 1
[20:30:17]  - Intel Media SDK hardware: API 1.35 (minimum: 1.3)
[20:30:17]  - Decode support:  h264 hevc (8bit: yes, 10bit: yes)
[20:30:17]  - H.264 encoder: yes
[20:30:17]     - preferred implementation: hardware (2) via D3D11
[20:30:17]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpsli
ce
[20:30:17]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[20:30:17]     - preferred implementation: hardware (2) via D3D11
[20:30:17]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[20:30:17] hb_scan: path=D:\Temp\WAECHTER_DER_WUESTE_B\BDCOPY, title_index=1
src/libbluray/bdj/bdj.c:597: libbluray-j2se-1.3.0.jar not found.
src/libbluray/bdj/bdj.c:784: BD-J check: Failed to load libbluray.jar
src/libbluray/bdj/bdj.c:597: libbluray-j2se-1.3.0.jar not found.
src/libbluray/bdj/bdj.c:784: BD-J check: Failed to load libbluray.jar
[20:30:17] scan: BD has 1 title(s)
[20:30:17] bd: scanning title 1
[20:30:17] bd: playlist 00001.MPLS
[20:30:17] bd: duration is 01:23:11 (4991361 ms)
[20:30:17] bd: video id=0x1011, stream type=VC-1, format 1080p
[20:30:17] bd: aspect = 16:9
[20:30:17] bd: audio id=0x711100, lang=Deutsch (DTS), 3cc=deu
[20:30:17] bd: audio id=0x1100, lang=Deutsch (DTS-HD MA), 3cc=deu
[20:30:17] bd: audio id=0x711101, lang=Deutsch (DTS), 3cc=deu
[20:30:17] bd: audio id=0x1101, lang=Deutsch (DTS-HD MA), 3cc=deu
[20:30:17] bd: audio id=0x711102, lang=English (DTS), 3cc=eng
[20:30:17] bd: audio id=0x1102, lang=English (DTS-HD MA), 3cc=eng
[20:30:17] bd: audio id=0x711103, lang=Unknown (DTS), 3cc=und
[20:30:17] bd: audio id=0x1103, lang=Unknown (DTS-HD MA), 3cc=und
[20:30:17] bd: subtitle id=0x1200, lang=Deutsch [PGS], 3cc=deu
[20:30:17] bd: chap 1, 425800 ms
[20:30:17] bd: chap 2, 174424 ms
[20:30:17] bd: chap 3, 347305 ms
[20:30:17] bd: chap 4, 398856 ms
[20:30:17] bd: chap 5, 450825 ms
[20:30:17] bd: chap 6, 438980 ms
[20:30:17] bd: chap 7, 499957 ms
[20:30:17] bd: chap 8, 361736 ms
[20:30:17] bd: chap 9, 442024 ms
[20:30:17] bd: chap 10, 485234 ms
[20:30:17] bd: chap 11, 508508 ms
[20:30:17] bd: chap 12, 457707 ms
[20:30:17] bd: title 1 has 12 chapters
[20:30:17] scan: decoding previews for title 1
[20:30:17] scan: title angle(s) 1
[20:30:17] scan: audio 0x711100: dca, rate=48000Hz, bitrate=1536000 Deutsch (DTS) (5.1 ch) (1536 kbps)
[20:30:17] scan: audio 0x1100: dca, rate=48000Hz, bitrate=1 Deutsch (DTS-HD MA) (5.1 ch)
[20:30:17] scan: audio 0x711101: dca, rate=48000Hz, bitrate=1536000 Deutsch (DTS) (5.1 ch) (1536 kbps)
[20:30:17] scan: audio 0x1101: dca, rate=48000Hz, bitrate=1 Deutsch (DTS-HD MA) (5.1 ch)
[20:30:17] scan: audio 0x711102: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch) (1536 kbps)
[20:30:17] scan: audio 0x1102: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (5.1 ch)
[20:30:17] scan: audio 0x711103: dca, rate=48000Hz, bitrate=1536000 Unknown (DTS) (5.1 ch) (1536 kbps)
[20:30:17] scan: audio 0x1103: dca, rate=48000Hz, bitrate=1 Unknown (DTS-HD MA) (5.1 ch)
Scanning title 1 of 1, preview 10, 100.00 %[20:30:18] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 132/134/0/0,
aspect 16:9, PAR 1:1, color profile: 1-1-1
[20:30:18] stream: 6 good frames, 0 errors (0%)
[20:30:18] libhb: scan thread found 1 valid title(s)
+ Using preset: CLI Default
+ title 1:
  + playlist: 00001.MPLS
  + duration: 01:23:11
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 132/134/0/0
  + chapters:
    + 1: duration 00:07:06
    + 2: duration 00:02:54
    + 3: duration 00:05:47
    + 4: duration 00:06:39
    + 5: duration 00:07:31
    + 6: duration 00:07:19
    + 7: duration 00:08:20
    + 8: duration 00:06:02
    + 9: duration 00:07:22
    + 10: duration 00:08:05
    + 11: duration 00:08:29
    + 12: duration 00:07:38
  + audio tracks:
    + 1, Deutsch (DTS) (5.1 ch) (1536 kbps) (iso639-2: deu), 48000Hz, 1536000bps
    + 2, Deutsch (DTS-HD MA) (5.1 ch) (iso639-2: deu)
    + 3, Deutsch (DTS) (5.1 ch) (1536 kbps) (iso639-2: deu), 48000Hz, 1536000bps
    + 4, Deutsch (DTS-HD MA) (5.1 ch) (iso639-2: deu)
    + 5, English (DTS) (5.1 ch) (1536 kbps) (iso639-2: eng), 48000Hz, 1536000bps
    + 6, English (DTS-HD MA) (5.1 ch) (iso639-2: eng)
    + 7, Unknown (DTS) (5.1 ch) (1536 kbps) (iso639-2: und), 48000Hz, 1536000bps
    + 8, Unknown (DTS-HD MA) (5.1 ch) (iso639-2: und)
  + subtitle tracks:
    + 1, Deutsch [PGS]
[20:30:18] Starting work at: Sat Jul 24 20:30:18 2021

[20:30:18] 1 job(s) to process
[20:30:18] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Encoder": 2048,
                "Mixdown": 7,
                "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": [
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 7,
                    "Seconds": 6,
                    "Ticks": 38322032
                },
                "Name": "Chapter 1"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 54,
                    "Ticks": 15698184
                },
                "Name": "Chapter 2"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 47,
                    "Ticks": 31257476
                },
                "Name": "Chapter 3"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 39,
                    "Ticks": 35897110
                },
                "Name": "Chapter 4"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 7,
                    "Seconds": 31,
                    "Ticks": 40574284
                },
                "Name": "Chapter 5"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 7,
                    "Seconds": 19,
                    "Ticks": 39508220
                },
                "Name": "Chapter 6"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 8,
                    "Seconds": 20,
                    "Ticks": 44996200
                },
                "Name": "Chapter 7"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 2,
                    "Ticks": 32556274
                },
                "Name": "Chapter 8"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 7,
                    "Seconds": 22,
                    "Ticks": 39782242
                },
                "Name": "Chapter 9"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 8,
                    "Seconds": 5,
                    "Ticks": 43671128
                },
                "Name": "Chapter 10"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 8,
                    "Seconds": 29,
                    "Ticks": 45765720
                },
                "Name": "Chapter 11"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 7,
                    "Seconds": 38,
                    "Ticks": 41193652
                },
                "Name": "Chapter 12"
            }
        ],
        "ChapterMarkers": true,
        "File": "WAECHTER_DER_WUESTE_B_001.mp4",
        "InlineParameterSets": false,
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": true
        },
        "Mux": "m4v"
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 6,
                "Settings": {
                    "mode": 1
                }
            },
            {
                "ID": 13,
                "Settings": {
                    "crop-bottom": 134,
                    "crop-left": 0,
                    "crop-right": 0,
                    "crop-top": 132,
                    "height": 814,
                    "width": 1920
                }
            }
        ]
    },
    "Metadata": {},
    "PAR": {
        "Den": 1,
        "Num": 1
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "D:\\Temp\\WAECHTER_DER_WUESTE_B\\BDCOPY",
        "Range": {
            "End": 12,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": false,
            "Default": true,
            "Enable": true,
            "Forced": true
        },
        "SubtitleList": []
    },
    "Video": {
        "ColorFormat": 0,
tErnicxo"d:i n1g,:
  t a s k   - 1  "oCfo l-o1r,P r0i.m0a0r i%es": 1,
        "ColorRange": 0,
        "ColorTransfer": 1,
        "Encoder": "qsv_h265_10bit",
        "Level": "auto",
        "Preset": "balanced",
        "Profile": "auto",
        "QSV": {
            "AdapterIndex": 1,
            "AsyncDepth": 0,
            "Decode": false
        },
        "Quality": 20.0,
        "Turbo": false,
        "TwoPass": false
    }
}
[20:30:18] qsv: integrated qsv adapter with index 1 has been selected
[20:30:18] Starting Task: Subtitle Scan
[20:30:18] job configuration:
[20:30:18]  * source
[20:30:18]    + D:\Temp\WAECHTER_DER_WUESTE_B\BDCOPY
[20:30:18]    + title 1, chapter(s) 1 to 12
[20:30:18]  * destination
[20:30:18]    + WAECHTER_DER_WUESTE_B_001.mp4
[20:30:18]    + container: MPEG-4 (libavformat)
[20:30:18]      + optimized for HTTP streaming (fast start)
[20:30:18]      + chapter markers
[20:30:18]  * video track
[20:30:18]    + decoder: vc1 8-bit
[20:30:19]      + bitrate 200 kbps
[20:30:19]    + filters
[20:30:19]      + Framerate Shaper (mode=1)
[20:30:19]        + frame rate: 23.976 fps -> constant 23.976 fps
[20:30:19]      + Crop and Scale (width=1920:height=814:crop-top=132:crop-bottom=134:crop-left=0:crop-right=0)
[20:30:19]        + source: 1920 * 1080, crop (132/134/0/0): 1920 * 814, scale: 1920 * 814
[20:30:19]    + Output geometry
[20:30:19]      + storage dimensions: 1920 x 814
[20:30:19]      + pixel aspect ratio: 1 : 1
[20:30:19]      + display dimensions: 1920 x 814
[20:30:19]  * Foreign Audio Search: Passthrough, Forced Only, Default
[20:30:19]    + subtitle, Deutsch [PGS] (track 0, id 0x1200, Picture)
src/libbluray/bdj/bdj.c:597: libbluray-j2se-1.3.0.jar not found.
src/libbluray/bdj/bdj.c:784: BD-J check: Failed to load libbluray.jar
src/libbluray/bdj/bdj.c:597: libbluray-j2se-1.3.0.jar not found.
src/libbluray/bdj/bdj.c:784: BD-J check: Failed to load libbluray.jar
[20:30:19] sync: expecting 119672 video frames
tEintcloedtask 1 of 2, 98.02 % (0.00 fps, avg 0.00 fps, ETA 00h00m00s)[20:30:41] bd: End of
in[g2:0 :t3a0s:k4 11]  orfe a2d,e r1:0 0d.o0n0e .%  1( 0s.c0r0  cfhpasn,g easv
g[ 200.:0300 :f4p1s],  wEoTrAk :0 0ahv0e0rma0g0es )encoding speed for job is 0.000000 fps
[20:30:41] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[20:30:41] vfr: lost time: 0 (0 frames)
[20:30:41] vfr: gained time: 0 (0 frames) (0 not accounted for)
[20:30:41] stream: 119673 good frames, 0 errors (0%)
[20:30:41] vc1-decoder done: 0 frames, 1 decoder errors
[20:30:41] sync: got 0 frames, 119672 expected
0E:n3c0o:d4i1n]g :S utbatsikt l1e  otfr a2c,k  100 0(.i0d0  0%x 1(200.00)0  'fDpesu,t sacvhg  [0P.G0S0] 'f:p s3,5 2E ThA
i t0s0 h(000 mf0o0rsc)ed)
[20:30:41] No candidate detected during subtitle scan
[20:30:41] Starting Task: Encoding Pass
[20:30:41] work: bitrate not specified, track 1 setting bitrate 640 Kbps
[20:30:41] job configuration:
[20:30:41]  * source
[20:30:41]    + D:\Temp\WAECHTER_DER_WUESTE_B\BDCOPY
[20:30:41]    + title 1, chapter(s) 1 to 12
[20:30:41]  * destination
[20:30:41]    + WAECHTER_DER_WUESTE_B_001.mp4
[20:30:41]    + container: MPEG-4 (libavformat)
[20:30:41]      + optimized for HTTP streaming (fast start)
[20:30:41]      + chapter markers
[20:30:41]  * video track
[20:30:41]    + decoder: vc1 8-bit
[20:30:41]      + bitrate 200 kbps
[20:30:41]    + filters
[20:30:41]      + Framerate Shaper (mode=1)
[20:30:41]        + frame rate: 23.976 fps -> constant 23.976 fps
[20:30:41]      + Crop and Scale (width=1920:height=814:crop-top=132:crop-bottom=134:crop-left=0:crop-right=0)
[20:30:41]        + source: 1920 * 1080, crop (132/134/0/0): 1920 * 814, scale: 1920 * 814
[20:30:41]    + Output geometry
[20:30:41]      + storage dimensions: 1920 x 814
[20:30:41]      + pixel aspect ratio: 1 : 1
[20:30:41]      + display dimensions: 1920 x 814
[20:30:41]    + encoder: H.265 10-bit (Intel Media SDK)
[20:30:41]      + preset:  balanced
[20:30:41]      + profile: auto
[20:30:41]      + level:   auto
[20:30:41]      + quality: 20.00 (ICQ)
[20:30:41]      + color profile: 1-1-1
[20:30:41]  * audio track 1
[20:30:41]    + decoder: Deutsch (DTS) (5.1 ch) (1536 kbps) (track 1, id 0x711100)
[20:30:41]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[20:30:41]    + mixdown: 5.1 Channels
[20:30:41]    + encoder: AC3 (libavcodec)
[20:30:41]      + bitrate: 640 kbps, samplerate: 48000 Hz
src/libbluray/bdj/bdj.c:597: libbluray-j2se-1.3.0.jar not found.
src/libbluray/bdj/bdj.c:784: BD-J check: Failed to load libbluray.jar
src/libbluray/bdj/bdj.c:597: libbluray-j2se-1.3.0.jar not found.
src/libbluray/bdj/bdj.c:784: BD-J check: Failed to load libbluray.jar
[20:30:41] sync: expecting 119672 video frames
[20:30:41] encqsvInit: using encode-only path
[20:30:41] encqsvInit: H.265/HEVC Main 10 profile @ level (null)
[20:30:41] encqsvInit: TargetUsage 4 AsyncDepth 4
[20:30:41] encqsvInit: GopRefDist 3 GopPicSize 24 NumRefFrame 2
[20:30:41] encqsvInit: BFramesMax 2 BRefType off
[20:30:41] encqsvInit: RateControlMethod ICQ ICQQuality 20
Encoding: task 2 of 2, 0.00 %[20:30:41] sync: first pts video is 0
[20:30:41] sync: "Chapter 1" (1) at frame 1 time 0
[20:30:41] sync: first pts audio 0x711100 is 0
[20:30:41] qsv_enc_init: using 'hardware (2) via D3D11' implementation, API: 1.35
Encoding: task 2 of 2, 0.03 %
PS D:\Temp\HandBrakeCLI-20210720182537-a01549c9c-master-win-x86_64>
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: HB CLI 1.4.0 does not work anymore

Post by Woodstock »

Code: Select all

[20:30:41] vc1-decoder done: 0 frames, 1 decoder errors
[20:30:41] sync: got 0 frames, 119672 expected
Does the VC-1 video decoder fail if you do NOT select subtitle scans? The logged issue does not seem to involve subtitles.
nick24
Posts: 31
Joined: Fri Dec 19, 2014 4:38 pm

Re: HB CLI 1.4.0 does not work anymore

Post by nick24 »

The problem is just the subtitle scan. When selecting no subtitle or a specific subtitle the encoding works perfectly.
proper88
Posts: 2
Joined: Sun Jul 25, 2021 7:15 am

Re: HB CLI 1.4.0 does not work anymore

Post by proper88 »

Exactly the same problem here, after subtitle scan Handbrake stops.
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: HB CLI 1.4.0 does not work anymore

Post by rollin_eng »

proper88 wrote: Sun Jul 25, 2021 7:19 am Exactly the same problem here, after subtitle scan Handbrake stops.
Could you please post your HB logs, instructions can be found here:

https://handbrake.fr/docs/en/latest/hel ... y-log.html
proper88
Posts: 2
Joined: Sun Jul 25, 2021 7:15 am

Re: HB CLI 1.4.0 does not work anymore

Post by proper88 »

Hi,
i make a new github request #3723
nick24
Posts: 31
Joined: Fri Dec 19, 2014 4:38 pm

Re: HB CLI 1.4.0 does not work anymore

Post by nick24 »

I can only reproduce the problem when using qsv_h265 or qsv_h265_10bit encoders. In very rare cases the encoding proceeds as expected. Thus it seems some kind of a race condition.

I don't see this problem when using x264, x265 or qsv_h264 encoders.

BUT I now additionally see that nvenc encoders don't work at all for me, i.e. encoding always directly stops - independently of any subtitle scans.

Please note that all encoders with any parameter settings always worked reliably with HB CLI 1.3.3.

BTW: Thanks for your support and this very good piece of software!
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: HB CLI 1.4.0 does not work anymore

Post by rollin_eng »

Could you post a log of the same source but a completed encode in v1.4?
nick24
Posts: 31
Joined: Fri Dec 19, 2014 4:38 pm

Re: HB CLI 1.4.0 does not work anymore

Post by nick24 »

It's now a different source, but with same behavior.

First log shows the failure, second log show the success.

*** first log ****

D:\Temp\HandBrakeCLI-1.4.0-win-x86_64>.\handbrakecli.exe -O -m -i D:\Temp\Dark_skies\bdcopy -o "DARK_SKIES_001.mp4" -t 1
-a 1 -E ac3 -6 5point1 -q 20.0 -e qsv_h265_10bit --encoder-preset balanced --disable-qsv-decoding --qsv-async-depth=0 -
-encoder-profile auto --encoder-level auto --no-dvdnav -s scan -N deu --subtitle-forced --subtitle-default --cfr --loose
-anamorphic --modulus 2

Code: Select all

[20:20:13] Compile-time hardening features are enabled
[20:20:14] hb_init: starting libhb thread
[20:20:14] thread 1 started ("libhb")
HandBrake 1.4.0 (2021071800) - MinGW x86_64 - https://handbrake.fr
8 CPUs detected
Opening D:\Temp\Dark_skies\bdcopy...
[20:20:14] CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
[20:20:14]  - Intel microarchitecture Kaby Lake
[20:20:14]  - logical processor count: 8
[20:20:14] Intel Quick Sync Video support: yes, gpu list: 1
[20:20:14] Intel Quick Sync Video integrated adapter with index 1
[20:20:14]  - Intel Media SDK hardware: API 1.35 (minimum: 1.3)
[20:20:14]  - Decode support:  h264 hevc (8bit: yes, 10bit: yes)
[20:20:14]  - H.264 encoder: yes
[20:20:14]     - preferred implementation: hardware (2) via D3D11
[20:20:14]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpsli
ce
[20:20:14]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[20:20:14]     - preferred implementation: hardware (2) via D3D11
[20:20:14]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[20:20:14] hb_scan: path=D:\Temp\Dark_skies\bdcopy, title_index=1
[20:20:14] scan: BD has 1 title(s)
[20:20:14] bd: scanning title 1
[20:20:14] bd: playlist 00000.MPLS
[20:20:14] bd: duration is 01:36:56 (5816852 ms)
[20:20:14] bd: video id=0x1011, stream type=H.264, format 1080p
[20:20:14] bd: aspect = 16:9
[20:20:14] bd: audio id=0x711100, lang=Deutsch (DTS), 3cc=deu
[20:20:14] bd: audio id=0x1100, lang=Deutsch (DTS-HD MA), 3cc=deu
[20:20:14] bd: audio id=0x711101, lang=English (DTS), 3cc=eng
[20:20:14] bd: audio id=0x1101, lang=English (DTS-HD MA), 3cc=eng
[20:20:14] bd: audio id=0x711102, lang=English (DTS), 3cc=eng
[20:20:14] bd: audio id=0x1102, lang=English (DTS-HD MA), 3cc=eng
[20:20:14] bd: subtitle id=0x1200, lang=Deutsch [PGS], 3cc=deu
[20:20:14] bd: subtitle id=0x1201, lang=Deutsch [PGS], 3cc=deu
[20:20:14] bd: chap 1, 414622 ms
[20:20:14] bd: chap 2, 566107 ms
[20:20:14] bd: chap 3, 485193 ms
[20:20:14] bd: chap 4, 539163 ms
[20:20:14] bd: chap 5, 419252 ms
[20:20:14] bd: chap 6, 702118 ms
[20:20:14] bd: chap 7, 356898 ms
[20:20:14] bd: chap 8, 409659 ms
[20:20:14] bd: chap 9, 581872 ms
[20:20:14] bd: chap 10, 412870 ms
[20:20:14] bd: chap 11, 688854 ms
[20:20:14] bd: chap 12, 238238 ms
[20:20:14] bd: chap 13, 2002 ms
[20:20:14] bd: title 1 has 13 chapters
[20:20:14] scan: decoding previews for title 1
[20:20:14] scan: title angle(s) 1
[20:20:14] scan: audio 0x711100: dca, rate=48000Hz, bitrate=1536000 Deutsch (DTS) (5.1 ch) (1536 kbps)
[20:20:14] scan: audio 0x1100: dca, rate=48000Hz, bitrate=1 Deutsch (DTS-HD MA) (5.1 ch)
[20:20:14] scan: audio 0x711101: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch) (1536 kbps)
[20:20:14] scan: audio 0x1101: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (5.1 ch)
[20:20:14] scan: audio 0x711102: dca, rate=48000Hz, bitrate=1536000 English (DTS) (2.0 ch) (1536 kbps)
[20:20:14] scan: audio 0x1102: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (2.0 ch)
Scanning title 1 of 1, preview 7, 70.00 %[20:20:15] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 140/140/0/0, as
pect 16:9, PAR 1:1, color profile: 1-1-1
[20:20:15] scan: supported video decoders: avcodec qsv
[20:20:15] stream: 5 good frames, 0 errors (0%)
[20:20:15] libhb: scan thread found 1 valid title(s)
+ Using preset: CLI Default
+ title 1:
  + playlist: 00000.MPLS
  + duration: 01:36:56
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 140/140/0/0
  + chapters:
    + 1: duration 00:06:55
    + 2: duration 00:09:26
    + 3: duration 00:08:05
    + 4: duration 00:08:59
    + 5: duration 00:06:59
    + 6: duration 00:11:42
    + 7: duration 00:05:57
    + 8: duration 00:06:50
    + 9: duration 00:09:42
    + 10: duration 00:06:53
    + 11: duration 00:11:29
    + 12: duration 00:03:58
    + 13: duration 00:00:02
  + audio tracks:
    + 1, Deutsch (DTS) (5.1 ch) (1536 kbps) (iso639-2: deu), 48000Hz, 1536000bps
    + 2, Deutsch (DTS-HD MA) (5.1 ch) (iso639-2: deu)
    + 3, English (DTS) (5.1 ch) (1536 kbps) (iso639-2: eng), 48000Hz, 1536000bps
    + 4, English (DTS-HD MA) (5.1 ch) (iso639-2: eng)
    + 5, English (DTS) (2.0 ch) (1536 kbps) (iso639-2: eng), 48000Hz, 1536000bps
    + 6, English (DTS-HD MA) (2.0 ch) (iso639-2: eng)
  + subtitle tracks:
    + 1, Deutsch [PGS]
    + 2, Deutsch [PGS]
[20:20:15] Starting work at: Mon Jul 26 20:20:15 2021

[20:20:15] 1 job(s) to process
[20:20:15] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Encoder": 2048,
                "Mixdown": 7,
                "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": [
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 55,
                    "Ticks": 37316028
                },
                "Name": "Chapter 1"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 9,
                    "Seconds": 26,
                    "Ticks": 50949648
                },
                "Name": "Chapter 2"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 8,
                    "Seconds": 5,
                    "Ticks": 43667374
                },
                "Name": "Chapter 3"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 8,
                    "Seconds": 59,
                    "Ticks": 48524726
                },
                "Name": "Chapter 4"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 59,
                    "Ticks": 37732696
                },
                "Name": "Chapter 5"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 11,
                    "Seconds": 42,
                    "Ticks": 63190628
                },
                "Name": "Chapter 6"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 57,
                    "Ticks": 32120838
                },
                "Name": "Chapter 7"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 50,
                    "Ticks": 36869332
                },
                "Name": "Chapter 8"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 9,
                    "Seconds": 42,
                    "Ticks": 52368566
                },
                "Name": "Chapter 9"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 53,
                    "Ticks": 37158372
                },
                "Name": "Chapter 10"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 11,
                    "Seconds": 29,
                    "Ticks": 61996934
                },
                "Name": "Chapter 11"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 58,
                    "Ticks": 21441420
                },
                "Name": "Chapter 12"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 0,
                    "Seconds": 2,
                    "Ticks": 180180
                },
                "Name": "Chapter 13"
            }
        ],
        "ChapterMarkers": true,
        "File": "DARK_SKIES_001.mp4",
        "InlineParameterSets": false,
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": true
        },
        "Mux": "m4v"
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 6,
                "Settings": {
                    "mode": 1
                }
            },
            {
                "ID": 13,
                "Settings": {
                    "crop-bottom": 140,
                    "crop-left": 0,
                    "crop-right": 0,
                    "crop-top": 140,
                    "height": 800,
                    "width": 1920
                }
            }
        ]
    },
    "Metadata": {},
    "PAR": {
        "Den": 1,
 E n c o d i n"gN:u mt"a:s k1
- 1   o f} ,-
1 ,   0 ."0S0e q%uenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "D:\\Temp\\Dark_skies\\bdcopy",
        "Range": {
            "End": 13,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": false,
            "Default": true,
            "Enable": true,
            "Forced": true
        },
        "SubtitleList": []
    },
    "Video": {
        "ColorFormat": 0,
        "ColorMatrix": 1,
        "ColorPrimaries": 1,
        "ColorRange": 1,
        "ColorTransfer": 1,
        "Encoder": "qsv_h265_10bit",
        "Level": "auto",
        "Preset": "balanced",
        "Profile": "auto",
        "QSV": {
            "AdapterIndex": 1,
            "AsyncDepth": 0,
            "Decode": false
        },
        "Quality": 20.0,
        "Turbo": false,
        "TwoPass": false
    }
}
[20:20:15] qsv: integrated qsv adapter with index 1 has been selected
[20:20:15] Starting Task: Subtitle Scan
[20:20:15] job configuration:
[20:20:15]  * source
[20:20:15]    + D:\Temp\Dark_skies\bdcopy
[20:20:15]    + title 1, chapter(s) 1 to 13
[20:20:15]  * destination
[20:20:15]    + DARK_SKIES_001.mp4
[20:20:15]    + container: MPEG-4 (libavformat)
[20:20:15]      + optimized for HTTP streaming (fast start)
[20:20:15]      + chapter markers
[20:20:15]  * video track
[20:20:15]    + decoder: h264 8-bit
[20:20:15]      + bitrate 200 kbps
[20:20:15]    + filters
[20:20:15]      + Framerate Shaper (mode=1)
[20:20:15]        + frame rate: 23.976 fps -> constant 23.976 fps
[20:20:15]      + Crop and Scale (width=1920:height=800:crop-top=140:crop-bottom=140:crop-left=0:crop-right=0)
[20:20:15]        + source: 1920 * 1080, crop (140/140/0/0): 1920 * 800, scale: 1920 * 800
[20:20:15]    + Output geometry
[20:20:15]      + storage dimensions: 1920 x 800
[20:20:15]      + pixel aspect ratio: 1 : 1
[20:20:15]      + display dimensions: 1920 x 800
[20:20:15]  * Foreign Audio Search: Passthrough, Forced Only, Default
[20:20:15]    + subtitle, Deutsch [PGS] (track 0, id 0x1200, Picture)
[20:20:15]    + subtitle, Deutsch [PGS] (track 1, id 0x1201, Picture)
[20:20:15] sync: expecting 139464 video frames
Encoding: task 1 of 2, 99.38 % (0.00 fps, avg 0.00 fps, ETA 00h00m00s)[20:20:36] bd: End of title
[20:20:36] reader: done. 4 scr changes
Encoding: task 1 of 2, 100.00 % (0.00 fps, avg 0.00 fps, ETA 00h00m00s)[20:20:36] work: average encoding speed for job i
s 0.000000 fps
[20:20:36] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[20:20:36] vfr: lost time: 0 (0 frames)
[20:20:36] vfr: gained time: 0 (0 frames) (0 not accounted for)
[20:20:36] stream: 139465 good frames, 0 errors (0%)
[20:20:36] h264-decoder done: 0 frames, 1 decoder errors
[20:20:36] sync: got 0 frames, 139464 expected
[20:20:36] Subtitle track 0 (id 0x1200) 'Deutsch [PGS]': 6 hits (0 forced)
[20:20:36] Subtitle track 1 (id 0x1201) 'Deutsch [PGS]': 992 hits (0 forced)
[20:20:36] Found a subtitle candidate with id 0x1200
[20:20:36] Starting Task: Encoding Pass
[20:20:36] Subtitle pass-thru requested and input track is not compatible with container.  Changing track 0 to burned-in
 subtitle.
[20:20:36] work: bitrate not specified, track 1 setting bitrate 640 Kbps
[20:20:36] job configuration:
[20:20:36]  * source
[20:20:36]    + D:\Temp\Dark_skies\bdcopy
[20:20:36]    + title 1, chapter(s) 1 to 13
[20:20:36]  * destination
[20:20:36]    + DARK_SKIES_001.mp4
[20:20:36]    + container: MPEG-4 (libavformat)
[20:20:36]      + optimized for HTTP streaming (fast start)
[20:20:36]      + chapter markers
[20:20:36]  * video track
[20:20:36]    + decoder: h264 8-bit
[20:20:36]      + bitrate 200 kbps
[20:20:36]    + filters
[20:20:36]      + Framerate Shaper (mode=1)
[20:20:36]        + frame rate: 23.976 fps -> constant 23.976 fps
[20:20:36]      + Subtitle renderer ()
[20:20:36]      + Crop and Scale (width=1920:height=800:crop-top=140:crop-bottom=140:crop-left=0:crop-right=0)
[20:20:36]        + source: 1920 * 1080, crop (140/140/0/0): 1920 * 800, scale: 1920 * 800
[20:20:36]    + Output geometry
[20:20:36]      + storage dimensions: 1920 x 800
[20:20:36]      + pixel aspect ratio: 1 : 1
[20:20:36]      + display dimensions: 1920 x 800
 EMnecdoidai nSgD:K )tr: H.265 10-bit (Intel
as[k2 02: 2o0f: 326,]  0 . 0 0   %+ preset:  balanced
[20:20:36]      + profile: auto
[20:20:36]      + level:   auto
[20:20:36]      + quality: 20.00 (ICQ)
[20:20:36]      + color profile: 1-1-1
[20:20:36]  * subtitle track 1, Deutsch [PGS] (track 0, id 0x1200, Picture) -> Render/Burn-in
[20:20:36]  * audio track 1
[20:20:36]    + decoder: Deutsch (DTS) (5.1 ch) (1536 kbps) (track 1, id 0x711100)
[20:20:36]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[20:20:36]    + mixdown: 5.1 Channels
[20:20:36]    + encoder: AC3 (libavcodec)
[20:20:36]      + bitrate: 640 kbps, samplerate: 48000 Hz
[20:20:36] sync: expecting 139464 video frames
[20:20:36] qsv: integrated qsv adapter with index 1 has been selected
[20:20:36] encqsvInit: using encode-only path
[20:20:36] encqsvInit: H.265/HEVC Main 10 profile @ level (null)
[20:20:36] encqsvInit: TargetUsage 4 AsyncDepth 4
[20:20:36] encqsvInit: GopRefDist 3 GopPicSize 24 NumRefFrame 2
[20:20:36] encqsvInit: BFramesMax 2 BRefType off
[20:20:36] encqsvInit: RateControlMethod ICQ ICQQuality 20
[20:20:36] sync: first pts video is 0
[20:20:36] sync: "Chapter 1" (1) at frame 1 time 0
[20:20:36] sync: first pts audio 0x711100 is 0
Encoding: task 2 of 2, 0.01 %[20:20:36] qsv_enc_init: using 'hardware (2) via D3D11' implementation, API: 1.35
Encoding: task 2 of 2, 0.04 %
PS D:\Temp\HandBrakeCLI-1.4.0-win-x86_64>
D:\Temp\HandBrakeCLI-1.4.0-win-x86_64>.\handbrakecli.exe -O -m -i D:\Temp\Dark_skies\bdcopy -o "DARK_SKIES_001.mp4" -t 1
-a 1 -E ac3 -6 5point1 -q 20.0 -e qsv_h265_10bit --encoder-preset balanced --disable-qsv-decoding --qsv-async-depth=0 -
-encoder-profile auto --encoder-level auto --no-dvdnav -s scan -N deu --subtitle-forced --subtitle-default --cfr --loose
-anamorphic --modulus 2

Code: Select all

[20:20:13] Compile-time hardening features are enabled
[20:20:14] hb_init: starting libhb thread
[20:20:14] thread 1 started ("libhb")
HandBrake 1.4.0 (2021071800) - MinGW x86_64 - https://handbrake.fr
8 CPUs detected
Opening D:\Temp\Dark_skies\bdcopy...
[20:20:14] CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
[20:20:14]  - Intel microarchitecture Kaby Lake
[20:20:14]  - logical processor count: 8
[20:20:14] Intel Quick Sync Video support: yes, gpu list: 1
[20:20:14] Intel Quick Sync Video integrated adapter with index 1
[20:20:14]  - Intel Media SDK hardware: API 1.35 (minimum: 1.3)
[20:20:14]  - Decode support:  h264 hevc (8bit: yes, 10bit: yes)
[20:20:14]  - H.264 encoder: yes
[20:20:14]     - preferred implementation: hardware (2) via D3D11
[20:20:14]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpsli
ce
[20:20:14]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[20:20:14]     - preferred implementation: hardware (2) via D3D11
[20:20:14]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[20:20:14] hb_scan: path=D:\Temp\Dark_skies\bdcopy, title_index=1
[20:20:14] scan: BD has 1 title(s)
[20:20:14] bd: scanning title 1
[20:20:14] bd: playlist 00000.MPLS
[20:20:14] bd: duration is 01:36:56 (5816852 ms)
[20:20:14] bd: video id=0x1011, stream type=H.264, format 1080p
[20:20:14] bd: aspect = 16:9
[20:20:14] bd: audio id=0x711100, lang=Deutsch (DTS), 3cc=deu
[20:20:14] bd: audio id=0x1100, lang=Deutsch (DTS-HD MA), 3cc=deu
[20:20:14] bd: audio id=0x711101, lang=English (DTS), 3cc=eng
[20:20:14] bd: audio id=0x1101, lang=English (DTS-HD MA), 3cc=eng
[20:20:14] bd: audio id=0x711102, lang=English (DTS), 3cc=eng
[20:20:14] bd: audio id=0x1102, lang=English (DTS-HD MA), 3cc=eng
[20:20:14] bd: subtitle id=0x1200, lang=Deutsch [PGS], 3cc=deu
[20:20:14] bd: subtitle id=0x1201, lang=Deutsch [PGS], 3cc=deu
[20:20:14] bd: chap 1, 414622 ms
[20:20:14] bd: chap 2, 566107 ms
[20:20:14] bd: chap 3, 485193 ms
[20:20:14] bd: chap 4, 539163 ms
[20:20:14] bd: chap 5, 419252 ms
[20:20:14] bd: chap 6, 702118 ms
[20:20:14] bd: chap 7, 356898 ms
[20:20:14] bd: chap 8, 409659 ms
[20:20:14] bd: chap 9, 581872 ms
[20:20:14] bd: chap 10, 412870 ms
[20:20:14] bd: chap 11, 688854 ms
[20:20:14] bd: chap 12, 238238 ms
[20:20:14] bd: chap 13, 2002 ms
[20:20:14] bd: title 1 has 13 chapters
[20:20:14] scan: decoding previews for title 1
[20:20:14] scan: title angle(s) 1
[20:20:14] scan: audio 0x711100: dca, rate=48000Hz, bitrate=1536000 Deutsch (DTS) (5.1 ch) (1536 kbps)
[20:20:14] scan: audio 0x1100: dca, rate=48000Hz, bitrate=1 Deutsch (DTS-HD MA) (5.1 ch)
[20:20:14] scan: audio 0x711101: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch) (1536 kbps)
[20:20:14] scan: audio 0x1101: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (5.1 ch)
[20:20:14] scan: audio 0x711102: dca, rate=48000Hz, bitrate=1536000 English (DTS) (2.0 ch) (1536 kbps)
[20:20:14] scan: audio 0x1102: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (2.0 ch)
Scanning title 1 of 1, preview 7, 70.00 %[20:20:15] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 140/140/0/0, as
pect 16:9, PAR 1:1, color profile: 1-1-1
[20:20:15] scan: supported video decoders: avcodec qsv
[20:20:15] stream: 5 good frames, 0 errors (0%)
[20:20:15] libhb: scan thread found 1 valid title(s)
+ Using preset: CLI Default
+ title 1:
  + playlist: 00000.MPLS
  + duration: 01:36:56
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 140/140/0/0
  + chapters:
    + 1: duration 00:06:55
    + 2: duration 00:09:26
    + 3: duration 00:08:05
    + 4: duration 00:08:59
    + 5: duration 00:06:59
    + 6: duration 00:11:42
    + 7: duration 00:05:57
    + 8: duration 00:06:50
    + 9: duration 00:09:42
    + 10: duration 00:06:53
    + 11: duration 00:11:29
    + 12: duration 00:03:58
    + 13: duration 00:00:02
  + audio tracks:
    + 1, Deutsch (DTS) (5.1 ch) (1536 kbps) (iso639-2: deu), 48000Hz, 1536000bps
    + 2, Deutsch (DTS-HD MA) (5.1 ch) (iso639-2: deu)
    + 3, English (DTS) (5.1 ch) (1536 kbps) (iso639-2: eng), 48000Hz, 1536000bps
    + 4, English (DTS-HD MA) (5.1 ch) (iso639-2: eng)
    + 5, English (DTS) (2.0 ch) (1536 kbps) (iso639-2: eng), 48000Hz, 1536000bps
    + 6, English (DTS-HD MA) (2.0 ch) (iso639-2: eng)
  + subtitle tracks:
    + 1, Deutsch [PGS]
    + 2, Deutsch [PGS]
[20:20:15] Starting work at: Mon Jul 26 20:20:15 2021

[20:20:15] 1 job(s) to process
[20:20:15] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Encoder": 2048,
                "Mixdown": 7,
                "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": [
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 55,
                    "Ticks": 37316028
                },
                "Name": "Chapter 1"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 9,
                    "Seconds": 26,
                    "Ticks": 50949648
                },
                "Name": "Chapter 2"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 8,
                    "Seconds": 5,
                    "Ticks": 43667374
                },
                "Name": "Chapter 3"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 8,
                    "Seconds": 59,
                    "Ticks": 48524726
                },
                "Name": "Chapter 4"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 59,
                    "Ticks": 37732696
                },
                "Name": "Chapter 5"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 11,
                    "Seconds": 42,
                    "Ticks": 63190628
                },
                "Name": "Chapter 6"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 57,
                    "Ticks": 32120838
                },
                "Name": "Chapter 7"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 50,
                    "Ticks": 36869332
                },
                "Name": "Chapter 8"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 9,
                    "Seconds": 42,
                    "Ticks": 52368566
                },
                "Name": "Chapter 9"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 53,
                    "Ticks": 37158372
                },
                "Name": "Chapter 10"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 11,
                    "Seconds": 29,
                    "Ticks": 61996934
                },
                "Name": "Chapter 11"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 58,
                    "Ticks": 21441420
                },
                "Name": "Chapter 12"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 0,
                    "Seconds": 2,
                    "Ticks": 180180
                },
                "Name": "Chapter 13"
            }
        ],
        "ChapterMarkers": true,
        "File": "DARK_SKIES_001.mp4",
        "InlineParameterSets": false,
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": true
        },
        "Mux": "m4v"
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 6,
                "Settings": {
                    "mode": 1
                }
            },
            {
                "ID": 13,
                "Settings": {
                    "crop-bottom": 140,
                    "crop-left": 0,
                    "crop-right": 0,
                    "crop-top": 140,
                    "height": 800,
                    "width": 1920
                }
            }
        ]
    },
    "Metadata": {},
    "PAR": {
        "Den": 1,
 E n c o d i n"gN:u mt"a:s k1
- 1   o f} ,-
1 ,   0 ."0S0e q%uenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "D:\\Temp\\Dark_skies\\bdcopy",
        "Range": {
            "End": 13,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": false,
            "Default": true,
            "Enable": true,
            "Forced": true
        },
        "SubtitleList": []
    },
    "Video": {
        "ColorFormat": 0,
        "ColorMatrix": 1,
        "ColorPrimaries": 1,
        "ColorRange": 1,
        "ColorTransfer": 1,
        "Encoder": "qsv_h265_10bit",
        "Level": "auto",
        "Preset": "balanced",
        "Profile": "auto",
        "QSV": {
            "AdapterIndex": 1,
            "AsyncDepth": 0,
            "Decode": false
        },
        "Quality": 20.0,
        "Turbo": false,
        "TwoPass": false
    }
}
[20:20:15] qsv: integrated qsv adapter with index 1 has been selected
[20:20:15] Starting Task: Subtitle Scan
[20:20:15] job configuration:
[20:20:15]  * source
[20:20:15]    + D:\Temp\Dark_skies\bdcopy
[20:20:15]    + title 1, chapter(s) 1 to 13
[20:20:15]  * destination
[20:20:15]    + DARK_SKIES_001.mp4
[20:20:15]    + container: MPEG-4 (libavformat)
[20:20:15]      + optimized for HTTP streaming (fast start)
[20:20:15]      + chapter markers
[20:20:15]  * video track
[20:20:15]    + decoder: h264 8-bit
[20:20:15]      + bitrate 200 kbps
[20:20:15]    + filters
[20:20:15]      + Framerate Shaper (mode=1)
[20:20:15]        + frame rate: 23.976 fps -> constant 23.976 fps
[20:20:15]      + Crop and Scale (width=1920:height=800:crop-top=140:crop-bottom=140:crop-left=0:crop-right=0)
[20:20:15]        + source: 1920 * 1080, crop (140/140/0/0): 1920 * 800, scale: 1920 * 800
[20:20:15]    + Output geometry
[20:20:15]      + storage dimensions: 1920 x 800
[20:20:15]      + pixel aspect ratio: 1 : 1
[20:20:15]      + display dimensions: 1920 x 800
[20:20:15]  * Foreign Audio Search: Passthrough, Forced Only, Default
[20:20:15]    + subtitle, Deutsch [PGS] (track 0, id 0x1200, Picture)
[20:20:15]    + subtitle, Deutsch [PGS] (track 1, id 0x1201, Picture)
[20:20:15] sync: expecting 139464 video frames
Encoding: task 1 of 2, 99.38 % (0.00 fps, avg 0.00 fps, ETA 00h00m00s)[20:20:36] bd: End of title
[20:20:36] reader: done. 4 scr changes
Encoding: task 1 of 2, 100.00 % (0.00 fps, avg 0.00 fps, ETA 00h00m00s)[20:20:36] work: average encoding speed for job i
s 0.000000 fps
[20:20:36] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[20:20:36] vfr: lost time: 0 (0 frames)
[20:20:36] vfr: gained time: 0 (0 frames) (0 not accounted for)
[20:20:36] stream: 139465 good frames, 0 errors (0%)
[20:20:36] h264-decoder done: 0 frames, 1 decoder errors
[20:20:36] sync: got 0 frames, 139464 expected
[20:20:36] Subtitle track 0 (id 0x1200) 'Deutsch [PGS]': 6 hits (0 forced)
[20:20:36] Subtitle track 1 (id 0x1201) 'Deutsch [PGS]': 992 hits (0 forced)
[20:20:36] Found a subtitle candidate with id 0x1200
[20:20:36] Starting Task: Encoding Pass
[20:20:36] Subtitle pass-thru requested and input track is not compatible with container.  Changing track 0 to burned-in
 subtitle.
[20:20:36] work: bitrate not specified, track 1 setting bitrate 640 Kbps
[20:20:36] job configuration:
[20:20:36]  * source
[20:20:36]    + D:\Temp\Dark_skies\bdcopy
[20:20:36]    + title 1, chapter(s) 1 to 13
[20:20:36]  * destination
[20:20:36]    + DARK_SKIES_001.mp4
[20:20:36]    + container: MPEG-4 (libavformat)
[20:20:36]      + optimized for HTTP streaming (fast start)
[20:20:36]      + chapter markers
[20:20:36]  * video track
[20:20:36]    + decoder: h264 8-bit
[20:20:36]      + bitrate 200 kbps
[20:20:36]    + filters
[20:20:36]      + Framerate Shaper (mode=1)
[20:20:36]        + frame rate: 23.976 fps -> constant 23.976 fps
[20:20:36]      + Subtitle renderer ()
[20:20:36]      + Crop and Scale (width=1920:height=800:crop-top=140:crop-bottom=140:crop-left=0:crop-right=0)
[20:20:36]        + source: 1920 * 1080, crop (140/140/0/0): 1920 * 800, scale: 1920 * 800
[20:20:36]    + Output geometry
[20:20:36]      + storage dimensions: 1920 x 800
[20:20:36]      + pixel aspect ratio: 1 : 1
[20:20:36]      + display dimensions: 1920 x 800
 EMnecdoidai nSgD:K )tr: H.265 10-bit (Intel
as[k2 02: 2o0f: 326,]  0 . 0 0   %+ preset:  balanced
[20:20:36]      + profile: auto
[20:20:36]      + level:   auto
[20:20:36]      + quality: 20.00 (ICQ)
[20:20:36]      + color profile: 1-1-1
[20:20:36]  * subtitle track 1, Deutsch [PGS] (track 0, id 0x1200, Picture) -> Render/Burn-in
[20:20:36]  * audio track 1
[20:20:36]    + decoder: Deutsch (DTS) (5.1 ch) (1536 kbps) (track 1, id 0x711100)
[20:20:36]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[20:20:36]    + mixdown: 5.1 Channels
[20:20:36]    + encoder: AC3 (libavcodec)
[20:20:36]      + bitrate: 640 kbps, samplerate: 48000 Hz
[20:20:36] sync: expecting 139464 video frames
[20:20:36] qsv: integrated qsv adapter with index 1 has been selected
[20:20:36] encqsvInit: using encode-only path
[20:20:36] encqsvInit: H.265/HEVC Main 10 profile @ level (null)
[20:20:36] encqsvInit: TargetUsage 4 AsyncDepth 4
[20:20:36] encqsvInit: GopRefDist 3 GopPicSize 24 NumRefFrame 2
[20:20:36] encqsvInit: BFramesMax 2 BRefType off
[20:20:36] encqsvInit: RateControlMethod ICQ ICQQuality 20
[20:20:36] sync: first pts video is 0
[20:20:36] sync: "Chapter 1" (1) at frame 1 time 0
[20:20:36] sync: first pts audio 0x711100 is 0
Encoding: task 2 of 2, 0.01 %[20:20:36] qsv_enc_init: using 'hardware (2) via D3D11' implementation, API: 1.35
Encoding: task 2 of 2, 0.04 %
PS D:\Temp\HandBrakeCLI-1.4.0-win-x86_64>

*** second log ***

D:\Temp\HandBrakeCLI-1.4.0-win-x86_64>.\handbrakecli.exe -O -m -i D:\Temp\Dark_skies\bdcopy -o "DARK_SKIES_001.mp4" -t 1
-a 1 -E ac3 -6 5point1 -q 20.0 -e qsv_h265_10bit --encoder-preset balanced --disable-qsv-decoding --qsv-async-depth=0 -
-encoder-profile auto --encoder-level auto --no-dvdnav -s scan -N deu --subtitle-forced --subtitle-default --cfr --loose
-anamorphic --modulus 2

Code: Select all

[20:09:11] Compile-time hardening features are enabled
[20:09:12] hb_init: starting libhb thread
[20:09:12] thread 1 started ("libhb")
HandBrake 1.4.0 (2021071800) - MinGW x86_64 - https://handbrake.fr
8 CPUs detected
Opening D:\Temp\Dark_skies\bdcopy...
[20:09:12] CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
[20:09:12]  - Intel microarchitecture Kaby Lake
[20:09:12]  - logical processor count: 8
[20:09:12] Intel Quick Sync Video support: yes, gpu list: 1
[20:09:12] Intel Quick Sync Video integrated adapter with index 1
[20:09:12]  - Intel Media SDK hardware: API 1.35 (minimum: 1.3)
[20:09:12]  - Decode support:  h264 hevc (8bit: yes, 10bit: yes)
[20:09:12]  - H.264 encoder: yes
[20:09:12]     - preferred implementation: hardware (2) via D3D11
[20:09:12]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpsli
ce
[20:09:12]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[20:09:12]     - preferred implementation: hardware (2) via D3D11
[20:09:12]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[20:09:12] hb_scan: path=D:\Temp\Dark_skies\bdcopy, title_index=1
[20:09:12] scan: BD has 1 title(s)
[20:09:12] bd: scanning title 1
[20:09:12] bd: playlist 00000.MPLS
[20:09:12] bd: duration is 01:36:56 (5816852 ms)
[20:09:12] bd: video id=0x1011, stream type=H.264, format 1080p
[20:09:12] bd: aspect = 16:9
[20:09:12] bd: audio id=0x711100, lang=Deutsch (DTS), 3cc=deu
[20:09:12] bd: audio id=0x1100, lang=Deutsch (DTS-HD MA), 3cc=deu
[20:09:12] bd: audio id=0x711101, lang=English (DTS), 3cc=eng
[20:09:12] bd: audio id=0x1101, lang=English (DTS-HD MA), 3cc=eng
[20:09:12] bd: audio id=0x711102, lang=English (DTS), 3cc=eng
[20:09:12] bd: audio id=0x1102, lang=English (DTS-HD MA), 3cc=eng
[20:09:12] bd: subtitle id=0x1200, lang=Deutsch [PGS], 3cc=deu
[20:09:12] bd: subtitle id=0x1201, lang=Deutsch [PGS], 3cc=deu
[20:09:12] bd: chap 1, 414622 ms
[20:09:12] bd: chap 2, 566107 ms
[20:09:12] bd: chap 3, 485193 ms
[20:09:12] bd: chap 4, 539163 ms
[20:09:12] bd: chap 5, 419252 ms
[20:09:12] bd: chap 6, 702118 ms
[20:09:12] bd: chap 7, 356898 ms
[20:09:12] bd: chap 8, 409659 ms
[20:09:12] bd: chap 9, 581872 ms
[20:09:12] bd: chap 10, 412870 ms
[20:09:12] bd: chap 11, 688854 ms
[20:09:12] bd: chap 12, 238238 ms
[20:09:12] bd: chap 13, 2002 ms
[20:09:12] bd: title 1 has 13 chapters
[20:09:12] scan: decoding previews for title 1
[20:09:12] scan: title angle(s) 1
[20:09:12] scan: audio 0x711100: dca, rate=48000Hz, bitrate=1536000 Deutsch (DTS) (5.1 ch) (1536 kbps)
[20:09:12] scan: audio 0x1100: dca, rate=48000Hz, bitrate=1 Deutsch (DTS-HD MA) (5.1 ch)
[20:09:12] scan: audio 0x711101: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch) (1536 kbps)
[20:09:12] scan: audio 0x1101: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (5.1 ch)
[20:09:12] scan: audio 0x711102: dca, rate=48000Hz, bitrate=1536000 English (DTS) (2.0 ch) (1536 kbps)
[20:09:12] scan: audio 0x1102: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (2.0 ch)
Scanning title 1 of 1, preview 7, 70.00 %[20:09:12] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 140/140/0/0, as
pect 16:9, PAR 1:1, color profile: 1-1-1
[20:09:12] scan: supported video decoders: avcodec qsv
[20:09:12] stream: 5 good frames, 0 errors (0%)
[20:09:12] libhb: scan thread found 1 valid title(s)
+ Using preset: CLI Default
+ title 1:
  + playlist: 00000.MPLS
  + duration: 01:36:56
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 140/140/0/0
  + chapters:
    + 1: duration 00:06:55
    + 2: duration 00:09:26
    + 3: duration 00:08:05
    + 4: duration 00:08:59
    + 5: duration 00:06:59
    + 6: duration 00:11:42
    + 7: duration 00:05:57
    + 8: duration 00:06:50
    + 9: duration 00:09:42
    + 10: duration 00:06:53
    + 11: duration 00:11:29
    + 12: duration 00:03:58
    + 13: duration 00:00:02
  + audio tracks:
    + 1, Deutsch (DTS) (5.1 ch) (1536 kbps) (iso639-2: deu), 48000Hz, 1536000bps
    + 2, Deutsch (DTS-HD MA) (5.1 ch) (iso639-2: deu)
    + 3, English (DTS) (5.1 ch) (1536 kbps) (iso639-2: eng), 48000Hz, 1536000bps
    + 4, English (DTS-HD MA) (5.1 ch) (iso639-2: eng)
    + 5, English (DTS) (2.0 ch) (1536 kbps) (iso639-2: eng), 48000Hz, 1536000bps
    + 6, English (DTS-HD MA) (2.0 ch) (iso639-2: eng)
  + subtitle tracks:
    + 1, Deutsch [PGS]
    + 2, Deutsch [PGS]
[20:09:12] Starting work at: Mon Jul 26 20:09:12 2021

[20:09:12] 1 job(s) to process
[20:09:12] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Encoder": 2048,
                "Mixdown": 7,
                "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": [
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 55,
                    "Ticks": 37316028
                },
                "Name": "Chapter 1"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 9,
                    "Seconds": 26,
                    "Ticks": 50949648
                },
                "Name": "Chapter 2"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 8,
                    "Seconds": 5,
                    "Ticks": 43667374
                },
                "Name": "Chapter 3"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 8,
                    "Seconds": 59,
                    "Ticks": 48524726
                },
                "Name": "Chapter 4"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 59,
                    "Ticks": 37732696
                },
                "Name": "Chapter 5"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 11,
                    "Seconds": 42,
                    "Ticks": 63190628
                },
                "Name": "Chapter 6"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 57,
                    "Ticks": 32120838
                },
                "Name": "Chapter 7"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 50,
                    "Ticks": 36869332
                },
                "Name": "Chapter 8"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 9,
                    "Seconds": 42,
                    "Ticks": 52368566
                },
                "Name": "Chapter 9"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 53,
                    "Ticks": 37158372
                },
                "Name": "Chapter 10"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 11,
                    "Seconds": 29,
                    "Ticks": 61996934
                },
                "Name": "Chapter 11"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 58,
                    "Ticks": 21441420
                },
                "Name": "Chapter 12"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 0,
                    "Seconds": 2,
                    "Ticks": 180180
                },
                "Name": "Chapter 13"
            }
        ],
        "ChapterMarkers": true,
        "File": "DARK_SKIES_001.mp4",
        "InlineParameterSets": false,
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": true
        },
        "Mux": "m4v"
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 6,
                "Settings": {
                    "mode": 1
                }
            },
            {
                "ID": 13,
                "Settings": {
                    "crop-bottom": 140,
                    "crop-left": 0,
                    "crop-right": 0,
                    "crop-top": 140,
                    "height": 800,
                    "width": 1920
                }
            }
 E n c]o
d i n g :} ,t
a s k   -"1M eotfa d-a1t,a "0:. 0{0} ,%
    "PAR": {
        "Den": 1,
        "Num": 1
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "D:\\Temp\\Dark_skies\\bdcopy",
        "Range": {
            "End": 13,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": false,
            "Default": true,
            "Enable": true,
            "Forced": true
        },
        "SubtitleList": []
    },
    "Video": {
        "ColorFormat": 0,
        "ColorMatrix": 1,
        "ColorPrimaries": 1,
        "ColorRange": 1,
        "ColorTransfer": 1,
        "Encoder": "qsv_h265_10bit",
        "Level": "auto",
        "Preset": "balanced",
        "Profile": "auto",
        "QSV": {
            "AdapterIndex": 1,
            "AsyncDepth": 0,
            "Decode": false
        },
        "Quality": 20.0,
        "Turbo": false,
        "TwoPass": false
    }
}
[20:09:12] qsv: integrated qsv adapter with index 1 has been selected
[20:09:12] Starting Task: Subtitle Scan
[20:09:13] job configuration:
[20:09:13]  * source
[20:09:13]    + D:\Temp\Dark_skies\bdcopy
[20:09:13]    + title 1, chapter(s) 1 to 13
[20:09:13]  * destination
[20:09:13]    + DARK_SKIES_001.mp4
[20:09:13]    + container: MPEG-4 (libavformat)
[20:09:13]      + optimized for HTTP streaming (fast start)
[20:09:13]      + chapter markers
[20:09:13]  * video track
[20:09:13]    + decoder: h264 8-bit
[20:09:13]      + bitrate 200 kbps
[20:09:13]    + filters
[20:09:13]      + Framerate Shaper (mode=1)
[20:09:13]        + frame rate: 23.976 fps -> constant 23.976 fps
[20:09:13]      + Crop and Scale (width=1920:height=800:crop-top=140:crop-bottom=140:crop-left=0:crop-right=0)
[20:09:13]        + source: 1920 * 1080, crop (140/140/0/0): 1920 * 800, scale: 1920 * 800
[20:09:13]    + Output geometry
[20:09:13]      + storage dimensions: 1920 x 800
[20:09:13]      + pixel aspect ratio: 1 : 1
[20:09:13]      + display dimensions: 1920 x 800
[20:09:13]  * Foreign Audio Search: Passthrough, Forced Only, Default
[20:09:13]    + subtitle, Deutsch [PGS] (track 0, id 0x1200, Picture)
[20:09:13]    + subtitle, Deutsch [PGS] (track 1, id 0x1201, Picture)
[20:09:13] sync: expecting 139464 video frames
Encoding: task 1 of 2, 99.49 % (0.00 fps, avg 0.00 fps, ETA 00h00m00s)[20:09:33] bd: End of title
[20:09:33] reader: done. 4 scr changes
Encoding: task 1 of 2, 100.00 % (0.00 fps, avg 0.00 fps, ETA 00h00m00s)[20:09:33] work: average encoding speed for job i
s 0.000000 fps
[20:09:33] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[20:09:33] vfr: lost time: 0 (0 frames)
[20:09:33] vfr: gained time: 0 (0 frames) (0 not accounted for)
[20:09:33] stream: 139465 good frames, 0 errors (0%)
[20:09:33] h264-decoder done: 0 frames, 1 decoder errors
[20:09:33] sync: got 0 frames, 139464 expected
[20:09:33] Subtitle track 0 (id 0x1200) 'Deutsch [PGS]': 6 hits (0 forced)
[20:09:33] Subtitle track 1 (id 0x1201) 'Deutsch [PGS]': 992 hits (0 forced)
[20:09:33] Found a subtitle candidate with id 0x1200
[20:09:33] Starting Task: Encoding Pass
[20:09:33] Subtitle pass-thru requested and input track is not compatible with container.  Changing track 0 to burned-in
 subtitle.
[20:09:33] work: bitrate not specified, track 1 setting bitrate 640 Kbps
[20:09:33] job configuration:
[20:09:33]  * source
[20:09:33]    + D:\Temp\Dark_skies\bdcopy
[20:09:33]    + title 1, chapter(s) 1 to 13
[20:09:33]  * destination
[20:09:33]    + DARK_SKIES_001.mp4
[20:09:33]    + container: MPEG-4 (libavformat)
[20:09:33]      + optimized for HTTP streaming (fast start)
[20:09:33]      + chapter markers
[20:09:33]  * video track
[20:09:33]    + decoder: h264 8-bit
[20:09:33]      + bitrate 200 kbps
[20:09:33]    + filters
[20:09:33]      + Framerate Shaper (mode=1)
[20:09:33]        + frame rate: 23.976 fps -> constant 23.976 fps
[20:09:33]      + Subtitle renderer ()
[20:09:33]      + Crop and Scale (width=1920:height=800:crop-top=140:crop-bottom=140:crop-left=0:crop-right=0)
[20:09:33]        + source: 1920 * 1080, crop (140/140/0/0): 1920 * 800, scale: 1920 * 800
[20:09:33]    + Output geometry
[20:09:33]      + storage dimensions: 1920 x 800
[20:09:33]      + pixel aspect ratio: 1 : 1
[20:09:33]      + display dimensions: 1920 x 800
[20:09:33]    + encoder: H.265 10-bit (Intel Media SDK)
[20:09:33]      + preset:  balanced
[20:09:33]      + profile: auto
[20:09:33]      + level:   auto
[20:09:33]      + quality: 20.00 (ICQ)
[20:09:33]      + color profile: 1-1-1
[20:09:33]  * subtitle track 1, Deutsch [PGS] (track 0, id 0x1200, Picture) -> Render/Burn-in
[20:09:33]  * audio track 1
[20:09:33]    + decoder: Deutsch (DTS) (5.1 ch) (1536 kbps) (track 1, id 0x711100)
[20:09:33]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[20:09:33]    + mixdown: 5.1 Channels
[20:09:33]    + encoder: AC3 (libavcodec)
[20:09:33]      + bitrate: 640 kbps, samplerate: 48000 Hz
[20:09:34] sync: expecting 139464 video frames
Encoding: task 2 of 2, 0.00 %[20:09:34] encqsvInit: using encode-only path
[20:09:34] encqsvInit: H.265/HEVC Main 10 profile @ level (null)
[20:09:34] encqsvInit: TargetUsage 4 AsyncDepth 4
[20:09:34] encqsvInit: GopRefDist 3 GopPicSize 24 NumRefFrame 2
[20:09:34] encqsvInit: BFramesMax 2 BRefType off
[20:09:34] encqsvInit: RateControlMethod ICQ ICQQuality 20
[20:09:34] sync: first pts video is 0
[20:09:34] sync: "Chapter 1" (1) at frame 1 time 0
[20:09:34] sync: first pts audio 0x711100 is 0
Encoding: task 2 of 2, 0.62 %[20:09:36] sync: first pts subtitle 0x1200 is 3678675
Encoding: task 2 of 2, 7.12 % (336.18 fps, avg 340.93 fps, ETA 00h06m20s)[20:10:03] sync: "Chapter 2" (2) at frame 9942
time 37316028
Encoding: task 2 of 2, 16.80 % (344.06 fps, avg 342.23 fps, ETA 00h05m39s)[20:10:42] sync: "Chapter 3" (3) at frame 2351
5 time 88265677
Encoding: task 2 of 2, 25.15 % (354.24 fps, avg 342.48 fps, ETA 00h05m05s)[20:11:16] sync: "Chapter 4" (4) at frame 3514
8 time 131933051
Encoding: task 2 of 2, 34.45 % (342.42 fps, avg 341.70 fps, ETA 00h04m28s)[20:11:54] sync: "Chapter 5" (5) at frame 4807
5 time 180457777
Encoding: task 2 of 2, 41.64 % (345.37 fps, avg 342.02 fps, ETA 00h03m58s)[20:12:24] sync: "Chapter 6" (6) at frame 5812
7 time 218190472
Encoding: task 2 of 2, 53.71 % (348.65 fps, avg 341.23 fps, ETA 00h03m09s)[20:13:13] sync: "Chapter 7" (7) at frame 7496
1 time 281381100
Encoding: task 2 of 2, 59.84 % (341.62 fps, avg 339.88 fps, ETA 00h02m44s)[20:13:39] sync: "Chapter 8" (8) at frame 8351
8 time 313501938
Encoding: task 2 of 2, 66.91 % (356.53 fps, avg 340.73 fps, ETA 00h02m16s)[20:14:08] sync: "Chapter 9" (9) at frame 9334
0 time 350371271
Encoding: task 2 of 2, 76.91 % (350.62 fps, avg 340.88 fps, ETA 00h01m34s)[20:14:48] sync: "Chapter 10" (10) at frame 10
7291 time 402739837
Encoding: task 2 of 2, 84.01 % (344.39 fps, avg 340.76 fps, ETA 00h01m06s)[20:15:18] sync: "Chapter 11" (11) at frame 11
7190 time 439898208
Encoding: task 2 of 2, 95.85 % (343.40 fps, avg 342.44 fps, ETA 00h00m17s)[20:16:04] sync: "Chapter 12" (12) at frame 13
3706 time 501895143
Encoding: task 2 of 2, 99.93 % (539.52 fps, avg 347.43 fps, ETA 00h00m01s)[20:16:14] bd: End of title
[20:16:14] reader: done. 4 scr changes
[20:16:14] sync: "Chapter 13" (13) at frame 139418 time 523336563
Encoding: task 2 of 2, 100.00 % (539.52 fps, avg 347.43 fps, ETA 00h00m01s)
PS D:\Temp\HandBrakeCLI-1.4.0-win-x86_64>
Last edited by s55 on Mon Jul 26, 2021 6:57 pm, edited 1 time in total.
Reason: Added code blocks
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: HB CLI 1.4.0 does not work anymore

Post by s55 »

Some kind of bug introduced in QSV related code unfortunately. You can either go back to 1.3.3 or wait a while for it to be tracked down and hopefully fixed for 1.4.1

Yeh, certainly looks like a race condition and is probably related to https://github.com/HandBrake/HandBrake/issues/3683

AlignAV seems to more consistently crash it.
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: HB CLI 1.4.0 does not work anymore

Post by s55 »

If your up to try some very basic debugging to help us pinpoint and confirm, I have a debug build and instructions here:

https://github.com/HandBrake/HandBrake/ ... -886210537
nick24
Posts: 31
Joined: Fri Dec 19, 2014 4:38 pm

Re: HB CLI 1.4.0 does not work anymore

Post by nick24 »

I'm happy to help pinpoint the problem. I'll give you feedback the next days ...
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: HB CLI 1.4.0 does not work anymore

Post by s55 »

Thanks nick, appreciate that :)

Looks like there are a couple different ways this problem is showing so good to confirm all the different points.
nick24
Posts: 31
Joined: Fri Dec 19, 2014 4:38 pm

Re: HB CLI 1.4.0 does not work anymore

Post by nick24 »

Here's the full log with gdb output. Same source as before. Besides a segmentation fault there's a heap warning from gdb before.

Interestingly, a (very rare) successful run does not show 'qsv_enc_init: using 'hardware (2) via D3D11' implementation, API: 1.35' when starting the encoding job (at the end right before the crash happens).

*** log ***

PS D:\Temp\hb_debug\hb_debug> .\gdb.exe .\HandBrakeCLI.exe
D:\Temp\hb_debug\hb_debug\gdb.exe: warning: Couldn't determine a path for the index cache directory.
GNU gdb (GDB) 10.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from .\HandBrakeCLI.exe...
<deu --subtitle-forced --subtitle-default --cfr --loose-anamorphic --modulus 2
Starting program: D:\Temp\hb_debug\hb_debug\HandBrakeCLI.exe -O -m -i E:/ -o test.mp4 -t 1 -a 1 -E ac3 -6 5point1 -q 20.
0 -e qsv_h265_10bit --encoder-preset balanced --disable-qsv-decoding --qsv-async-depth=0 --encoder-profile auto --encode
r-level auto --no-dvdnav -s scan -N deu --subtitle-forced --subtitle-default --cfr --loose-anamorphic --modulus 2
[New Thread 7904.0xc2c]
[New Thread 7904.0x241c]
[New Thread 7904.0x1e14]
warning: Can not parse XML library list; XML support was disabled at compile time
[17:18:58] Compile-time hardening features are enabled
[New Thread 7904.0x868]
[New Thread 7904.0x2510]
[New Thread 7904.0x24dc]
[New Thread 7904.0x213c]
[New Thread 7904.0x24b0]
[New Thread 7904.0x1048]
[New Thread 7904.0x10e8]
[New Thread 7904.0xdd0]
[New Thread 7904.0x1e50]
[New Thread 7904.0x16ac]
[New Thread 7904.0x20]
[New Thread 7904.0x1dbc]
[New Thread 7904.0x1064]
[New Thread 7904.0x1894]
[New Thread 7904.0x2678]
[New Thread 7904.0x14d0]
[Thread 7904.0x868 exited with code 0]
[Thread 7904.0x2510 exited with code 0]
[Thread 7904.0x24dc exited with code 0]
[Thread 7904.0x213c exited with code 0]
[Thread 7904.0x24b0 exited with code 0]
[Thread 7904.0x1048 exited with code 0]
[Thread 7904.0x10e8 exited with code 0]
[Thread 7904.0xdd0 exited with code 0]
[New Thread 7904.0x25b0]
[New Thread 7904.0xb44]
[New Thread 7904.0x1a18]
[New Thread 7904.0xfdc]
[New Thread 7904.0x24fc]
[New Thread 7904.0x15a0]
[New Thread 7904.0x9cc]
[New Thread 7904.0x27b4]
[Thread 7904.0x1064 exited with code 0]
[Thread 7904.0x16ac exited with code 0]
[Thread 7904.0x1dbc exited with code 0]
[Thread 7904.0x1894 exited with code 0]
[Thread 7904.0x14d0 exited with code 0]
[Thread 7904.0x20 exited with code 0]
[Thread 7904.0x1e50 exited with code 0]
[Thread 7904.0x2678 exited with code 0]
[Thread 7904.0xfdc exited with code 0]
[Thread 7904.0x27b4 exited with code 0]
[Thread 7904.0x25b0 exited with code 0]
[Thread 7904.0xb44 exited with code 0]
[Thread 7904.0x1a18 exited with code 0]
[Thread 7904.0x24fc exited with code 0]
[Thread 7904.0x15a0 exited with code 0]
[Thread 7904.0x9cc exited with code 0]
[New Thread 7904.0xe54]
[New Thread 7904.0x22b4]
[New Thread 7904.0x2018]
[New Thread 7904.0x2570]
[New Thread 7904.0x2410]
[New Thread 7904.0x1e70]
[New Thread 7904.0xee0]
[New Thread 7904.0x27e8]
[New Thread 7904.0x2500]
[New Thread 7904.0x273c]
[New Thread 7904.0x152c]
[New Thread 7904.0x684]
[New Thread 7904.0xdb0]
[New Thread 7904.0x15a4]
[New Thread 7904.0x1e60]
[New Thread 7904.0x24d8]
[Thread 7904.0x2410 exited with code 0]
[Thread 7904.0xe54 exited with code 0]
[Thread 7904.0x22b4 exited with code 0]
[Thread 7904.0x2018 exited with code 0]
[Thread 7904.0x2570 exited with code 0]
[Thread 7904.0x1e70 exited with code 0]
[Thread 7904.0xee0 exited with code 0]
[Thread 7904.0x27e8 exited with code 0]
[New Thread 7904.0x1650]
[New Thread 7904.0x698]
[New Thread 7904.0x1080]
[New Thread 7904.0x1ae4]
[New Thread 7904.0x2214]
[New Thread 7904.0x2558]
[New Thread 7904.0x18a8]
[New Thread 7904.0x21d0]
[Thread 7904.0xdb0 exited with code 0]
[Thread 7904.0x2500 exited with code 0]
[Thread 7904.0x273c exited with code 0]
[Thread 7904.0x24d8 exited with code 0]
[Thread 7904.0x1e60 exited with code 0]
[Thread 7904.0x152c exited with code 0]
[Thread 7904.0x15a4 exited with code 0]
[Thread 7904.0x684 exited with code 0]
[Thread 7904.0x1650 exited with code 0]
[Thread 7904.0x1ae4 exited with code 0]
[Thread 7904.0x698 exited with code 0]
[Thread 7904.0x1080 exited with code 0]
[Thread 7904.0x2214 exited with code 0]
[Thread 7904.0x2558 exited with code 0]
[Thread 7904.0x18a8 exited with code 0]
[Thread 7904.0x21d0 exited with code 0]
[17:19:12] hb_init: starting libhb thread
[New Thread 7904.0xf9c]
[17:19:12] thread 1 started ("libhb")
HandBrake 1.4.0 (2021072500) - MinGW x86_64 - https://handbrake.fr
8 CPUs detected
Opening E:/...
[17:19:12] CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
[17:19:12] - Intel microarchitecture Kaby Lake
[17:19:12] - logical processor count: 8
[17:19:12] Intel Quick Sync Video support: yes, gpu list: 1
[17:19:12] Intel Quick Sync Video integrated adapter with index 1
[17:19:12] - Intel Media SDK hardware: API 1.35 (minimum: 1.3)
[17:19:12] - Decode support: h264 hevc (8bit: yes, 10bit: yes)
[17:19:12] - H.264 encoder: yes
[17:19:12] - preferred implementation: hardware (2) via D3D11
[17:19:12] - capabilities (hardware): breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpsli
ce
[17:19:12] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[17:19:12] - preferred implementation: hardware (2) via D3D11
[17:19:12] - capabilities (hardware): bpyramid icq vsinfo opt1
[17:19:12] hb_scan: path=E:/, title_index=1
[New Thread 7904.0x14f8]
[17:19:13] scan: BD has 9 title(s)
[17:19:13] bd: scanning title 1
[17:19:13] bd: playlist 00000.MPLS
[17:19:13] bd: duration is 01:36:56 (5816852 ms)
[17:19:13] bd: video id=0x1011, stream type=H.264, format 1080p
[17:19:13] bd: aspect = 16:9
[17:19:13] bd: audio id=0x711100, lang=Deutsch (DTS), 3cc=deu
[17:19:13] bd: audio id=0x1100, lang=Deutsch (DTS-HD MA), 3cc=deu
[17:19:13] bd: audio id=0x711101, lang=English (DTS), 3cc=eng
[17:19:13] bd: audio id=0x1101, lang=English (DTS-HD MA), 3cc=eng
[17:19:13] bd: audio id=0x711102, lang=English (DTS), 3cc=eng
[17:19:13] bd: audio id=0x1102, lang=English (DTS-HD MA), 3cc=eng
[17:19:13] bd: subtitle id=0x1200, lang=Deutsch [PGS], 3cc=deu
[17:19:13] bd: subtitle id=0x1201, lang=Deutsch [PGS], 3cc=deu
[17:19:13] bd: chap 1, 414622 ms
[17:19:13] bd: chap 2, 566107 ms
[17:19:13] bd: chap 3, 485193 ms
[17:19:13] bd: chap 4, 539163 ms
[17:19:13] bd: chap 5, 419252 ms
[17:19:13] bd: chap 6, 702118 ms
[17:19:13] bd: chap 7, 356898 ms
[17:19:13] bd: chap 8, 409659 ms
[17:19:13] bd: chap 9, 581872 ms
[17:19:13] bd: chap 10, 412870 ms
[17:19:13] bd: chap 11, 688854 ms
[17:19:13] bd: chap 12, 238238 ms
[17:19:13] bd: chap 13, 2002 ms
[17:19:13] bd: title 1 has 13 chapters
[17:19:13] scan: decoding previews for title 1
[17:19:13] scan: title angle(s) 1
[17:19:13] scan: audio 0x711100: dca, rate=48000Hz, bitrate=1536000 Deutsch (DTS) (5.1 ch) (1536 kbps)
[17:19:13] scan: audio 0x1100: dca, rate=48000Hz, bitrate=1 Deutsch (DTS-HD MA) (5.1 ch)
[17:19:13] scan: audio 0x711101: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch) (1536 kbps)
[17:19:13] scan: audio 0x1101: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (5.1 ch)
[17:19:13] scan: audio 0x711102: dca, rate=48000Hz, bitrate=1536000 English (DTS) (2.0 ch) (1536 kbps)
[17:19:13] scan: audio 0x1102: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (2.0 ch)
Scanning title 1 of 1, preview 9, 90.00 %[17:19:13] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 140/140/0/0, as
pect 16:9, PAR 1:1, color profile: 1-1-1
[17:19:13] scan: supported video decoders: avcodec qsv
[17:19:13] stream: 5 good frames, 0 errors (0%)
[Thread 7904.0x14f8 exited with code 0]
[17:19:13] libhb: scan thread found 1 valid title(s)
+ Using preset: CLI Default
+ title 1:
+ playlist: 00000.MPLS
+ duration: 01:36:56
+ size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
+ autocrop: 140/140/0/0
+ chapters:
+ 1: duration 00:06:55
+ 2: duration 00:09:26
+ 3: duration 00:08:05
+ 4: duration 00:08:59
+ 5: duration 00:06:59
+ 6: duration 00:11:42
+ 7: duration 00:05:57
+ 8: duration 00:06:50
+ 9: duration 00:09:42
+ 10: duration 00:06:53
+ 11: duration 00:11:29
+ 12: duration 00:03:58
+ 13: duration 00:00:02
+ audio tracks:
+ 1, Deutsch (DTS) (5.1 ch) (1536 kbps) (iso639-2: deu), 48000Hz, 1536000bps
+ 2, Deutsch (DTS-HD MA) (5.1 ch) (iso639-2: deu)
+ 3, English (DTS) (5.1 ch) (1536 kbps) (iso639-2: eng), 48000Hz, 1536000bps
+ 4, English (DTS-HD MA) (5.1 ch) (iso639-2: eng)
+ 5, English (DTS) (2.0 ch) (1536 kbps) (iso639-2: eng), 48000Hz, 1536000bps
+ 6, English (DTS-HD MA) (2.0 ch) (iso639-2: eng)
+ subtitle tracks:
+ 1, Deutsch [PGS]
+ 2, Deutsch [PGS]
[New Thread 7904.0x2378]
[17:19:13] Starting work at: Tue Jul 27 17:19:13 2021

[17:19:13] 1 job(s) to process
[17:19:13] json job:
{
"Audio": {
"AudioList": [
{
"Encoder": 2048,
"Mixdown": 7,
"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": [
{
"Duration": {
"Hours": 0,
"Minutes": 6,
"Seconds": 55,
"Ticks": 37316028
},
"Name": "Chapter 1"
},
{
"Duration": {
"Hours": 0,
"Minutes": 9,
"Seconds": 26,
"Ticks": 50949648
},
"Name": "Chapter 2"
},
{
"Duration": {
"Hours": 0,
"Minutes": 8,
"Seconds": 5,
"Ticks": 43667374
},
"Name": "Chapter 3"
},
{
"Duration": {
"Hours": 0,
"Minutes": 8,
"Seconds": 59,
"Ticks": 48524726
},
"Name": "Chapter 4"
},
{
"Duration": {
"Hours": 0,
"Minutes": 6,
"Seconds": 59,
"Ticks": 37732696
},
"Name": "Chapter 5"
},
{
"Duration": {
"Hours": 0,
"Minutes": 11,
"Seconds": 42,
"Ticks": 63190628
},
"Name": "Chapter 6"
},
{
"Duration": {
"Hours": 0,
"Minutes": 5,
"Seconds": 57,
"Ticks": 32120838
},
"Name": "Chapter 7"
},
{
"Duration": {
"Hours": 0,
"Minutes": 6,
"Seconds": 50,
"Ticks": 36869332
},
"Name": "Chapter 8"
},
{
"Duration": {
"Hours": 0,
"Minutes": 9,
"Seconds": 42,
"Ticks": 52368566
},
"Name": "Chapter 9"
},
{
"Duration": {
"Hours": 0,
"Minutes": 6,
"Seconds": 53,
"Ticks": 37158372
},
"Name": "Chapter 10"
},
{
"Duration": {
"Hours": 0,
"Minutes": 11,
"Seconds": 29,
"Ticks": 61996934
},
"Name": "Chapter 11"
},
{
"Duration": {
"Hours": 0,
"Minutes": 3,
"Seconds": 58,
"Ticks": 21441420
},
"Name": "Chapter 12"
},
{
"Duration": {
"Hours": 0,
"Minutes": 0,
"Seconds": 2,
"Ticks": 180180
},
"Name": "Chapter 13"
}
],
"ChapterMarkers": true,
"File": "test.mp4",
"InlineParameterSets": false,
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": true
},
"Mux": "m4v"
},
"Filters": {
"FilterList": [
{
"ID": 6,
"Settings": {
"mode": 1
}
},
{
"ID": 13,
"Settings": {
"crop-bottom": 140,
"crop-left": 0,
"crop-right": 0,
"crop-top": 140,
"height": 800,
"width": 1920
}
}
]
},
"Metadata": {},
"PAR": {
"Den": 1,
"Num": 1
},
"SequenceID": 0,
"Source": {
"Angle": 0,
"Path": "E:/",
"Range": {
"End": 13,
"Start": 1,
"Type": "chapter"
},
"Title": 1
},
"Subtitle": {
"Search": {
"Burn": false,
E n"cDoedfianugl:t "t:a stkr u-e1,
o f - 1 , 0 . 0 0 %"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"ColorFormat": 0,
"ColorMatrix": 1,
"ColorPrimaries": 1,
"ColorRange": 1,
"ColorTransfer": 1,
"Encoder": "qsv_h265_10bit",
"Level": "auto",
"Preset": "balanced",
"Profile": "auto",
"QSV": {
"AdapterIndex": 1,
"AsyncDepth": 0,
"Decode": false
},
"Quality": 20.0,
"Turbo": false,
"TwoPass": false
}
}
[17:19:14] qsv: integrated qsv adapter with index 1 has been selected
[17:19:14] Starting Task: Subtitle Scan
Encoding: task 1 of 2, 0.00 %[New Thread 7904.0x780]
[New Thread 7904.0xae0]
[New Thread 7904.0x201c]
[New Thread 7904.0x57c]
[New Thread 7904.0x2788]
[New Thread 7904.0xbd4]
[New Thread 7904.0x1840]
[New Thread 7904.0x6e4]
[17:19:15] job configuration:
[17:19:15] * source
[17:19:15] + E:/
[17:19:15] + title 1, chapter(s) 1 to 13
[17:19:15] * destination
[17:19:15] + test.mp4
[17:19:15] + container: MPEG-4 (libavformat)
[17:19:15] + optimized for HTTP streaming (fast start)
[17:19:15] + chapter markers
[17:19:15] * video track
[17:19:15] + decoder: h264 8-bit
[17:19:15] + bitrate 200 kbps
[17:19:15] + filters
[17:19:15] + Framerate Shaper (mode=1)
[17:19:15] + frame rate: 23.976 fps -> constant 23.976 fps
[17:19:15] + Crop and Scale (width=1920:height=800:crop-top=140:crop-bottom=140:crop-left=0:crop-right=0)
[17:19:15] + source: 1920 * 1080, crop (140/140/0/0): 1920 * 800, scale: 1920 * 800
[17:19:15] + Output geometry
[17:19:15] + storage dimensions: 1920 x 800
[17:19:15] + pixel aspect ratio: 1 : 1
[17:19:15] + display dimensions: 1920 x 800
[17:19:15] * Foreign Audio Search: Passthrough, Forced Only, Default
[17:19:15] + subtitle, Deutsch [PGS] (track 0, id 0x1200, Picture)
[17:19:15] + subtitle, Deutsch [PGS] (track 1, id 0x1201, Picture)
Encoding: task 1 of 2, 0.00 %[17:19:15] sync: expecting 139464 video frames
[New Thread 7904.0x1fa4]
[New Thread 7904.0x15e0]
[New Thread 7904.0x164c]
[New Thread 7904.0x24d0]
[New Thread 7904.0x22e8]
[New Thread 7904.0x11fc]
[New Thread 7904.0x2200]
Encoding: task 1 of 2, 7.50 % (0.00 fps, avg 0.00 fps, ETA 00h02m44s)[New Thread 7904.0x1f24]
[New Thread 7904.0x25d8]
Encoding: task 1 of 2, 24.36 % (0.00 fps, avg 0.00 fps, ETA 00h02m14s)[Thread 7904.0x241c exited with code 0]
[Thread 7904.0xc2c exited with code 0]
[Thread 7904.0x1e14 exited with code 0]
Encoding: task 1 of 2, 99.96 % (0.00 fps, avg 0.00 fps, ETA 00h00m00s)[17:22:13] bd: End of title
[1[Thread 7904.0x1fa4 exited with code 0]
7[Thread 7904.0x11fc exited with code 0]
:[Thread 7904.0x15e0 exited with code 0]
22:13] reader: done. 4 scr changes
[Thread 7904.0x164c exited with code 0]
[Thread 7904.0x2200 exited with code 0]
En[c1o7d:i2n2g::1 3t]a swko r1k :o fa v2e,r a1g0e0 .e0n0c o%d i(n0g. 0s0p efepds ,f oarv gj o0b. 0i0s f0p.s0,0 0E0T0A0
0f0phs0
0m[0107s:)22:13] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[17:22:13] vfr: lost time: 0 (0 frames)
[17:22:13] vfr: gained time: 0 (0 frames) (0 not accounted for)
[Thread 7904.0x57c exited with code 0]
[Thread 7904.0x201c exited with code 0]
[Thread 7904.0x2788 exited with code 0]
[Thread 7904.0xbd4 exited with code 0]
[Thread 7904.0x6e4 exited with code 0]
[Thread 7904.0xae0 exited with code 0]
[Thread 7904.0x1840 exited with code 0]
[Thread 7904.0x780 exited with code 0]
[Thread 7904.0x22e8 exited with code 0]
[Thread 7904.0x24d0 exited with code 0]
[17:22:13] stream: 139465 good frames, 0 errors (0%)
[17:22:13] h264-decoder done: 0 frames, 1 decoder errors
[17:22:13] sync: got 0 frames, 139464 expected
[17:22:13] Subtitle track 0 (id 0x1200) 'Deutsch [PGS]': 6 hits (0 forced)
[17:22:13] Subtitle track 1 (id 0x1201) 'Deutsch [PGS]': 992 hits (0 forced)
[17:22:13] Found a subtitle candidate with id 0x1200
[17:22:13] Starting Task: Encoding Pass
[17:22:13] Subtitle pass-thru requested and input track is not compatible with container. Changing track 0 to burned-in
subtitle.
[New Thread 7904.0x2310]
[New Thread 7904.0x5c0]
[New Thread 7904.0x222c]
[New Thread 7904.0x910]
[New Thread 7904.0x21b8]
[New Thread 7904.0x185c]
[New Thread 7904.0x25ec]
[New Thread 7904.0x1f2c]
[17:22:13] work: bitrate not specified, track 1 setting bitrate 640 Kbps
[17:22:13] job configuration:
[17:22:13] * source
[17:22:13] + E:/
[17:22:13] + title 1, chapter(s) 1 to 13
[17:22:13] * destination
[17:22:13] + test.mp4
[17:22:13] + container: MPEG-4 (libavformat)
[17:22:13] + optimized for HTTP streaming (fast start)
[17:22:13] + chapter markers
[17:22:13] * video track
[17:22:13] + decoder: h264 8-bit
[17:22:13] + bitrate 200 kbps
[17:22:13] + filters
[17:22:13] + Framerate Shaper (mode=1)
[17:22:13] + frame rate: 23.976 fps -> constant 23.976 fps
[17:22:13] + Subtitle renderer ()
[17:22:13] + Crop and Scale (width=1920:height=800:crop-top=140:crop-bottom=140:crop-left=0:crop-right=0)
[17:22:13] + source: 1920 * 1080, crop (140/140/0/0): 1920 * 800, scale: 1920 * 800
tErnyc:13] + Output geome
o[d1i7n:g2:2 :t1a3s]k 2 o f +2 ,s t0o.r0a0g e% dimensions: 1920 x 800
[17:22:13] + pixel aspect ratio: 1 : 1
[17:22:13] + display dimensions: 1920 x 800
[17:22:13] + encoder: H.265 10-bit (Intel Media SDK)
[17:22:13] + preset: balanced
[17:22:13] + profile: auto
[17:22:13] + level: auto
[17:22:13] + quality: 20.00 (ICQ)
[17:22:13] + color profile: 1-1-1
[17:22:13] * subtitle track 1, Deutsch [PGS] (track 0, id 0x1200, Picture) -> Render/Burn-in
[17:22:13] * audio track 1
[17:22:13] + decoder: Deutsch (DTS) (5.1 ch) (1536 kbps) (track 1, id 0x711100)
[17:22:13] + bitrate: 1536 kbps, samplerate: 48000 Hz
[17:22:13] + mixdown: 5.1 Channels
[17:22:13] + encoder: AC3 (libavcodec)
[17:22:13] + bitrate: 640 kbps, samplerate: 48000 Hz
warning: HEAP[HandBrakeCLI.exe]:
warning: HEAP: Free Heap block 000001F925851EE0 modified at 000001F925853E18 after it was freed
--Type <RET> for more, q to quit, c to continue without paging--

Thread 55 received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 7904.0x2378]
0x00007ffc93f2a323 in ?? ()
(gdb) c
Continuing.
[New Thread 7904.0xb20]
[New Thread 7904.0xbf8]
[17:26:35] sync: expecting 139464 video frames
[New Thread 7904.0x4d0]
[New Thread 7904.0x24a0]
[17:26:35] qsv: integrated qsv adapter with index 1 has been selected
[New Thread 7904.0x16a4]
[New Thread 7904.0x1e30]
[New Thread 7904.0xf7c]
[New Thread 7904.0x143c]
[New Thread 7904.0x2330]
[New Thread 7904.0x146c]
[New Thread 7904.0x1238]
[New Thread 7904.0x1a88]
[New Thread 7904.0x88c]
[New Thread 7904.0x19a4]
[New Thread 7904.0xf60]
Encoding: task 2 of 2, 0.00 %[New Thread 7904.0xf54]
[New Thread 7904.0x2414]
[New Thread 7904.0xd2c]
[New Thread 7904.0x1c48]
[New Thread 7904.0x2540]
[New Thread 7904.0xd20]
[New Thread 7904.0xec4]
[New Thread 7904.0x1430]
[Thread 7904.0x1238 exited with code 0]
[Thread 7904.0xf60 exited with code 0]
[Thread 7904.0x146c exited with code 0]
[Thread 7904.0x1a88 exited with code 0]
[Thread 7904.0x2330 exited with code 0]
[Thread 7904.0x19a4 exited with code 0]
[Thread 7904.0x88c exited with code 0]
[Thread 7904.0x143c exited with code 0]
[New Thread 7904.0xbc4]
[New Thread 7904.0x1bb4]
[New Thread 7904.0xc4c]
[New Thread 7904.0x15c0]
Encodi[New Thread 7904.0x2058]
ng: task 2 of [New Thread 7904.0x20cc]
2, 0.00 %[New Thread 7904.0x1a90]
[New Thread 7904.0x1974]
[Thread 7904.0x1c48 exited with code 0]
[Thread 7904.0x2540 exited with code 0]
[Thread 7904.0x1430 exited with code 0]
[Thread 7904.0xec4 exited with code 0]
[Thread 7904.0xd20 exited with code 0]
[Thread 7904.0xf54 exited with code 0]
[Thread 7904.0x2414 exited with code 0]
[Thread 7904.0xd2c exited with code 0]
Encoding: task 2 of 2, 0.00 %[New Thread 7904.0x1374]
Encoding: task 2 of 2, 0.00 %[17:26:40] encqsvInit: using encode-only path
[17:26:40] encqsvInit: H.265/HEVC Main 10 profile @ level (null)
[17:26:40] encqsvInit: TargetUsage 4 AsyncDepth 4
[17:26:40] encqsvInit: GopRefDist 3 GopPicSize 24 NumRefFrame 2
[17:26:40] encqsvInit: BFramesMax 2 BRefType off
[17:26:40] encqsvInit: RateControlMethod ICQ ICQQuality 20
[New Thread 7904.0x2458]
[New Thread 7904.0x20ac]
[New Thread 7904.0x858]
[New Thread 7904.0xbf4]
[New Thread 7904.0x23e4]
[New Thread 7904.0x100c]
[New Thread 7904.0x1a3c]
[New Thread 7904.0x2430]
[New Thread 7904.0x11c]
[New Thread 7904.0xd40]
[New Thread 7904.0xe04]
[New Thread 7904.0xabc]
[New Thread 7904.0x279c]
[New Thread 7904.0x4b8]
[New Thread 7904.0x2704]
[New Thread 7904.0x26fc]
[New Thread 7904.0x5b0]
[17:26:40] sync: first pts video is 0
[17:26:40] sync: "Chapter 1" (1) at frame 1 time 0
[17:26:40] sync: first pts audio 0x711100 is 0
Encoding: task 2 of 2, 0.03 %[17:26:40] qsv_enc_init: using 'hardware (2) via D3D11' implementation, API: 1.35
Encoding: task 2 of 2, 0.03 %--Type <RET> for more, q to quit, c to continue without paging--

Thread 120 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 7904.0x2430]
hb_qsv_list_add (l=0x0, p=0x1f91fcf8f00) at ../libhb/qsv_libav.c:459
459 ../libhb/qsv_libav.c: No such file or directory.
(gdb) bt
#0 hb_qsv_list_add (l=0x0, p=0x1f91fcf8f00) at ../libhb/qsv_libav.c:459
#1 0x00007ff782975eb3 in qsv_enc_work (pv=pv@entry=0x1f92100f490, qsv_atom=<optimized out>, surface=<optimized out>,
surface@entry=0x1f91fe06b80, frames_ctx=frames_ctx@entry=0x0) at ../libhb/enc_qsv.c:2159
#2 0x00007ff782973f7b in encqsvWork (w=<optimized out>, buf_in=<optimized out>, buf_out=0x3e9c8ff870)
at ../libhb/enc_qsv.c:2390
#3 0x00007ff782961c59 in hb_work_loop (_w=0x1f92c830080) at ../libhb/work.c:1899
#4 0x00007ff7829119b9 in hb_thread_func (_t=0x1f93429c2c0) at ../libhb/ports.c:897
#5 0x00007ff7829a42c9 in pthread_create_wrapper (args=0x1f93429e160) at ../src/thread.c:1533
#6 0x00007ffc927caf5a in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: HB CLI 1.4.0 does not work anymore

Post by s55 »

Perfect. Thank you!

It's in a slightly different area than expected but now that we have this, it makes it a whole hell of a lot easier to track down!
maxim_d33
Bright Spark User
Posts: 175
Joined: Mon Mar 21, 2011 12:02 pm

Re: HB CLI 1.4.0 does not work anymore

Post by maxim_d33 »

thank you , nick24, s55

it seems to be separate issue but a question - what GPU driver is used?
any option to try latest one from https://downloadcenter.intel.com/downlo ... CH-Drivers ?
nick24
Posts: 31
Joined: Fri Dec 19, 2014 4:38 pm

Re: HB CLI 1.4.0 does not work anymore

Post by nick24 »

Glad to hear that the trace is helpful.

I've used the mentioned latest driver for all the provided logs. Please note that this driver works perfectly for me with HB 1.3.3.

If you have any potential fix in place, I'm happy to test it.
maxim_d33
Bright Spark User
Posts: 175
Joined: Mon Mar 21, 2011 12:02 pm

Re: HB CLI 1.4.0 does not work anymore

Post by maxim_d33 »

Code: Select all

 -i D:\Temp\Dark_skies\bdcopy
for local debugging: is this only one option to use such bdcopy ?

trying to reproduce the issue...
nick24
Posts: 31
Joined: Fri Dec 19, 2014 4:38 pm

Re: HB CLI 1.4.0 does not work anymore

Post by nick24 »

I always copy a bd to my ssd to have an overall faster processing (subtitle scan + encoding). I dont know whether this has an effect on this problem.
nick24
Posts: 31
Joined: Fri Dec 19, 2014 4:38 pm

Re: HB CLI 1.4.0 does not work anymore

Post by nick24 »

maxim, did you already succeed in reproducing the issue?
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: HB CLI 1.4.0 does not work anymore

Post by s55 »

I think I have it reproduced here. Trying to track it down.


On a second point, the Align AV crash is now fixed. This one affected other encoders than just QSV so when we get a new dev snapshot posted it would be interested to hear if NVEnc is working for you again.
nick24
Posts: 31
Joined: Fri Dec 19, 2014 4:38 pm

Re: HB CLI 1.4.0 does not work anymore

Post by nick24 »

Thanks for HB 1.4.1. Unfortunately, now qsv_h265* encoders dont work at all for my new computer (i7-11700k). Please see attached log below.
All other encoders (even nvenc*) work perfectly. With HB 1.3.3 ALL encoders work. Im using the lastest igfx_win_100.9805 driver.

[17:28:56] Compile-time hardening features are enabled
[17:28:58] hb_init: starting libhb thread
[17:28:58] thread 1 started ("libhb")
HandBrake 1.4.1 (2021081500) - MinGW x86_64 - https://handbrake.fr
16 CPUs detected
Opening XXX...
[17:28:58] CPU: 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz
[17:28:59] - logical processor count: 16
[17:28:59] Intel Quick Sync Video support: yes, gpu list: 1
[17:28:59] Intel Quick Sync Video integrated adapter with index 1
[17:28:59] - Intel Media SDK hardware: API 1.35 (minimum: 1.3)
[17:28:59] - Decode support: h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[17:28:59] - H.264 encoder: yes
[17:28:59] - preferred implementation: hardware (2) via D3D11
[17:28:59] - capabilities (hardware): breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[17:28:59] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[17:28:59] - preferred implementation: hardware (2) via D3D11
[17:28:59] - capabilities (hardware): lowpower bpyramid icq vsinfo opt1
[17:28:59] hb_scan: path=XXX, title_index=1
[17:28:59] scan: BD has 1 title(s)
[17:28:59] bd: scanning title 1
[17:28:59] bd: playlist 00000.MPLS
[17:28:59] bd: duration is 01:36:56 (5816852 ms)
[17:28:59] bd: video id=0x1011, stream type=H.264, format 1080p
[17:28:59] bd: aspect = 16:9
[17:28:59] bd: audio id=0x711100, lang=Deutsch (DTS), 3cc=deu
[17:28:59] bd: audio id=0x1100, lang=Deutsch (DTS-HD MA), 3cc=deu
[17:28:59] bd: audio id=0x711101, lang=English (DTS), 3cc=eng
[17:28:59] bd: audio id=0x1101, lang=English (DTS-HD MA), 3cc=eng
[17:28:59] bd: audio id=0x711102, lang=English (DTS), 3cc=eng
[17:28:59] bd: audio id=0x1102, lang=English (DTS-HD MA), 3cc=eng
[17:28:59] bd: subtitle id=0x1200, lang=Deutsch [PGS], 3cc=deu
[17:28:59] bd: subtitle id=0x1201, lang=Deutsch [PGS], 3cc=deu
[17:28:59] bd: chap 1, 414622 ms
[17:28:59] bd: chap 2, 566107 ms
[17:28:59] bd: chap 3, 485193 ms
[17:28:59] bd: chap 4, 539163 ms
[17:28:59] bd: chap 5, 419252 ms
[17:28:59] bd: chap 6, 702118 ms
[17:28:59] bd: chap 7, 356898 ms
[17:28:59] bd: chap 8, 409659 ms
[17:28:59] bd: chap 9, 581872 ms
[17:28:59] bd: chap 10, 412870 ms
[17:28:59] bd: chap 11, 688854 ms
[17:28:59] bd: chap 12, 238238 ms
[17:28:59] bd: chap 13, 2002 ms
[17:28:59] bd: title 1 has 13 chapters
[17:28:59] scan: decoding previews for title 1
[17:28:59] scan: title angle(s) 1
[17:28:59] scan: audio 0x711100: dca, rate=48000Hz, bitrate=1536000 Deutsch (DTS) (5.1 ch) (1536 kbps)
[17:28:59] scan: audio 0x1100: dca, rate=48000Hz, bitrate=1 Deutsch (DTS-HD MA) (5.1 ch)
[17:28:59] scan: audio 0x711101: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch) (1536 kbps)
[17:28:59] scan: audio 0x1101: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (5.1 ch)
[17:28:59] scan: audio 0x711102: dca, rate=48000Hz, bitrate=1536000 English (DTS) (2.0 ch) (1536 kbps)
[17:28:59] scan: audio 0x1102: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (2.0 ch)

Scanning title 1 of 1, preview 2, 20.00 %
Scanning title 1 of 1, preview 10, 100.00 %[17:29:00] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 140/140/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1
[17:29:00] scan: supported video decoders: avcodec qsv
[17:29:00] stream: 5 good frames, 0 errors (0%)
[17:29:00] libhb: scan thread found 1 valid title(s)
+ Using preset: CLI Default
+ title 1:
+ playlist: 00000.MPLS
+ duration: 01:36:56
+ size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
+ autocrop: 140/140/0/0
+ chapters:
+ 1: duration 00:06:55
+ 2: duration 00:09:26
+ 3: duration 00:08:05
+ 4: duration 00:08:59
+ 5: duration 00:06:59
+ 6: duration 00:11:42
+ 7: duration 00:05:57
+ 8: duration 00:06:50
+ 9: duration 00:09:42
+ 10: duration 00:06:53
+ 11: duration 00:11:29
+ 12: duration 00:03:58
+ 13: duration 00:00:02
+ audio tracks:
+ 1, Deutsch (DTS) (5.1 ch) (1536 kbps) (iso639-2: deu), 48000Hz, 1536000bps
+ 2, Deutsch (DTS-HD MA) (5.1 ch) (iso639-2: deu)
+ 3, English (DTS) (5.1 ch) (1536 kbps) (iso639-2: eng), 48000Hz, 1536000bps
+ 4, English (DTS-HD MA) (5.1 ch) (iso639-2: eng)
+ 5, English (DTS) (2.0 ch) (1536 kbps) (iso639-2: eng), 48000Hz, 1536000bps
+ 6, English (DTS-HD MA) (2.0 ch) (iso639-2: eng)
+ subtitle tracks:
+ 1, Deutsch [PGS]
+ 2, Deutsch [PGS]
[17:29:00] Starting work at: Wed Aug 18 17:29:00 2021

[17:29:00] 1 job(s) to process
[17:29:00] json job:
{
"Audio": {
"AudioList": [
{
"Encoder": 2048,
"Mixdown": 7,
"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": [
{
"Duration": {
"Hours": 0,
"Minutes": 6,
"Seconds": 55,
"Ticks": 37316028
},
"Name": "Chapter 1"
},
{
"Duration": {
"Hours": 0,
"Minutes": 9,
"Seconds": 26,
"Ticks": 50949648
},
"Name": "Chapter 2"
},
{
"Duration": {
"Hours": 0,
"Minutes": 8,
"Seconds": 5,
"Ticks": 43667374
},
"Name": "Chapter 3"
},
{
"Duration": {
"Hours": 0,
"Minutes": 8,
"Seconds": 59,
"Ticks": 48524726
},
"Name": "Chapter 4"
},
{
"Duration": {
"Hours": 0,
"Minutes": 6,
"Seconds": 59,
"Ticks": 37732696
},
"Name": "Chapter 5"
},
{
"Duration": {
"Hours": 0,
"Minutes": 11,
"Seconds": 42,
"Ticks": 63190628
},
"Name": "Chapter 6"
},
{
"Duration": {
"Hours": 0,
"Minutes": 5,
"Seconds": 57,
"Ticks": 32120838
},
"Name": "Chapter 7"
},
{
"Duration": {
"Hours": 0,
"Minutes": 6,
"Seconds": 50,
"Ticks": 36869332
},
"Name": "Chapter 8"
},
{
"Duration": {
"Hours": 0,
"Minutes": 9,
"Seconds": 42,
"Ticks": 52368566
},
"Name": "Chapter 9"
},
{
"Duration": {
"Hours": 0,
"Minutes": 6,
"Seconds": 53,
"Ticks": 37158372
},
"Name": "Chapter 10"
},
{
"Duration": {
"Hours": 0,
"Minutes": 11,
"Seconds": 29,
"Ticks": 61996934
},
"Name": "Chapter 11"
},
{
"Duration": {
"Hours": 0,
"Minutes": 3,
"Seconds": 58,
"Ticks": 21441420
},
"Name": "Chapter 12"
},
{
"Duration": {
"Hours": 0,
"Minutes": 0,
"Seconds": 2,
"Ticks": 180180
},
"Name": "Chapter 13"
}
],
"ChapterMarkers": true,
"File": "XXX.mp4",
"InlineParameterSets": false,
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": true
},
"Mux": "m4v"
},
"Filters": {
"FilterList": [
{
"ID": 6,
"Settings": {
"mode": 1
}
},
{
"ID": 13,
"Settings": {
"crop-bottom": 140,
"crop-left": 0,
"crop-right": 0,
"crop-top": 140,
"height": 800,
"width": 1920
}
}
]
},
"Metadata": {},
"PAR": {
"Den": 1,
"Num": 1
},
"SequenceID": 0,
"Source": {
"Angle": 0,
"Path": "XXX",
"Range": {
"End": 13,
"Start": 1,
"Type": "chapter"
},
"Title": 1
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"ColorFormat": 0,
"ColorMatrix": 1,
"ColorPrimaries": 1,
"ColorRange": 1,
"ColorTransfer": 1,
"Encoder": "qsv_h265_10bit",
"Level": "auto",
"Preset": "balanced",
"Profile": "auto",
"QSV": {
"AdapterIndex": 1,
"AsyncDepth": 0,
"Decode": false
},
"Quality": 20.0,
"Turbo": false,
"TwoPass": false
}
}
[17:29:00] qsv: integrated qsv adapter with index 1 has been selected
[17:29:00] Starting Task: Encoding Pass
[17:29:00] work: bitrate not specified, track 1 setting bitrate 640 Kbps
[17:29:00] job configuration:
[17:29:00] * source
[17:29:00] + XXX
[17:29:00] + title 1, chapter(s) 1 to 13
[17:29:00] * destination
[17:29:00] + XXX.mp4
[17:29:00] + container: MPEG-4 (libavformat)
[17:29:00] + optimized for HTTP streaming (fast start)
[17:29:00] + chapter markers
[17:29:00] * video track
[17:29:00] + decoder: h264 8-bit
[17:29:00] + bitrate 200 kbps
[17:29:00] + filters
[17:29:00] + Framerate Shaper (mode=1)
[17:29:00] + frame rate: 23.976 fps -> constant 23.976 fps
[17:29:00] + Crop and Scale (width=1920:height=800:crop-top=140:crop-bottom=140:crop-left=0:crop-right=0)
[17:29:00] + source: 1920 * 1080, crop (140/140/0/0): 1920 * 800, scale: 1920 * 800
[17:29:00] + Output geometry
[17:29:00] + storage dimensions: 1920 x 800
[17:29:00] + pixel aspect ratio: 1 : 1
[17:29:00] + display dimensions: 1920 x 800
[17:29:00] + encoder: H.265 10-bit (Intel Media SDK)
[17:29:00] + preset: balanced
[17:29:00] + profile: auto
[17:29:00] + level: auto
[17:29:00] + quality: 20.00 (ICQ)
[17:29:00] + color profile: 1-1-1
[17:29:00] * audio track 1
[17:29:00] + decoder: Deutsch (DTS) (5.1 ch) (1536 kbps) (track 1, id 0x711100)
[17:29:00] + bitrate: 1536 kbps, samplerate: 48000 Hz
[17:29:00] + mixdown: 5.1 Channels
[17:29:00] + encoder: AC3 (libavcodec)
[17:29:00] + bitrate: 640 kbps, samplerate: 48000 Hz
[17:29:00] sync: expecting 139464 video frames
[17:29:01] encqsvInit: using encode-only (LowPower) path
[17:29:01] encqsvInit: H.265/HEVC Main 10 profile @ level (null)
[17:29:01] encqsvInit: TargetUsage 4 AsyncDepth 6
[17:29:01] encqsvInit: GopRefDist 3 GopPicSize 24 NumRefFrame 2
[17:29:01] encqsvInit: BFramesMax 2 BRefType off
[17:29:01] encqsvInit: RateControlMethod ICQ ICQQuality 20
[17:29:01] sync: first pts video is 0
[17:29:01] sync: "Chapter 1" (1) at frame 1 time 0
[17:29:01] sync: first pts audio 0x711100 is 0
[17:29:01] qsv_enc_init: using 'hardware (2) via D3D11' implementation, API: 1.35
Error code -17, hb_qsv_wait_on_sync 607
ERROR: encqsv: hb_qsv_wait_on_sync failed (-17)
ERROR: encqsvWork: qsv_enc_work failed -17
[17:29:02] work: average encoding speed for job is 0.000000 fps
[17:29:02] vfr: 64 frames output, 0 dropped and 0 duped for CFR/PFR
[17:29:02] vfr: lost time: 0 (0 frames)
[17:29:02] vfr: gained time: 0 (0 frames) (0 not accounted for)
[17:29:02] stream: 1587 good frames, 0 errors (0%)
[17:29:02] dca-decoder done: 391 frames, 0 decoder errors
[17:29:02] h264-decoder done: 108 frames, 0 decoder errors
[17:29:02] sync: got 68 frames, 139464 expected
[17:29:02] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
[ac3 @ 000001fdada24d00] Ignoring attempt to flush encoder that doesn't support it
[mp4 @ 000001fdada27b40] Starting second pass: moving the moov atom to the beginning of the file
[17:29:02] mux: track 0, 1 frames, 556 bytes, 1.59 kbps, fifo 8
[17:29:02] mux: track 1, 87 frames, 222720 bytes, 637.60 kbps, fifo 128
[17:29:02] Finished work at: Wed Aug 18 17:29:02 2021

[17:29:02] libhb: work result = 4

Encode failed (error 4).
HandBrake has exited.
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: HB CLI 1.4.0 does not work anymore

Post by s55 »

By chance, does it work fine on the 7th gen if you've still got that enabled.

Can you turn off the "Low Power" option in Preferences -> Video and see if it helps.
11th gen desktop initially didn't have fully working QSV drivers. I'm not sure if that's fully resolved yet. The Xe drivers on the mobile side are fully working though.
nick24
Posts: 31
Joined: Fri Dec 19, 2014 4:38 pm

Re: HB CLI 1.4.0 does not work anymore

Post by nick24 »

Unfortunately I dont have access to my old 7th gen system anymore.

Interesting observations:

- while running an encode with HB 1.3.3, the encode with HB 1.4.1 worked as expected
- after a reboot of the system and running HB 1.4.1 alone failed - although all "low power options" were disabled
- the log is now different with low power disabled... see below ... it fails directly ...

[20:35:47] Compile-time hardening features are enabled
[20:35:48] hb_init: starting libhb thread
[20:35:48] thread 1 started ("libhb")
HandBrake 1.4.1 (2021081500) - MinGW x86_64 - https://handbrake.fr
16 CPUs detected
Opening XXX ...
[20:35:48] CPU: 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz
[20:35:48] - logical processor count: 16
[20:35:48] Intel Quick Sync Video support: yes, gpu list: 1
[20:35:49] Intel Quick Sync Video integrated adapter with index 1
[20:35:49] - Intel Media SDK hardware: API 1.35 (minimum: 1.3)
[20:35:49] - Decode support: h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[20:35:49] - H.264 encoder: yes
[20:35:49] - preferred implementation: hardware (2) via D3D11
[20:35:49] - capabilities (hardware): breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[20:35:49] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[20:35:49] - preferred implementation: hardware (2) via D3D11
[20:35:49] - capabilities (hardware): lowpower bpyramid icq vsinfo opt1
[20:35:49] hb_scan: path=XXX, title_index=1
[20:35:49] scan: BD has 1 title(s)
[20:35:49] bd: scanning title 1
[20:35:49] bd: playlist 00000.MPLS
[20:35:49] bd: duration is 01:36:56 (5816852 ms)
[20:35:49] bd: video id=0x1011, stream type=H.264, format 1080p
[20:35:49] bd: aspect = 16:9
[20:35:49] bd: audio id=0x711100, lang=Deutsch (DTS), 3cc=deu
[20:35:49] bd: audio id=0x1100, lang=Deutsch (DTS-HD MA), 3cc=deu
[20:35:49] bd: audio id=0x711101, lang=English (DTS), 3cc=eng
[20:35:49] bd: audio id=0x1101, lang=English (DTS-HD MA), 3cc=eng
[20:35:49] bd: audio id=0x711102, lang=English (DTS), 3cc=eng
[20:35:49] bd: audio id=0x1102, lang=English (DTS-HD MA), 3cc=eng
[20:35:49] bd: subtitle id=0x1200, lang=Deutsch [PGS], 3cc=deu
[20:35:49] bd: subtitle id=0x1201, lang=Deutsch [PGS], 3cc=deu
[20:35:49] bd: chap 1, 414622 ms
[20:35:49] bd: chap 2, 566107 ms
[20:35:49] bd: chap 3, 485193 ms
[20:35:49] bd: chap 4, 539163 ms
[20:35:49] bd: chap 5, 419252 ms
[20:35:49] bd: chap 6, 702118 ms
[20:35:49] bd: chap 7, 356898 ms
[20:35:49] bd: chap 8, 409659 ms
[20:35:49] bd: chap 9, 581872 ms
[20:35:49] bd: chap 10, 412870 ms
[20:35:49] bd: chap 11, 688854 ms
[20:35:49] bd: chap 12, 238238 ms
[20:35:49] bd: chap 13, 2002 ms
[20:35:49] bd: title 1 has 13 chapters
[20:35:49] scan: decoding previews for title 1
[20:35:49] scan: title angle(s) 1
[20:35:49] scan: audio 0x711100: dca, rate=48000Hz, bitrate=1536000 Deutsch (DTS) (5.1 ch) (1536 kbps)
[20:35:49] scan: audio 0x1100: dca, rate=48000Hz, bitrate=1 Deutsch (DTS-HD MA) (5.1 ch)
[20:35:49] scan: audio 0x711101: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch) (1536 kbps)
[20:35:49] scan: audio 0x1101: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (5.1 ch)
[20:35:49] scan: audio 0x711102: dca, rate=48000Hz, bitrate=1536000 English (DTS) (2.0 ch) (1536 kbps)
[20:35:49] scan: audio 0x1102: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (2.0 ch)

Scanning title 1 of 1, preview 2, 20.00 %
Scanning title 1 of 1, preview 8, 80.00 %[20:35:49] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 140/140/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1
[20:35:49] scan: supported video decoders: avcodec qsv
[20:35:49] stream: 5 good frames, 0 errors (0%)
[20:35:49] libhb: scan thread found 1 valid title(s)
+ Using preset: CLI Default
+ title 1:
+ playlist: 00000.MPLS
+ duration: 01:36:56
+ size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
+ autocrop: 140/140/0/0
+ chapters:
+ 1: duration 00:06:55
+ 2: duration 00:09:26
+ 3: duration 00:08:05
+ 4: duration 00:08:59
+ 5: duration 00:06:59
+ 6: duration 00:11:42
+ 7: duration 00:05:57
+ 8: duration 00:06:50
+ 9: duration 00:09:42
+ 10: duration 00:06:53
+ 11: duration 00:11:29
+ 12: duration 00:03:58
+ 13: duration 00:00:02
+ audio tracks:
+ 1, Deutsch (DTS) (5.1 ch) (1536 kbps) (iso639-2: deu), 48000Hz, 1536000bps
+ 2, Deutsch (DTS-HD MA) (5.1 ch) (iso639-2: deu)
+ 3, English (DTS) (5.1 ch) (1536 kbps) (iso639-2: eng), 48000Hz, 1536000bps
+ 4, English (DTS-HD MA) (5.1 ch) (iso639-2: eng)
+ 5, English (DTS) (2.0 ch) (1536 kbps) (iso639-2: eng), 48000Hz, 1536000bps
+ 6, English (DTS-HD MA) (2.0 ch) (iso639-2: eng)
+ subtitle tracks:
+ 1, Deutsch [PGS]
+ 2, Deutsch [PGS]
[20:35:50] Starting work at: Wed Aug 18 20:35:50 2021

[20:35:50] 1 job(s) to process
[20:35:50] json job:
{
"Audio": {
"AudioList": [
{
"Encoder": 2048,
"Mixdown": 7,
"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": [
{
"Duration": {
"Hours": 0,
"Minutes": 6,
"Seconds": 55,
"Ticks": 37316028
},
"Name": "Chapter 1"
},
{
"Duration": {
"Hours": 0,
"Minutes": 9,
"Seconds": 26,
"Ticks": 50949648
},
"Name": "Chapter 2"
},
{
"Duration": {
"Hours": 0,
"Minutes": 8,
"Seconds": 5,
"Ticks": 43667374
},
"Name": "Chapter 3"
},
{
"Duration": {
"Hours": 0,
"Minutes": 8,
"Seconds": 59,
"Ticks": 48524726
},
"Name": "Chapter 4"
},
{
"Duration": {
"Hours": 0,
"Minutes": 6,
"Seconds": 59,
"Ticks": 37732696
},
"Name": "Chapter 5"
},
{
"Duration": {
"Hours": 0,
"Minutes": 11,
"Seconds": 42,
"Ticks": 63190628
},
"Name": "Chapter 6"
},
{
"Duration": {
"Hours": 0,
"Minutes": 5,
"Seconds": 57,
"Ticks": 32120838
},
"Name": "Chapter 7"
},
{
"Duration": {
"Hours": 0,
"Minutes": 6,
"Seconds": 50,
"Ticks": 36869332
},
"Name": "Chapter 8"
},
{
"Duration": {
"Hours": 0,
"Minutes": 9,
"Seconds": 42,
"Ticks": 52368566
},
"Name": "Chapter 9"
},
{
"Duration": {
"Hours": 0,
"Minutes": 6,
"Seconds": 53,
"Ticks": 37158372
},
"Name": "Chapter 10"
},
{
"Duration": {
"Hours": 0,
"Minutes": 11,
"Seconds": 29,
"Ticks": 61996934
},
"Name": "Chapter 11"
},
{
"Duration": {
"Hours": 0,
"Minutes": 3,
"Seconds": 58,
"Ticks": 21441420
},
"Name": "Chapter 12"
},
{
"Duration": {
"Hours": 0,
"Minutes": 0,
"Seconds": 2,
"Ticks": 180180
},
"Name": "Chapter 13"
}
],
"ChapterMarkers": true,
"File": "XXX.mp4",
"InlineParameterSets": false,
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": true
},
"Mux": "m4v"
},
"Filters": {
"FilterList": [
{
"ID": 6,
"Settings": {
"mode": 1
}
},
{
"ID": 13,
"Settings": {
"crop-bottom": 140,
"crop-left": 0,
"crop-right": 0,
"crop-top": 140,
"height": 800,
"width": 1920
}
}
]
},
"Metadata": {},
"PAR": {
"Den": 1,
"Num": 1
},
"SequenceID": 0,
"Source": {
"Angle": 0,
"Path": "XXX",
"Range": {
"End": 13,
"Start": 1,
"Type": "chapter"
},
"Title": 1
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"ColorFormat": 0,
"ColorMatrix": 1,
"ColorPrimaries": 1,
"ColorRange": 1,
"ColorTransfer": 1,
"Encoder": "qsv_h265_10bit",
"Level": "auto",
"Preset": "quality",
"Profile": "auto",
"QSV": {
"AdapterIndex": 1,
"AsyncDepth": 0,
"Decode": false
},
"Quality": 20.0,
"Turbo": false,
"TwoPass": false
}
}
[20:35:50] qsv: integrated qsv adapter with index 1 has been selected
[20:35:50] Starting Task: Encoding Pass
[20:35:50] work: bitrate not specified, track 1 setting bitrate 640 Kbps
[20:35:50] job configuration:
[20:35:50] * source
[20:35:50] + XXX
[20:35:50] + title 1, chapter(s) 1 to 13
[20:35:50] * destination
[20:35:50] + XXX.mp4
[20:35:50] + container: MPEG-4 (libavformat)
[20:35:50] + optimized for HTTP streaming (fast start)
[20:35:50] + chapter markers
[20:35:50] * video track
[20:35:50] + decoder: h264 8-bit
[20:35:50] + bitrate 200 kbps
[20:35:50] + filters
[20:35:50] + Framerate Shaper (mode=1)
[20:35:50] + frame rate: 23.976 fps -> constant 23.976 fps
[20:35:50] + Crop and Scale (width=1920:height=800:crop-top=140:crop-bottom=140:crop-left=0:crop-right=0)
[20:35:50] + source: 1920 * 1080, crop (140/140/0/0): 1920 * 800, scale: 1920 * 800
[20:35:50] + Output geometry
[20:35:50] + storage dimensions: 1920 x 800
[20:35:50] + pixel aspect ratio: 1 : 1
[20:35:50] + display dimensions: 1920 x 800
[20:35:50] + encoder: H.265 10-bit (Intel Media SDK)
[20:35:50] + preset: quality
[20:35:50] + profile: auto
[20:35:50] + level: auto
[20:35:50] + quality: 20.00 (ICQ)
[20:35:50] + color profile: 1-1-1
[20:35:50] * audio track 1
[20:35:50] + decoder: Deutsch (DTS) (5.1 ch) (1536 kbps) (track 1, id 0x711100)
[20:35:50] + bitrate: 1536 kbps, samplerate: 48000 Hz
[20:35:50] + mixdown: 5.1 Channels
[20:35:50] + encoder: AC3 (libavcodec)
[20:35:50] + bitrate: 640 kbps, samplerate: 48000 Hz
[20:35:50] sync: expecting 139464 video frames
[20:35:51] qsv_hevc_make_header: MFXVideoCORE_SyncOperation failed (-17)
ERROR: encqsvInit: qsv_hevc_make_header failed
ERROR: Failure to initialise thread 'Quick Sync Video encoder (Intel Media SDK)'
[20:35:51] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[20:35:51] vfr: lost time: 0 (0 frames)
[20:35:51] vfr: gained time: 0 (0 frames) (0 not accounted for)
[20:35:51] dca-decoder done: 0 frames, 0 decoder errors
[20:35:51] h264-decoder done: 0 frames, 0 decoder errors
[20:35:51] sync: got 0 frames, 139464 expected
[ac3 @ 000001e550050540] Ignoring attempt to flush encoder that doesn't support it
[20:35:51] Finished work at: Wed Aug 18 20:35:51 2021

[20:35:51] libhb: work result = 3

Encode failed (error 3).
HandBrake has exited.
minime1912
New User
Posts: 1
Joined: Fri Aug 13, 2021 1:21 am

Re: HB CLI 1.4.0 does not work anymore

Post by minime1912 »

In my case, this version works well on my i7-7700 but if I try to test it on my old Core 2 Quad Q9650, it's an other story.

Curiously the GUI version works fine. The CLI version seems to try to activate Quick Sync by default and it's the result with the newer version 1.4.1. I don't get this problem with the CLI version 1.3.3.


for %f in ("*.mp4") do (if not exist "Output\%~nf.mkv" (handbrakecli -i "%f" -e x264 -q 23 --encoder-preset fast --cfr -w 1280 -a 1 -E copy -o "Output\%~nf.mkv" ) )

D:\Download\Original>(if not exist "Output\sample.mkv" (handbrakecli -i "sample.mp4" -e x264 -q 23 --encoder-preset fast --cfr -w 1280 -a 1 -E copy -o "Output\sample.mkv" ) )
[21:01:23] Compile-time hardening features are enabled
[21:01:23] hb_qsv_query_adapters: failed to collect information about Intel graphics adapters -9
[21:01:23] hb_qsv_info_init: failed to query qsv adapters
[21:01:23] hb_qsv_available: hb_qsv_info_init failed
[21:01:23] hb_qsv_available failed!
[21:01:23] Error: invalid preset format in presets_do()
D:\Download\Original>
Post Reply