I have been running handbrake using the command
Code: Select all
start /low /wait /b /affinity F0 HandBrakeCLI.exe
- I was using version 1.0.7 (HandBrakeCLI-1.0.7-win-x86_64).
- I just tried to use version 1.2.2 (HandBrakeCLI-1.2.2-win-x86_64) and affinity is not working (all cores are utilised). I even tried changing affinity for 1 or two threads, it did not work.
- Reverting back to 1.0.7 fixes the problem
I should note that I call handbrake from a perl script.
Also I running for a few second in order to get the activity log, if, for some reason, more is needed I can leave it running for more....
HandBrake version (e.g., 1.0.0):
1.2.2
Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows v1903 (build 18362.175)
HandBrake Activity Log ***required*** (see How-to get an activity log)
Code: Select all
[13:04:27] hb_init: starting libhb thread
[13:04:27] thread 4269410 started ("libhb")
HandBrake 1.2.2 (2019022300) - MinGW x86_64 - https://handbrake.fr
8 CPUs detected
Opening ENCODE/afile_test.mp4...
[13:04:27] CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
[13:04:27] - Intel microarchitecture Haswell
[13:04:27] - logical processor count: 8
[13:04:27] Intel Quick Sync Video support: no
[13:04:27] hb_scan: path=ENCODE/afile_test.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image ENCODE/afile_test.mp4
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[13:04:27] 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
[13:04:27] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ENCODE/afile_test.mp4':
Metadata:
major_brand : mp42
minor_version : 512
compatible_brands: isomiso2mp41
creation_time : 2019-02-03T01:52:07.000000Z
encoder : HandBrake 1.1.1 2018061800
Duration: 00:39:08.46, start: 0.000000, bitrate: 2788 kb/s
Stream #0:0(und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 2621 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc (default)
Metadata:
creation_time : 2019-02-03T01:52:07.000000Z
handler_name : VideoHandler
Stream #0:1(spa): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 160 kb/s (default)
Metadata:
creation_time : 2019-02-03T01:52:07.000000Z
handler_name : Stereo
[13:04:27] scan: decoding previews for title 1
[13:04:27] scan: audio 0x1: aac, rate=48000Hz, bitrate=160212 espa?ol (AAC LC) (2.0 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 6, 60.00 %
Scanning title 1 of 1, preview 9, 90.00 %[13:04:28] scan: 10 previews, 1920x1080, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[13:04:28] scan: supported video decoders: avcodec qsv
[13:04:28] libhb: scan thread found 1 valid title(s)
+ Using preset: CLI Default
+ title 1:
+ stream: ENCODE/afile_test.mp4
+ duration: 00:39:08
+ size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 29.970 fps
+ autocrop: 0/0/0/0
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 00:39:08
+ audio tracks:
+ 1, español (AAC LC) (2.0 ch) (iso639-2: spa)
+ subtitle tracks:
[13:04:28] 1 job(s) to process
[13:04:28] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"CompressionLevel": -1.0,
"DRC": 0.0,
"DitherMethod": "auto",
"Encoder": "av_aac",
"Gain": 0.0,
"Mixdown": "stereo",
"NormalizeMixLevel": false,
"PresetEncoder": "av_aac",
"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": "av_aac"
},
"Destination": {
"AlignAVStart": false,
"ChapterList": [
{
"Name": ""
}
],
"ChapterMarkers": false,
"File": "ENCODE/afile_test_x265.mp4",
"InlineParameterSets": false,
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "m4v"
},
"Filters": {
"FilterList": [
{
"ID": 6,
"Settings": {
"mode": 2,
"rate": "27000000/900000"
}
},
{
"ID": 11,
"Settings": {
"crop-bottom": 0,
"crop-left": 0,
"crop-right": 0,
"crop-top": 0,
"height": 540,
"width": 960
}
}
]
},
"Metadata": {},
"PAR": {
"Den": 1,
"Num": 1
},
"SequenceID": 0,
"Source": {
"Angle": 0,
"Path": "ENCODE/afile_test.mp4",
"Range": {
"End": 1,
"Start": 1,
"Type": "chapter"
},
"Title": 1
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"ColorMatrix": 1,
"ColorPrimaries": 1,
"ColorTransfer": 1,
"Encoder": "x265",
"Profile": "auto",
"QSV": {
"AsyncDepth": 4,
"Decode": false
},
"Quality": 20.0,
"Turbo": false,
"TwoPass": false
}
}
[13:04:28] starting job
[13:04:28] job configuration:
[13:04:28] * source
[13:04:28] + ENCODE/afile_test.mp4
[13:04:28] + title 1, chapter(s) 1 to 1
[13:04:28] + container: mov,mp4,m4a,3gp,3g2,mj2
[13:04:28] + data rate: 2788 kbps
[13:04:28] * destination
[13:04:28] + ENCODE/afile_test_x265.mp4
[13:04:28] + container: MPEG-4 (libavformat)
[13:04:28] * video track
[13:04:28] + decoder: hevc
[13:04:28] + bitrate 2621 kbps
[13:04:28] + filters
[13:04:28] + Framerate Shaper (mode=2:rate=27000000/900000)
[13:04:28] + frame rate: 29.970 fps -> peak rate limited to 30.000 fps
[13:04:28] + Crop and Scale (width=960:height=540:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[13:04:28] + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 960 * 540
[13:04:28] + Output geometry
[13:04:28] + storage dimensions: 960 x 540
[13:04:28] + pixel aspect ratio: 1 : 1
[13:04:28] + display dimensions: 960 x 540
[13:04:28] + encoder: H.265 (libx265)
[13:04:28] + profile: auto
[13:04:28] + quality: 20.00 (RF)
[13:04:28] + color profile: 1-1-1
[13:04:28] * audio track 1
[13:04:28] + decoder: espa?ol (AAC LC) (2.0 ch) (track 1, id 0x1)
[13:04:28] + bitrate: 160 kbps, samplerate: 48000 Hz
[13:04:28] + mixdown: Stereo
[13:04:28] + dither: triangular
[13:04:28] + encoder: AAC (libavcodec)
[13:04:28] + bitrate: 160 kbps, samplerate: 48000 Hz
[13:04:28] sync: expecting 70383 video frames
x265 [info]: HEVC encoder version 2.9
x265 [info]: build info [Windows][GCC 8.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-3 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 3 / wpp(9 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 30 / 300 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-20.0 / 0.60
x265 [info]: tools: rd=3 psy-rd=2.00 rskip signhide tmvp strong-intra-smoothing
x265 [info]: tools: deblock sao
[13:04:28] sync: first pts audio 0x1 is 0
[13:04:28] sync: first pts video is 1920
[13:04:28] sync: Chapter 1 at frame 1 time 1920
^C