When I try to convert a file from the CLI I get the following error:
x264 [error]: high profile doesn't support a bit depth of 10
ERROR: Failure to initialise thread 'H.264/AVC encoder (libx264)'
When I do the conversion from the GUI, everything works fine.
Steps to reproduce the problem (If Applicable):
This is the command I am using:
/usr/bin/HandBrakeCLI -i /u01/new/downloads/The.Predator.2018.1080p.BluRay.x264-SPARKS.mkv -o "/u01/new/downloads/The Predator 2018.m4v" -Z "HQ 1080p30 Surround"
HandBrake version (e.g., 1.0.0):
HandBrake-1.1.0-4.fc29.x86_64
HandBrake-gui-1.1.0-4.fc29.x86_64
Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Fedora release 29 (Twenty Nine)
Linux catdad 4.19.13-300.fc29.x86_64 #1 SMP Sat Dec 29 22:54:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
HandBrake Activity Log ***required*** (see How-to get an activity log)
Code: Select all
[18:31:51] hb_init: starting libhb thread
[18:31:51] thread 7f8e0b265700 started ("libhb")
HandBrake 20180405000000-b463d33-unknown (2018101101) - Linux x86_64 - https://handbrake.fr
8 CPUs detected
Opening /u01/new/downloads/The.Predator.2018.1080p.BluRay.x264-SPARKS.mkv...
[18:31:51] CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
[18:31:51] - Intel microarchitecture Haswell
[18:31:51] - logical processor count: 8
[18:31:51] Intel Quick Sync Video support: no
[18:31:51] hb_scan: path=/u01/new/downloads/The.Predator.2018.1080p.BluRay.x264-SPARKS.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /u01/new/downloads/The.Predator.2018.1080p.BluRay.x264-SPARKS.mkv
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
[18:31:51] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[18:31:51] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/u01/new/downloads/The.Predator.2018.1080p.BluRay.x264-SPARKS.mkv':
Metadata:
encoder : libebml v1.3.6 + libmatroska v1.4.9
creation_time : 2018-12-08T00:38:30.000000Z
Duration: 01:46:56.86, start: 0.000000, bitrate: 10239 kb/s
Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x808 [SAR 1:1 DAR 240:101], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Metadata:
BPS-eng : 9597940
DURATION-eng : 01:46:56.827000000
NUMBER_OF_FRAMES-eng: 153850
NUMBER_OF_BYTES-eng: 7698540596
_STATISTICS_WRITING_APP-eng: mkvmerge v29.0.0 ('Like It Or Not') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2018-12-08 00:38:30
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
Metadata:
BPS-eng : 640000
DURATION-eng : 01:46:56.864000000
NUMBER_OF_FRAMES-eng: 200527
NUMBER_OF_BYTES-eng: 513349120
_STATISTICS_WRITING_APP-eng: mkvmerge v29.0.0 ('Like It Or Not') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2018-12-08 00:38:30
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:2(eng): Subtitle: subrip (default) (forced)
Metadata:
title : English Forced
BPS-eng : 126
DURATION-eng : 00:00:02.461000000
NUMBER_OF_FRAMES-eng: 1
NUMBER_OF_BYTES-eng: 39
_STATISTICS_WRITING_APP-eng: mkvmerge v29.0.0 ('Like It Or Not') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2018-12-08 00:38:30
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[18:31:51] scan: decoding previews for title 1
[18:31:51] scan: audio 0x1: ac3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch)
Scanning title 1 of 1, preview 9, 90.00 %[18:31:52] scan: 10 previews, 1920x808, 23.976 fps, autocrop = 2/2/0/0, aspect 2.38:1, PAR 1:1
[18:31:52] scan: supported video decoders: avcodec qsv
[18:31:52] libhb: scan thread found 1 valid title(s)
+ Using preset: HQ 1080p30 Surround
+ title 1:
+ stream: /u01/new/downloads/The.Predator.2018.1080p.BluRay.x264-SPARKS.mkv
+ duration: 01:46:56
+ size: 1920x808, pixel aspect: 1/1, display aspect: 2.38, 23.976 fps
+ autocrop: 2/2/0/0
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 01:46:56
+ audio tracks:
+ 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 640000bps
+ subtitle tracks:
+ 1, English [UTF-8]
[18:31:52] 1 job(s) to process
[18:31:52] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"CompressionLevel": -1.0,
"DRC": 0.0,
"DitherMethod": "auto",
"Encoder": "av_aac",
"Gain": 0.0,
"Mixdown": "dpl2",
"NormalizeMixLevel": false,
"PresetEncoder": "av_aac",
"Quality": -3.0,
"Samplerate": 0,
"Track": 0
},
{
"Bitrate": 0,
"DRC": 0.0,
"Encoder": "copy:ac3",
"Mixdown": "none",
"PresetEncoder": "copy:ac3",
"Quality": -3.0,
"Samplerate": 0,
"Track": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3"
],
"FallbackEncoder": "av_aac"
},
"Destination": {
"AlignAVStart": true,
"ChapterList": [
{
"Name": ""
}
],
"ChapterMarkers": false,
"File": "/u01/new/downloads/The Predator 2018.m4v",
"InlineParameterSets": false,
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "m4v"
},
"Filters": {
"FilterList": [
{
"ID": 3,
"Settings": {
"block-height": "16",
"block-thresh": "40",
"block-width": "16",
"filter-mode": "2",
"mode": "3",
"motion-thresh": "1",
"spatial-metric": "2",
"spatial-thresh": "1"
}
},
{
"ID": 4,
"Settings": {
"mode": "7"
}
},
{
"ID": 6,
"Settings": {
"mode": 2,
"rate": "27000000/900000"
}
},
{
"ID": 11,
"Settings": {
"crop-bottom": 2,
"crop-left": 0,
"crop-right": 0,
"crop-top": 2,
"height": 804,
"width": 1920
}
}
]
},
"Metadata": {},
"PAR": {
"Den": 1,
"Num": 1
},
"SequenceID": 0,
"Source": {
"Angle": 0,
"Path": "/u01/new/downloads/The.Predator.2018.1080p.BluRay.x264-SPARKS.mkv",
"Range": {
"End": 1,
"Start": 1,
"Type": "chapter"
},
"Title": 1
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"ColorMatrixCode": 0,
"Encoder": "x264_10bit",
"Level": "4.0",
"Options": "",
"Preset": "slow",
"Profile": "high",
"QSV": {
"AsyncDepth": 4,
"Decode": false
},
"Quality": 20.0,
"Tune": "",
"Turbo": false,
"TwoPass": false
}
}
[18:31:52] Skipping subtitle scan. No suitable subtitle tracks.
[18:31:52] starting job
[18:31:52] decomb filter thread started for segment 0
[18:31:52] decomb filter thread started for segment 1
[18:31:52] decomb filter thread started for segment 2
[18:31:52] decomb filter thread started for segment 5
[18:31:52] decomb filter thread started for segment 4
[18:31:52] decomb filter thread started for segment 3
[18:31:52] decomb filter thread started for segment 6
[18:31:52] decomb check thread started for segment 6
[18:31:52] decomb check thread started for segment 0
[18:31:52] decomb check thread started for segment 1
[18:31:52] decomb check thread started for segment 2
[18:31:52] decomb check thread started for segment 3
[18:31:52] decomb check thread started for segment 4
[18:31:52] decomb check thread started for segment 5
[18:31:52] decomb filter thread started for segment 7
[18:31:52] mask filter thread started for segment 5
[18:31:52] mask filter thread started for segment 6
[18:31:52] mask filter thread started for segment 1
[18:31:52] mask filter thread started for segment 2
[18:31:52] mask filter thread started for segment 3
[18:31:52] decomb check thread started for segment 7
[18:31:52] mask filter thread started for segment 4
[18:31:52] mask erode thread started for segment 4
[18:31:52] mask filter thread started for segment 7
[18:31:52] mask erode thread started for segment 0
[18:31:52] mask erode thread started for segment 1
[18:31:52] mask erode thread started for segment 2
[18:31:52] mask erode thread started for segment 3
[18:31:52] mask filter thread started for segment 0
[18:31:52] mask dilate thread started for segment 0
[18:31:52] mask dilate thread started for segment 1
[18:31:52] mask dilate thread started for segment 2
[18:31:52] mask dilate thread started for segment 3
[18:31:52] yadif thread started for segment 0
[18:31:52] mask dilate thread started for segment 5
[18:31:52] mask dilate thread started for segment 6
[18:31:52] yadif thread started for segment 2
[18:31:52] mask erode thread started for segment 5
[18:31:52] mask dilate thread started for segment 7
[18:31:52] mask dilate thread started for segment 4
[18:31:52] yadif thread started for segment 1
[18:31:52] mask erode thread started for segment 6
[18:31:52] yadif thread started for segment 3
[18:31:52] job configuration:
[18:31:52] * source
[18:31:52] + /u01/new/downloads/The.Predator.2018.1080p.BluRay.x264-SPARKS.mkv
[18:31:52] + title 1, chapter(s) 1 to 1
[18:31:52] + container: matroska,webm
[18:31:52] + data rate: 10239 kbps
[18:31:52] * destination
[18:31:52] + /u01/new/downloads/The Predator 2018.m4v
[18:31:52] + container: MPEG-4 (libavformat)
[18:31:52] + align initial A/V stream timestamps
[18:31:52] * video track
[18:31:52] + decoder: h264
[18:31:52] + filters
[18:31:52] + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[18:31:52] + Decomb (mode=39)
[18:31:52] yadif thread started for segment 6
[18:31:52] yadif thread started for segment 7
[18:31:52] + Framerate Shaper (mode=2:rate=27000000/900000)
[18:31:52] + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[18:31:52] + Crop and Scale (width=1920:height=804:crop-top=2:crop-bottom=2:crop-left=0:crop-right=0)
[18:31:52] + source: 1920 * 808, crop (2/2/0/0): 1920 * 804, scale: 1920 * 804
[18:31:52] + Output geometry
[18:31:52] + storage dimensions: 1920 x 804
[18:31:52] + pixel aspect ratio: 1 : 1
[18:31:52] + display dimensions: 1920 x 804
[18:31:52] + encoder: H.264 10-bit (libx264)
[18:31:52] + preset: slow
[18:31:52] + profile: high
[18:31:52] + level: 4.0
[18:31:52] + quality: 20.00 (RF)
[18:31:52] * audio track 1
[18:31:52] + decoder: English (AC3) (5.1 ch) (track 1, id 0x1)
[18:31:52] + bitrate: 640 kbps, samplerate: 48000 Hz
[18:31:52] + mixdown: Dolby Pro Logic II
[18:31:52] + encoder: AAC (libavcodec)
[18:31:52] + bitrate: 160 kbps, samplerate: 48000 Hz
[18:31:52] * audio track 2
[18:31:52] + decoder: English (AC3) (5.1 ch) (track 1, id 0x1)
[18:31:52] + bitrate: 640 kbps, samplerate: 48000 Hz
[18:31:52] + AC3 Passthru
[18:31:52] mask erode thread started for segment 7
[18:31:52] yadif thread started for segment 5
[18:31:52] yadif thread started for segment 4
[18:31:52] sync: expecting 153850 video frames
[18:31:52] encavcodecaInit: Unknown avcodec option stereo_mode
[18:31:52] encx264: min-keyint: 24, keyint: 240
[18:31:52] encx264: encoding at constant RF 20.000000
x264 [error]: high profile doesn't support a bit depth of 10
ERROR: Failure to initialise thread 'H.264/AVC encoder (libx264)'
[18:31:52] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[18:31:52] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[18:31:52] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[18:31:52] vfr: lost time: 0 (0 frames)
[18:31:52] vfr: gained time: 0 (0 frames) (0 not accounted for)
[18:31:52] ac3-decoder done: 0 frames, 0 decoder errors
[18:31:52] ac3-decoder done: 0 frames, 0 decoder errors
[18:31:52] h264-decoder done: 0 frames, 0 decoder errors
[18:31:52] sync: got 0 frames, 153850 expected
[18:31:52] libhb: work result = 3
Encode failed (error 3).
HandBrake has exited.