HandBrakeCLI 1.0.3 Error code -17

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

HandBrakeCLI 1.0.3 Error code -17

Post by nick24 »

With version 1.0.3 I got an error during encode with qsv (Error code -17, hb_qsv_wait_on_sync 602). I've never seen this error before and everything always worked as expected. According to the change log, this error has been resolved. It seems that this error was introduced with 1.0.3 for my specfic environment!?

I'm using Windows 10 64bit, i7-3770K CPU, Mainboard with Z77 Chipset (Ivy Bridge).

Thanks in advance for any help.

Code: Select all

 
[18:12:51] hb_init: starting libhb thread
[18:12:51] thread 4737010 started ("libhb")
HandBrake 1.0.3 (2017022500) - MinGW x86_64 - https://handbrake.fr
8 CPUs detected
Opening ...
[18:12:51] CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
[18:12:51]  - Intel microarchitecture Ivy Bridge
[18:12:51]  - logical processor count: 8
[18:12:51] Intel Quick Sync Video support: yes
[18:12:51]  - Intel Media SDK hardware: API 1.11 (minimum: 1.3)
[18:12:51]  - H.264 encoder: yes
[18:12:51]     - preferred implementation: hardware (any)
[18:12:51]     - capabilities (hardware):  vsinfo opt1 opt2+extbrc+ib_adapt+nmpslice
[18:12:51]  - H.265 encoder: no
[18:12:51] hb_scan: path=.\BDCOPY, title_index=1
[18:12:51] scan: BD has 1 title(s)
[18:12:51] bd: scanning title 1
[18:12:51] bd: playlist 00000.MPLS
[18:12:51] bd: duration is 01:29:05 (5345757 ms)
[18:12:51] bd: video id=0x1011, stream type=H.264, format 1080p
[18:12:51] bd: aspect = 16:9
[18:12:51] bd: audio id=0x711100, lang=Deutsch (DTS), 3cc=deu
[18:12:51] bd: audio id=0x1100, lang=Deutsch (DTS-HD MA), 3cc=deu
[18:12:51] bd: audio id=0x711101, lang=English (DTS), 3cc=eng
[18:12:51] bd: audio id=0x1101, lang=English (DTS-HD MA), 3cc=eng
[18:12:51] bd: subtitle id=0x1200, lang=Deutsch, 3cc=deu
[18:12:51] bd: subtitle id=0x1201, lang=English, 3cc=eng
[18:12:51] bd: subtitle id=0x1202, lang=Deutsch, 3cc=deu
[18:12:51] bd: chap 1 packet=768, 415415 ms
[18:12:51] bd: chap 2 packet=1905297984, 473139 ms
[18:12:51] bd: chap 3 packet=4180548288, 347347 ms
[18:12:51] bd: chap 4 packet=5801575104, 504837 ms
[18:12:51] bd: chap 5 packet=8158335168, 448114 ms
[18:12:51] bd: chap 6 packet=10280048832, 401651 ms
[18:12:51] bd: chap 7 packet=12155506176, 338087 ms
[18:12:51] bd: chap 8 packet=13742103168, 499040 ms
[18:12:51] bd: chap 9 packet=16139848896, 351476 ms
[18:12:51] bd: chap 10 packet=17757188928, 399941 ms
[18:12:51] bd: chap 11 packet=19634351808, 485026 ms
[18:12:51] bd: chap 12 packet=21881067648, 681263 ms
[18:12:51] bd: chap 13 packet=24695259648, 417 ms
[18:12:51] bd: title 1 has 13 chapters
[18:12:51] scan: decoding previews for title 1
[18:12:51] scan: title angle(s) 1
[18:12:51] scan: audio 0x711100: dca, rate=48000Hz, bitrate=1536000 Deutsch (DTS) (5.1 ch)
[18:12:51] scan: audio 0x1100: dca, rate=48000Hz, bitrate=1536000 Deutsch (DTS-HD MA) (5.1 ch)
[18:12:51] scan: audio 0x711101: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch)
[18:12:51] scan: audio 0x1101: dca, rate=48000Hz, bitrate=1536000 English (DTS-HD MA) (5.1 ch)

Scanning title 1 of 1, preview 1, 10.00 %
Scanning title 1 of 1, preview 4, 40.00 %
Scanning title 1 of 1, preview 8, 80.00 %[18:12:52] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 132/132/0/188, aspect 16:9, PAR 1:1
[18:12:52] scan: supported video decoders: avcodec qsv
[18:12:52] stream: 5 good frames, 0 errors (0%)

Scanning title 1 of 1, preview 10, 100.00 %[18:12:52] libhb: scan thread found 1 valid title(s)
+ Using preset: CLI Default
+ title 1:
  + playlist: 00000.MPLS
  + duration: 01:29:05
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 132/132/0/188
  + support opencl: no
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:06:55
    + 2: cells 0->0, 0 blocks, duration 00:07:53
    + 3: cells 0->0, 0 blocks, duration 00:05:47
    + 4: cells 0->0, 0 blocks, duration 00:08:25
    + 5: cells 0->0, 0 blocks, duration 00:07:28
    + 6: cells 0->0, 0 blocks, duration 00:06:42
    + 7: cells 0->0, 0 blocks, duration 00:05:38
    + 8: cells 0->0, 0 blocks, duration 00:08:19
    + 9: cells 0->0, 0 blocks, duration 00:05:51
    + 10: cells 0->0, 0 blocks, duration 00:06:40
    + 11: cells 0->0, 0 blocks, duration 00:08:05
    + 12: cells 0->0, 0 blocks, duration 00:11:21
    + 13: cells 0->0, 0 blocks, duration 00:00:00
  + audio tracks:
    + 1, Deutsch (DTS) (5.1 ch) (iso639-2: deu), 48000Hz, 1536000bps
    + 2, Deutsch (DTS-HD MA) (5.1 ch) (iso639-2: deu)
    + 3, English (DTS) (5.1 ch) (iso639-2: eng), 48000Hz, 1536000bps
    + 4, English (DTS-HD MA) (5.1 ch) (iso639-2: eng)
  + subtitle tracks:
    + 1, Deutsch (iso639-2: deu) (Bitmap)(PGS)
    + 2, English (iso639-2: eng) (Bitmap)(PGS)
    + 3, Deutsch (iso639-2: deu) (Bitmap)(PGS)
[18:12:52] 1 job(s) to process
[18:12:52] 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": {
        "ChapterList": [
            {
                "Name": "Chapter 1"
            },
            {
                "Name": "Chapter 2"
            },
            {
                "Name": "Chapter 3"
            },
            {
                "Name": "Chapter 4"
            },
            {
                "Name": "Chapter 5"
            },
            {
                "Name": "Chapter 6"
            },
            {
                "Name": "Chapter 7"
            },
            {
                "Name": "Chapter 8"
            },
            {
                "Name": "Chapter 9"
            },
            {
                "Name": "Chapter 10"
            },
            {
                "Name": "Chapter 11"
            },
            {
                "Name": "Chapter 12"
            },
            {
                "Name": "Chapter 13"
            }
        ],
        "ChapterMarkers": true,
        "File": "THE_PYRAMID_000.mp4",
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": true
        },
        "Mux": "m4v"
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 6,
                "Settings": {
                    "mode": 1
                }
            },
            {
                "ID": 11,
                "Settings": {
                    "crop-bottom": 132,
                    "crop-left": 0,
                    "crop-right": 188,
                    "crop-top": 132,
                    "height": 816,
                    "width": 1732
                }
            }
        ]
    },
    "Metadata": {},
    "PAR": {
        "Den": 1,
        "Num": 1
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": ".\\BDCOPY",
        "Range": {
            "End": 13,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": false,
            "Default": true,
            "Enable": true,
            "Forced": true
        },
        "SubtitleList": []
    },
    "Video": {
        "ColorMatrixCode": 0,
        "Encoder": "qsv_h264",
        "Level": "4.1",
        "OpenCL": false,
        "Preset": "balanced",
        "Profile": "high",
        "QSV": {
            "AsyncDepth": 4,
            "Decode": false
        },
        "Quality": 21.0,
        "Turbo": false,
        "TwoPass": false
    }
}
[18:12:52] starting job
[18:12:52] job configuration:
[18:12:52]  * source
[18:12:52]    + .\BDCOPY
[18:12:52]    + title 1, chapter(s) 1 to 13
[18:12:52]  * destination
[18:12:52]    + THE_PYRAMID_000.mp4
[18:12:52]    + container: MPEG-4 (libavformat)
[18:12:52]      + optimized for HTTP streaming (fast start)
[18:12:52]      + chapter markers
[18:12:52]  * video track
[18:12:52]    + decoder: h264
[18:12:52]      + bitrate 200 kbps
[18:12:52]    + filters
[18:12:52]      + Framerate Shaper (mode=1)
[18:12:52]        + frame rate: 23.976 fps -> constant 23.976 fps
[18:12:52]      + Crop and Scale (width=1732:height=816:crop-top=132:crop-bottom=132:crop-left=0:crop-right=188)
[18:12:52]        + source: 1920 * 1080, crop (132/132/0/188): 1732 * 816, scale: 1732 * 816
[18:12:52]    + Output geometry
[18:12:52]      + storage dimensions: 1732 x 816
[18:12:52]      + pixel aspect ratio: 1 : 1
[18:12:52]      + display dimensions: 1732 x 816
[18:12:52]  * Foreign Audio Search: Passthrough, Forced Only, Default
[18:12:52]    + subtitle, Deutsch (track 0, id 0x1200) Picture [PGS]
[18:12:52]    + subtitle, Deutsch (track 2, id 0x1202) Picture [PGS]
[18:12:52] sync: expecting 128169 video frames
[18:14:07] reader: done. 10 scr changes
[18:14:07] work: average encoding speed for job is 0.000000 fps
[18:14:07] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[18:14:07] vfr: lost time: 0 (0 frames)
[18:14:07] vfr: gained time: 0 (0 frames) (0 not accounted for)
[18:14:07] stream: 128170 good frames, 0 errors (0%)
[18:14:07] sync: got 0 frames, 128169 expected
[18:14:07] Subtitle track 0 (id 0x1200) 'Deutsch': 1224 hits (0 forced)
[18:14:07] Subtitle track 2 (id 0x1202) 'Deutsch': 12 hits (0 forced)
[18:14:07] Found a subtitle candidate with id 0x1202
[18:14:07] starting job
[18:14:07] Subtitle pass-thru requested and input track is not compatible with container.  Changing track 0 to burned-in subtitle.
[18:14:07] work: bitrate not specified, track 1 setting bitrate 640 Kbps
[18:14:07] job configuration:
[18:14:07]  * source
[18:14:07]    + .\BDCOPY
[18:14:07]    + title 1, chapter(s) 1 to 13
[18:14:07]  * destination
[18:14:07]    + THE_PYRAMID_000.mp4
[18:14:07]    + container: MPEG-4 (libavformat)
[18:14:07]      + optimized for HTTP streaming (fast start)
[18:14:07]      + chapter markers
[18:14:07]  * video track
[18:14:07]    + decoder: h264
[18:14:07]      + bitrate 200 kbps
[18:14:07]    + filters
[18:14:07]      + Framerate Shaper (mode=1)
[18:14:07]        + frame rate: 23.976 fps -> constant 23.976 fps
[18:14:07]      + Subtitle renderer ()
[18:14:07]      + Crop and Scale (width=1732:height=816:crop-top=132:crop-bottom=132:crop-left=0:crop-right=188)
[18:14:07]        + source: 1920 * 1080, crop (132/132/0/188): 1732 * 816, scale: 1732 * 816
[18:14:07]    + Output geometry
[18:14:07]      + storage dimensions: 1732 x 816
[18:14:07]      + pixel aspect ratio: 1 : 1
[18:14:07]      + display dimensions: 1732 x 816
[18:14:07]    + encoder: H.264 (Intel Media SDK)
[18:14:07]      + preset:  balanced
[18:14:07]      + profile: high
[18:14:07]      + level:   4.1
[18:14:07]      + quality: 21.00 (QP)
[18:14:07]  * subtitle track 1, Deutsch (track 2, id 0x1202) Picture [PGS] -> Render/Burn-in
[18:14:07]  * audio track 1
[18:14:07]    + decoder: Deutsch (DTS) (5.1 ch) (track 1, id 0x711100)
[18:14:07]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[18:14:07]    + mixdown: 5.1 Channels
[18:14:07]    + encoder: AC3 (libavcodec)
[18:14:07]      + bitrate: 640 kbps, samplerate: 48000 Hz
[18:14:07] sync: expecting 128169 video frames
[18:14:07] encqsvInit: using encode-only path
[18:14:07] encqsvInit: H.264/AVC High profile @ level 4.1
[18:14:07] encqsvInit: TargetUsage 2 AsyncDepth 4
[18:14:07] encqsvInit: GopRefDist 4 GopPicSize 32 NumRefFrame 2
[18:14:07] encqsvInit: BFramesMax 3
[18:14:07] encqsvInit: RateControlMethod CQP with QPI 21 QPP 23 QPB 25
[18:14:07] sync: first pts video is 0
[18:14:07] sync: "Chapter 1" (1) at frame 1 time 0
[18:14:07] sync: first pts audio 0x711100 is 0
[18:14:07] qsv_enc_init: using 'hardware (2)' implementation, API: 1.11
[18:14:11] sync: first pts subtitle 0x1202 is 2796543
[18:15:04] sync: "Chapter 2" (2) at frame 9961 time 37387350
[18:16:10] sync: "Chapter 3" (3) at frame 21305 time 79969890
[18:16:56] sync: "Chapter 4" (4) at frame 29633 time 111231120
[18:18:00] sync: "Chapter 5" (5) at frame 41737 time 156666510
[18:18:58] sync: "Chapter 6" (6) at frame 52481 time 196996800
[18:19:52] sync: "Chapter 7" (7) at frame 62111 time 233145412
[18:20:39] sync: "Chapter 8" (8) at frame 70217 time 263573310
[18:21:44] sync: "Chapter 9" (9) at frame 82182 time 308486928
[18:22:29] sync: "Chapter 10" (10) at frame 90609 time 340119780
[18:23:22] sync: "Chapter 11" (11) at frame 100198 time 376114488
Error code -17,	hb_qsv_wait_on_sync	602
Signal 2 received, terminating - do it again in case it gets stuck
[19:11:00] work: average encoding speed for job is 30.459843 fps
[19:11:01] vfr: 103941 frames output, 0 dropped and 0 duped for CFR/PFR
[19:11:01] vfr: lost time: 0 (0 frames)
[19:11:01] vfr: gained time: 0 (0 frames) (0 not accounted for)
maxim_d33
Bright Spark User
Posts: 173
Joined: Mon Mar 21, 2011 12:02 pm

Re: HandBrakeCLI 1.0.3 Error code -17

Post by maxim_d33 »

what driver version do you use?

may be try to install latest from https://downloadcenter.intel.com/downlo ... 8-1-15-33- ?
nick24
Posts: 19
Joined: Fri Dec 19, 2014 4:38 pm

Re: HandBrakeCLI 1.0.3 Error code -17

Post by nick24 »

Even with the latest driver version the error persists.
To be clear: HB versions < 1.0.3 work perfectly. Only 1.0.3 does not work anymore.
Anyway, thanks for the tip.
Post Reply