x265 [info]: using cpu capabilities: none!

Support for HandBrake on Linux, Solaris, and other Unix-like platforms
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
alpo
Posts: 6
Joined: Sat Sep 01, 2018 5:23 pm

x265 [info]: using cpu capabilities: none!

Post by alpo » Sat Sep 01, 2018 5:40 pm

System Setup:
- HandBrake 1.1.1
- Dual Xeon E5530 CPUs
- CentOS 7.5 (Kernel 3.10.0-862.11.6.el7.x86_64)

Issue: When calling HandBrakeCLI, output shows "x265 [info]: using cpu capabilities: none!"
Question: Any assistance to ensure the CPUs capabilities are being used by HandBrake would be greatly appreciated.

HandBrakeCLI is called with the following:

Code: Select all

INFILE="/srv/samba/movies/InsideOut.mkv"
OUTFILE="/srv/samba/movies/InsideOut-x265.mkv"
HandBrakeCLI -i $INFILE -o $OUTFILE --no-dvdnav --main-feature --format av_mkv --markers --no-optimize 
--no-ipod-atom --align-av --encoder x265 --encoder-preset medium --encoder-profile Auto --vb 14 --two-pass
--turbo --vfr --audio-lang-list eng --first-audio --aencoder copy:dtshd --audio-fallback copy:truehd --ab 512
--arate 48 --auto-anamorphic --keep-display-aspect --width 1920 --height 1080 --no-itu-par --modulus 2 
--no-detelecine --no-hqdn3d --no-nlmeans --no-unsharp --unsharp-tune none --no-lapsharp --no-deblock 
--rotate 0 --no-grayscale
Checking cat /proc/cpuinfo gives:

Code: Select all

flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2
ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf
eagerfpu pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm tpr_shadow 
vnmi flexpriority ept vpid dtherm ida
HandBrake was compiled using "./configure --launch-jobs=$(nproc) --launch --disable-gtk" and both yasm and nasm were also installed.

User avatar
Rodeo
HandBrake Team
Posts: 11907
Joined: Tue Mar 03, 2009 8:55 pm

Re: x265 [info]: using cpu capabilities: none!

Post by Rodeo » Sat Sep 01, 2018 7:32 pm

That is odd indeed, but what we probably need in this particular case is a build log (build/log/build.txt). Also the log will be a lot more readable if you build with --launch-jobs=1 ;)

alpo
Posts: 6
Joined: Sat Sep 01, 2018 5:23 pm

Re: x265 [info]: using cpu capabilities: none!

Post by alpo » Sat Sep 01, 2018 8:17 pm

There may be a larger issue afoot. The first pass seemed to execute without error, but the second pass failed with error code 3:

Code: Select all

[09:18:40] hb_init: starting libhb thread
[09:18:40] thread 7f9d9d2fb700 started ("libhb")
HandBrake 20180831221939-a2ed031-master (2018090101) - Linux x86_64 - https://handbrake.fr
16 CPUs detected
Opening /srv/samba/movies/InsideOut.mkv...
[09:18:40] CPU: Intel(R) Xeon(R) CPU           E5530  @ 2.40GHz
[09:18:40]  - logical processor count: 16
[09:18:40] hb_scan: path=/srv/samba/movies/InsideOut.mkv, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /srv/samba/movies/InsideOut.mkv
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
[09:18:40] bd: not a bd - trying as a stream/file instead
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.BUP.
[09:18:40] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/srv/samba/movies/InsideOut.mkv':
  Metadata:
    title           : Inside Out
    encoder         : libmakemkv v1.12.3 (1.3.5/1.4.7) win(x64-release)
    creation_time   : 2018-09-01T04:23:47.000000Z
  Duration: 01:34:37.84, start: 0.000000, bitrate: 27374 kb/s
    Chapter #0:0: start 0.000000, end 442.692250
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 442.692250, end 696.779417
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 696.779417, end 946.403792
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 946.403792, end 1202.242708
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 1202.242708, end 1521.436583
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 1521.436583, end 1607.063792
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 1607.063792, end 1810.183375
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 1810.183375, end 2085.792042
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 2085.792042, end 2162.285125
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 2162.285125, end 2265.304708
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 2265.304708, end 2487.359875
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 2487.359875, end 2615.613000
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 2615.613000, end 2719.508458
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 2719.508458, end 2811.850708
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 2811.850708, end 3002.457792
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 3002.457792, end 3094.341250
    Metadata:
      title           : Chapter 16
    Chapter #0:16: start 3094.341250, end 3372.160458
    Metadata:
      title           : Chapter 17
    Chapter #0:17: start 3372.160458, end 3603.683417
    Metadata:
      title           : Chapter 18
    Chapter #0:18: start 3603.683417, end 3677.840833
    Metadata:
      title           : Chapter 19
    Chapter #0:19: start 3677.840833, end 3830.368208
    Metadata:
      title           : Chapter 20
    Chapter #0:20: start 3830.368208, end 3987.191542
    Metadata:
      title           : Chapter 21
    Chapter #0:21: start 3987.191542, end 4275.771500
    Metadata:
      title           : Chapter 22
    Chapter #0:22: start 4275.771500, end 4420.541125
    Metadata:
      title           : Chapter 23
    Chapter #0:23: start 4420.541125, end 4538.659125
    Metadata:
      title           : Chapter 24
    Chapter #0:24: start 4538.659125, end 4800.337208
    Metadata:
      title           : Chapter 25
    Chapter #0:25: start 4800.337208, end 5037.198833
    Metadata:
      title           : Chapter 26
    Chapter #0:26: start 5037.198833, end 5178.339833
    Metadata:
      title           : Chapter 27
    Chapter #0:27: start 5178.339833, end 5677.838833
    Metadata:
      title           : Chapter 28
    Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1                                                                   k tbn, 47.95 tbc
    Metadata:
      BPS-eng         : 24080828
      DURATION-eng    : 01:34:37.838833333
      NUMBER_OF_FRAMES-eng: 136132
      NUMBER_OF_BYTES-eng: 17090880320
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-09-01 04:23:47
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 7.1, s32p (24 bit) (default)
    Metadata:
      title           : Surround 7.1
      BPS-eng         : 3289743
      DURATION-eng    : 01:34:37.845333333
      NUMBER_OF_FRAMES-eng: 532298
      NUMBER_OF_BYTES-eng: 2334831760
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-09-01 04:23:47
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:2: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 640x360 [SAR 72:72 DAR 16:9], 90k tbr, 90k tbn,                                                                    90k tbc
    Metadata:
      filename        : cover.jpg
      mimetype        : image/jpeg
[09:18:40] scan: decoding previews for title 1
[09:18:40] scan: audio 0x1: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (7.1 ch)
Scanning title 1 of 1, preview 10, 100.00 %[09:18:42] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, a                                                                   spect 16:9, PAR 1:1
[09:18:42] libhb: scan thread found 1 valid title(s)
Searching for main feature title...
 + Title (0) index 1 has length 5677sec
Found main feature title 1
+ Using preset: CLI Default
+ title 1:
  + stream: /srv/samba/movies/InsideOut.mkv
  + duration: 01:34:37
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:07:23
    + 2: cells 0->0, 0 blocks, duration 00:04:14
    + 3: cells 0->0, 0 blocks, duration 00:04:10
    + 4: cells 0->0, 0 blocks, duration 00:04:16
    + 5: cells 0->0, 0 blocks, duration 00:05:19
    + 6: cells 0->0, 0 blocks, duration 00:01:26
    + 7: cells 0->0, 0 blocks, duration 00:03:23
    + 8: cells 0->0, 0 blocks, duration 00:04:36
    + 9: cells 0->0, 0 blocks, duration 00:01:16
    + 10: cells 0->0, 0 blocks, duration 00:01:43
    + 11: cells 0->0, 0 blocks, duration 00:03:42
    + 12: cells 0->0, 0 blocks, duration 00:02:08
    + 13: cells 0->0, 0 blocks, duration 00:01:44
    + 14: cells 0->0, 0 blocks, duration 00:01:32
    + 15: cells 0->0, 0 blocks, duration 00:03:11
    + 16: cells 0->0, 0 blocks, duration 00:01:32
    + 17: cells 0->0, 0 blocks, duration 00:04:38
    + 18: cells 0->0, 0 blocks, duration 00:03:52
    + 19: cells 0->0, 0 blocks, duration 00:01:14
    + 20: cells 0->0, 0 blocks, duration 00:02:33
    + 21: cells 0->0, 0 blocks, duration 00:02:37
    + 22: cells 0->0, 0 blocks, duration 00:04:49
    + 23: cells 0->0, 0 blocks, duration 00:02:25
    + 24: cells 0->0, 0 blocks, duration 00:01:58
    + 25: cells 0->0, 0 blocks, duration 00:04:22
    + 26: cells 0->0, 0 blocks, duration 00:03:57
    + 27: cells 0->0, 0 blocks, duration 00:02:21
    + 28: cells 0->0, 0 blocks, duration 00:08:19
  + audio tracks:
    + 1, English (DTS-HD MA) (7.1 ch) (iso639-2: eng)
  + subtitle tracks:
[09:18:42] 1 job(s) to process
[09:18:42] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Bitrate": 0,
                "DRC": 0.0,
                "Encoder": "copy:dtshd",
                "Mixdown": "none",
                "PresetEncoder": "copy:dtshd",
                "Quality": -3.0,
                "Samplerate": 0,
                "Track": 0
            }
        ],
        "CopyMask": [
            "copy:aac",
            "copy:ac3",
            "copy:eac3",
            "copy:dtshd",
            "copy:dts",
            "copy:mp3",
            "copy:truehd",
            "copy:flac"
        ],
        "FallbackEncoder": "copy:truehd"
    },
    "Destination": {
        "AlignAVStart": true,
        "ChapterList": [
            {
                "Name": "Chapter 1"
            },
            {
                "Name": "Chapter 2"
            },
            {
                "Name": "Chapter 3"
            },
            {
                "Name": "Chapter 4"
            },
            {
                "Name": "Chapter 5"
            },
            {
                "Name": "Chapter 6"
            },
            {
                "Name": "Chapter 7"
            },
            {
                "Name": "Chapter 8"
            },
            {
                "Name": "Chapter 9"
            },
            {
                "Name": "Chapter 10"
            },
            {
                "Name": "Chapter 11"
            },
            {
                "Name": "Chapter 12"
            },
            {
                "Name": "Chapter 13"
            },
            {
                "Name": "Chapter 14"
            },
            {
                "Name": "Chapter 15"
            },
            {
                "Name": "Chapter 16"
            },
            {
                "Name": "Chapter 17"
            },
            {
                "Name": "Chapter 18"
            },
            {
                "Name": "Chapter 19"
            },
            {
                "Name": "Chapter 20"
            },
            {
                "Name": "Chapter 21"
            },
            {
                "Name": "Chapter 22"
            },
            {
                "Name": "Chapter 23"
            },
            {
                "Name": "Chapter 24"
            },
            {
                "Name": "Chapter 25"
            },
            {
                "Name": "Chapter 26"
            },
            {
                "Name": "Chapter 27"
            },
            {
                "Name": "Chapter 28"
            }
        ],
        "ChapterMarkers": true,
        "File": "/srv/samba/movies/InsideOut.mp4",
        "InlineParameterSets": false,
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": false
        },
        "Mux": "mkv"
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 6,
                "Settings": {
                    "mode": 0
                }
            },
            {
                "ID": 11,
                "Settings": {
                    "crop-bottom": 0,
                    "crop-left": 0,
                    "crop-right": 0,
                    "crop-top": 0,
                    "height": 1080,
                    "width": 1920
                }
            },
            {
                "ID": 14,
                "Settings": {
                    "angle": "180",
                    "hflip": "0"
                }
            }
        ]
    },
    "Metadata": {
        "Name": "Inside Out"
    },
    "PAR": {
        "Den": 1,
        "Num": 1
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "/srv/samba/movies/InsideOut.mkv",
        "Range": {
            "End": 28,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": false,
            "Forced": false
        },
        "SubtitleList": []
    },
    "Video": {
        "Bitrate": 14,
        "ColorMatrix": 1,
        "ColorPrimaries": 1,
        "ColorTransfer": 1,
        "Encoder": "x265",
        "Preset": "medium",
        "Profile": "Auto",
        "QSV": {
            "AsyncDepth": 4,
            "Decode": false
        },
        "Turbo": true,
        "TwoPass": true
    }
}
[09:18:42] starting job
[09:18:42] job configuration:
[09:18:42]  * source
[09:18:42]    + /srv/samba/movies/InsideOut.mkv
[09:18:42]    + title 1, chapter(s) 1 to 28
[09:18:42]    + container: matroska,webm
[09:18:42]    + data rate: 27374 kbps
[09:18:42]  * destination
[09:18:42]    + /srv/samba/movies/InsideOut.mp4
[09:18:42]    + container: Matroska (libavformat)
[09:18:42]      + align initial A/V stream timestamps
[09:18:42]      + chapter markers
[09:18:42]  * video track
[09:18:42]    + decoder: h264
[09:18:42]    + filters
[09:18:42]      + Framerate Shaper (mode=0)
[09:18:42]        + frame rate: same as source (around 23.976 fps)
[09:18:42]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[09:18:42]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[09:18:42]      + avfilter (vflip,hflip)
[09:18:42]        + vflip
[09:18:42]        + hflip
[09:18:42]    + Output geometry
[09:18:42]      + storage dimensions: 1920 x 1080
[09:18:42]      + pixel aspect ratio: 1 : 1
[09:18:42]      + display dimensions: 1920 x 1080
[09:18:42]    + encoder: H.265 (libx265)
[09:18:42]      + preset:  medium
[09:18:42]      + profile: Auto
[09:18:42]      + bitrate: 14 kbps, pass: 1
[09:18:42]      + fast first pass
[09:18:42]      + color profile: 1-1-1
[09:18:42]  * audio track 1
[09:18:42]    + decoder: English (DTS-HD MA) (7.1 ch) (track 1, id 0x1)
[09:18:42]      + samplerate: 48000 Hz
[09:18:42]    + DTS-HD Passthru
[09:18:42] sync: expecting 136131 video frames
x265 [info]: HEVC encoder version 2.8
x265 [info]: build info [Linux][GCC 4.8.5][64 bit][noasm] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: none!
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 16 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 4 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : dia / 57 / 2 / 1
x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 1 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-14 kbps / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao stats-write
[09:18:42] sync: first pts video is 0
[09:18:42] sync: "Chapter 1" (1) at frame 1 time 0
[09:18:42] sync: first pts audio 0x1 is 0
Encoding: task 1 of 2, 7.80 % (10.22 fps, avg 9.63 fps, ETA 03h37m15s)[09:37:04] sync: "Chapter 2" (2) at frame 10616                                                                    time 39846056
Encoding: task 1 of 2, 12.27 % (8.50 fps, avg 9.62 fps, ETA 03h26m49s)[09:47:38] sync: "Chapter 3" (3) at frame 16708                                                                    time 62713901
Encoding: task 1 of 2, 16.67 % (9.67 fps, avg 9.64 fps, ETA 03h16m13s)[09:57:57] sync: "Chapter 4" (4) at frame 22692                                                                    time 85176341
Encoding: task 1 of 2, 21.17 % (10.58 fps, avg 9.68 fps, ETA 03h04m49s)[10:08:20] sync: "Chapter 5" (5) at frame 2882                                                                   6 time 108201843
Encoding: task 1 of 2, 26.80 % (10.55 fps, avg 9.63 fps, ETA 02h52m25s)[10:21:49] sync: "Chapter 6" (6) at frame 3647                                                                   9 time 136929292
Encoding: task 1 of 2, 28.30 % (6.82 fps, avg 9.59 fps, ETA 02h49m41s)[10:25:42] sync: "Chapter 7" (7) at frame 38532                                                                    time 144635741
Encoding: task 1 of 2, 31.88 % (10.59 fps, avg 9.60 fps, ETA 02h41m03s)[10:34:05] sync: "Chapter 8" (8) at frame 4340                                                                   3 time 162920257
Encoding: task 1 of 2, 36.73 % (10.53 fps, avg 9.61 fps, ETA 02h29m24s)[10:45:27] sync: "Chapter 9" (9) at frame 5001                                                                   1 time 187725037
Encoding: task 1 of 2, 38.08 % (7.01 fps, avg 9.62 fps, ETA 02h26m05s)[10:48:33] sync: "Chapter 10" (10) at frame 518                                                                   45 time 194609415
Encoding: task 1 of 2, 39.90 % (8.19 fps, avg 9.62 fps, ETA 02h21m46s)[10:52:48] sync: "Chapter 11" (11) at frame 543                                                                   14 time 203877423
Encoding: task 1 of 2, 43.81 % (11.79 fps, avg 9.63 fps, ETA 02h12m22s)[11:01:53] sync: "Chapter 12" (12) at frame 59                                                                   638 time 223862388
Encoding: task 1 of 2, 46.06 % (8.73 fps, avg 9.60 fps, ETA 02h07m29s)[11:07:34] sync: "Chapter 13" (13) at frame 627                                                                   13 time 235405170
Encoding: task 1 of 2, 47.89 % (9.11 fps, avg 9.61 fps, ETA 02h03m00s)[11:11:46] sync: "Chapter 14" (14) at frame 6520                                                                  5 time 244759515
Encoding: task 1 of 2, 49.52 % (9.41 fps, avg 9.60 fps, ETA 01h59m15s)[11:15:42] sync: "Chapter 15" (15) at frame 6741                                                                  8 time 253066563
Encoding: task 1 of 2, 52.88 % (9.86 fps, avg 9.62 fps, ETA 01h51m05s)[11:23:22] sync: "Chapter 16" (16) at frame 7198                                                                  8 time 270221201
Encoding: task 1 of 2, 54.50 % (11.84 fps, avg 9.64 fps, ETA 01h47m09s)[11:27:02] sync: "Chapter 17" (17) at frame 741                                                                  92 time 278494466
Encoding: task 1 of 2, 59.39 % (10.59 fps, avg 9.64 fps, ETA 01h35m37s)[11:38:34] sync: "Chapter 18" (18) at frame 808                                                                  53 time 303498195
Encoding: task 1 of 2, 63.47 % (9.37 fps, avg 9.64 fps, ETA 01h26m00s)[11:48:07] sync: "Chapter 19" (19) at frame 8640                                                                  4 time 324335261
Encoding: task 1 of 2, 64.77 % (10.93 fps, avg 9.65 fps, ETA 01h22m51s)[11:51:04] sync: "Chapter 20" (20) at frame 881                                                                  81 time 331005675
Encoding: task 1 of 2, 67.46 % (8.83 fps, avg 9.64 fps, ETA 01h16m36s)[11:57:31] sync: "Chapter 21" (21) at frame 9183                                                                  9 time 344736892
Encoding: task 1 of 2, 70.22 % (8.60 fps, avg 9.62 fps, ETA 01h10m15s)[12:04:21] sync: "Chapter 22" (22) at frame 95598 time 358847238
Encoding: task 1 of 2, 75.30 % (9.32 fps, avg 9.63 fps, ETA 00h58m10s)[12:16:05] sync: "Chapter 23" (23) at frame 102517 time 384819435
Encoding: task 1 of 2, 77.86 % (11.24 fps, avg 9.62 fps, ETA 00h52m13s)[12:22:19] sync: "Chapter 24" (24) at frame 105989 time 397852455
Encoding: task 1 of 2, 79.94 % (9.87 fps, avg 9.61 fps, ETA 00h47m21s)[12:27:22] sync: "Chapter 25" (25) at frame 108821 time 408483075
Encoding: task 1 of 2, 84.54 % (9.99 fps, avg 9.58 fps, ETA 00h36m35s)[12:38:50] sync: "Chapter 26" (26) at frame 115095 time 432034102
Encoding: task 1 of 2, 88.72 % (10.74 fps, avg 9.60 fps, ETA 00h26m40s)[12:48:19] sync: "Chapter 27" (27) at frame 120773 time 453347895
Encoding: task 1 of 2, 91.20 % (12.97 fps, avg 9.60 fps, ETA 00h20m48s)[12:54:19] sync: "Chapter 28" (28) at frame 124157 time 466050585
Encoding: task 1 of 2, 99.95 % (11.56 fps, avg 9.65 fps, ETA 00h00m07s)[13:13:47] reader: done. 1 scr changes
Encoding: task 1 of 2, 99.97 % (10.62 fps, avg 9.65 fps, ETA 00h00m04s)[13:13:57] work: average encoding speed for job is 9.647190 fps
[13:13:57] vfr: lost time: 0 (0 frames)
[13:13:57] vfr: gained time: 0 (0 frames) (0 not accounted for)
Encoding: task 1 of 2, 99.97 % (10.62 fps, avg 9.65 fps, ETA 00h00m04s)[13:13:57] dca-decoder done: 532298 frames, 0 decoder errors
[13:13:57] h264-decoder done: 136132 frames, 0 decoder errors
[13:13:57] sync: got 136132 frames, 136131 expected
[13:13:57] sync: framerate min 23.981 fps, max 23.981 fps, avg 23.976 fps
x265 [info]: frame I:   1627, Avg QP:50.96  kb/s: 607.06
x265 [info]: frame P:  36803, Avg QP:51.00  kb/s: 177.04
x265 [info]: frame B:  97702, Avg QP:51.00  kb/s: 99.36
x265 [info]: Weighted P-Frames: Y:3.0% UV:2.0%
x265 [info]: consecutive B-frames: 12.9% 5.6% 13.9% 49.8% 17.9%

encoded 136132 frames in 14115.07s (9.64 fps), 126.43 kb/s, Avg QP:51.00
[13:13:57] starting job
[13:13:57] job configuration:
[13:13:57]  * source
[13:13:57]    + /srv/samba/movies/InsideOut.mkv
[13:13:57]    + title 1, chapter(s) 1 to 28
[13:13:57]    + container: matroska,webm
[13:13:57]    + data rate: 27374 kbps
[13:13:57]  * destination
[13:13:57]    + /srv/samba/movies/InsideOut.mp4
[13:13:57]    + container: Matroska (libavformat)
[13:13:57]      + align initial A/V stream timestamps
[13:13:57]      + chapter markers
[13:13:57]  * video track
[13:13:57]    + decoder: h264
[13:13:57]    + filters
[13:13:57]      + Framerate Shaper (mode=0)
[13:13:57]        + frame rate: same as source (around 23.976 fps)
[13:13:57]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[13:13:57]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[13:13:57]      + avfilter (vflip,hflip)
[13:13:57]        + vflip
[13:13:57]        + hflip
[13:13:57]    + Output geometry
[13:13:57]      + storage dimensions: 1920 x 1080
[13:13:57]      + pixel aspect ratio: 1 : 1
[13:13:57]      + display dimensions: 1920 x 1080
[13:13:57]    + encoder: H.265 (libx265)
[13:13:57]      + preset:  medium
[13:13:57]      + profile: Auto
[13:13:57]      + bitrate: 14 kbps, pass: 2
[13:13:57]      + color profile: 1-1-1
[13:13:57]  * audio track 1
[13:13:57]    + decoder: English (DTS-HD MA) (7.1 ch) (track 1, id 0x1)
[13:13:57]      + samplerate: 48000 Hz
[13:13:57]    + DTS-HD Passthru
[13:13:57] sync: expecting 136132 video frames
x265 [info]: HEVC encoder version 2.8
x265 [info]: build info [Linux][GCC 4.8.5][64 bit][noasm] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: none!
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 16 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 4 / wpp(17 rows)
Encoding: task 2 of 2, 0.00 %x265 [error]: requested bitrate is too low. estimated minimum is -2147483648 kbps
ERROR: encx265: x265_encoder_open failed.
ERROR: Failure to initialise thread 'H.265/HEVC encoder (libx265)'
[13:13:58] vfr: lost time: 0 (0 frames)
[13:13:58] vfr: gained time: 0 (0 frames) (0 not accounted for)
[13:13:58] dca-decoder done: 0 frames, 0 decoder errors
[13:13:58] h264-decoder done: 0 frames, 0 decoder errors
[13:13:58] sync: got 0 frames, 136132 expected
Encoding: task 2 of 2, 0.00 %[13:13:58] libhb: work result = 3

Encode failed (error 3).

HandBrake has exited.
Any thoughts?

User avatar
Rodeo
HandBrake Team
Posts: 11907
Joined: Tue Mar 03, 2009 8:55 pm

Re: x265 [info]: using cpu capabilities: none!

Post by Rodeo » Sat Sep 01, 2018 8:27 pm

alpo wrote:
Sat Sep 01, 2018 8:17 pm

Code: Select all

x265 [error]: requested bitrate is too low. estimated minimum is -2147483648 kbps
You're attempting to encode at 14 kilobits per second…

alpo
Posts: 6
Joined: Sat Sep 01, 2018 5:23 pm

Re: x265 [info]: using cpu capabilities: none!

Post by alpo » Sat Sep 01, 2018 9:20 pm

Ok, I believe I can solve that by changing the HandBrakeCLI option --vb 14 to --quality 14. Please correct me if I'm wrong, though.

As for the "using cpu capabilities: none!" error, I did find something interesting as well as a possible fix. Recall, HandBrake uses x265 version 2.8. The "Building HandBrake for Linux" guide (found here) recommends getting nasm from the RPM Fusion repository. From the x265 encoder documentation, located here, the README mentions that x265 2.8 requires nasm 2.13 or greater. However, the RPM Fusion repository provides version 2.10.

When I use the official nasm repository to install nasm 2.13 and then re-compile HandBrake, the following shows up in HandBrake's build log:

Code: Select all

...

Configuring for target 'x86_64-linux-gcc'
  enabling x86_64
  enabling runtime_cpu_detect
  enabling mmx
  enabling sse
  enabling sse2
  enabling sse3
  enabling ssse3
  enabling sse4_1
  enabling avx
  enabling avx2
    disabling avx512: not supported by compiler
  using nasm

...
 
ARCH                      x86 (generic)
big-endian                no
runtime cpu detection     yes
standalone assembly       yes
x86 assembler             nasm
MMX enabled               yes
MMXEXT enabled            yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
AESNI enabled             yes
AVX enabled               yes
AVX2 enabled              yes
AVX-512 enabled           yes
XOP enabled               yes
FMA3 enabled              yes
FMA4 enabled              yes
i686 features enabled     yes
CMOV is fast              yes
EBX available             yes
EBP available             yes
debug symbols             no
strip symbols             yes
optimize for size         no
optimizations             yes
static                    yes
shared                    no
postprocessing support    yes
network support           no
threading support         pthreads
safe bitstream reader     yes
texi2html enabled         no
perl enabled              yes
pod2man enabled           yes
makeinfo enabled          no
makeinfo supports HTML    no
After re-running HandBrake, the "using cpu capabilities" flag shows:

Code: Select all

x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
And if you'd like to follow along in your hymnal...

For CentOS, to install nasm 2.13, run:

Code: Select all

yum install mercurial
wget https://www.nasm.us/nasm.repo -o /etc/yum.repos.d/nasm.repo
yum --enable-repo=nasm install nasm
Then re-compile HandBrake with:

Code: Select all

./configure --launch-jobs=1 --launch --disable-gtk --enable-x265 --arch=x86_64
Thanks to Rodeo for the advice and guidance. If there are any more issues, I'll let you know.

User avatar
Rodeo
HandBrake Team
Posts: 11907
Joined: Tue Mar 03, 2009 8:55 pm

Re: x265 [info]: using cpu capabilities: none!

Post by Rodeo » Sat Sep 01, 2018 9:35 pm

You can use more launch jobs once you know HandBrake builds correctly, one job is only useful when troubleshooting build-related issues.

--quality <value> is correct for constant rate factor ("quality-based") encoding, but (FWIW) then --two-pass --turbo is ignored since quality-based encoding is a single-pass operation.

alpo
Posts: 6
Joined: Sat Sep 01, 2018 5:23 pm

Re: x265 [info]: using cpu capabilities: none!

Post by alpo » Sat Sep 01, 2018 9:39 pm

Excellent. I'll remove the --two-pass and --turbo switches. Thanks for the clarification. And thanks for the help today - I learned quite a bit and hopefully the tutorial in my previous post helps shed light on the nasm issue. Please let me know if I can contribute anything. Cheers.

User avatar
BradleyS
Moderator
Posts: 1321
Joined: Thu Aug 09, 2007 12:16 pm

Re: x265 [info]: using cpu capabilities: none!

Post by BradleyS » Sun Sep 02, 2018 1:32 pm

The release documentation doesn't discuss nasm at all, as this requirement due to newer contrib libraries was added after 1.1.x.

The documentation for latest master branch, which does require nasm, suggests getting it from the nasm repo: https://handbrake.fr/docs/en/latest/dev ... entos.html

Post Reply