Handbrake won't use nvenc
Jim
azanorak at gmail.com
Sat Mar 30 13:46:27 MST 2024
Here's a recap of my last post. I had Ubuntu 22.04 installed on this
machine. I had Handbrake using the Nvenc option. Recently I had to
reinstall the OS. Now Nvendc doesn't work. I didn't change any
hardware. Handbrake gives me an error now. Today I tried again and
clicked the button for the Activity window. Here's what was in it.
OS: Ubuntu 22.04.4 LTS
HandBrake 1.7.3 (2023082100)
Kernel: Linux 5.15.0-100-generic (x86_64)
CPU: Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz x 4
Install Dir: /usr/bin
Config Dir: /home/delboy/.config/ghb
_______________________________
[13:40:34] Compile-time hardening features are enabled
[13:40:34] nvenc: version 11.1 is available
[13:40:34] nvdec: is not compiled into this build
[13:40:34] CUDA Version: 3.5
[13:40:34] vcn: not available on this system
[13:40:34] qsv: not available on this system
[13:40:34] hb_init: starting libhb thread
[13:40:34] hb_init: starting libhb thread
[13:40:34] hb_init: starting libhb thread
[13:40:40] CPU: Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz
[13:40:40] - Intel microarchitecture Ivy Bridge
[13:40:40] - logical processor count: 4
[13:40:40] Intel Quick Sync Video support: no
[13:40:40] hb_scan: path=/home/delboy/a.mp4, title_index=0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/delboy/a.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.76.100
Duration: 00:00:16.58, start: 0.000000, bitrate: 2144 kb/s
Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661),
yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 1979
kb/s, 25 fps, 25 tbr, 12800 tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
stereo, fltp, 161 kb/s (default)
Metadata:
handler_name : SoundHandler
vendor_id : [0][0][0][0]
[13:40:41] scan: decoding previews for title 1
[13:40:41] scan: audio 0x1: aac, rate=48000Hz, bitrate=161200 Unknown
(AAC LC, 2.0 ch, 161 kbps)
[13:40:41] using container PAR 1:1
[13:40:41] scan: 10 previews, 1920x1080, 25.000 fps, autocrop = 0/6/0/0,
aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[13:40:41] Title is likely interlaced or telecined (10 out of 10
previews). You should do something about that.
[13:40:41] libhb: scan thread found 1 valid title(s)
[13:40:55] gtkgui: Custom Preset: /General/1080p 4:3
[13:40:55] Starting work at: Sat Mar 30 13:40:55 2024
[13:40:55] 1 job(s) to process
[13:40:55] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 0,
"DRC": 0.0,
"Encoder": "copy:aac",
"Mixdown": "none",
"PresetEncoder": "copy",
"Quality": -3.0,
"Samplerate": 0,
"Track": 0
}
],
"CopyMask": [
"copy:mp3",
"copy:aac",
"copy:ac3",
"copy:dts",
"copy:dtshd",
"copy:eac3",
"copy:flac",
"copy:truehd"
],
"FallbackEncoder": "av_aac"
},
"Destination": {
"AlignAVStart": false,
"ChapterList": [
{
"Duration": {
"Hours": 0,
"Minutes": 0,
"Seconds": 16,
"Ticks": 1491840
},
"Name": ""
}
],
"ChapterMarkers": false,
"File": "/home/delboy/desktop1/a.mkv",
"InlineParameterSets": false,
"Mux": "mkv",
"Options": {
"IpodAtom": false,
"Optimize": false
}
},
"Filters": {
"FilterList": [
{
"ID": 4,
"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": 5,
"Settings": {
"mode": "7"
}
},
{
"ID": 10,
"Settings": {
"mode": 1
}
},
{
"ID": 19,
"Settings": {
"crop-bottom": 6,
"crop-left": 0,
"crop-right": 0,
"crop-top": 0,
"height": 1074,
"width": 1920
}
}
]
},
"Metadata": {
"Name": "a"
},
"PAR": {
"Den": 1,
"Num": 1
},
"SequenceID": 0,
"Source": {
"Angle": 0,
"HWDecode": 0,
"Path": "/home/delboy/a.mp4",
"Range": {
"End": 1,
"Start": 1,
"Type": "chapter"
},
"Title": 1
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"ChromaLocation": 1,
"ColorInputFormat": 0,
"ColorMatrix": 1,
"ColorOutputFormat": 0,
"ColorPrimaries": 1,
"ColorRange": 1,
"ColorTransfer": 1,
"Encoder": "nvenc_h264",
"HardwareDecode": 0,
"Level": "auto",
"MultiPass": false,
"Options": "",
"Preset": "medium",
"Profile": "auto",
"QSV": {
"AdapterIndex": 0,
"AsyncDepth": 0,
"Decode": false
},
"Quality": 30.0,
"Tune": "",
"Turbo": false
}
}
[13:40:55] CPU: Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz
[13:40:55] - Intel microarchitecture Ivy Bridge
[13:40:55] - logical processor count: 4
[13:40:55] Intel Quick Sync Video support: no
[13:40:55] hb_scan: path=/home/delboy/a.mp4, title_index=1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/delboy/a.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.76.100
Duration: 00:00:16.58, start: 0.000000, bitrate: 2144 kb/s
Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661),
yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 1979
kb/s, 25 fps, 25 tbr, 12800 tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
stereo, fltp, 161 kb/s (default)
Metadata:
handler_name : SoundHandler
vendor_id : [0][0][0][0]
[13:40:55] scan: decoding previews for title 1
[13:40:55] scan: audio 0x1: aac, rate=48000Hz, bitrate=161200 Unknown
(AAC LC, 2.0 ch, 161 kbps)
[13:40:55] using container PAR 1:1
[13:40:55] scan: 10 previews, 1920x1080, 25.000 fps, autocrop = 0/6/0/0,
aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[13:40:55] Title is likely interlaced or telecined (10 out of 10
previews). You should do something about that.
[13:40:55] libhb: scan thread found 1 valid title(s)
[13:40:55] Starting Task: Encoding Pass
[13:40:55] job configuration:
[13:40:55] * source
[13:40:55] + /home/delboy/a.mp4
[13:40:55] + title 1, chapter(s) 1 to 1
[13:40:55] + container: mov,mp4,m4a,3gp,3g2,mj2
[13:40:55] + data rate: 2144 kbps
[13:40:55] * destination
[13:40:55] + /home/delboy/desktop1/a.mkv
[13:40:55] + container: Matroska (libavformat)
[13:40:55] * video track
[13:40:55] + decoder: h264 8-bit (yuv420p)
[13:40:55] + bitrate 1979 kbps
[13:40:55] + filters
[13:40:55] + 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)
[13:40:55] + Decomb (mode=39)
[13:40:55] + Framerate Shaper (mode=1)
[13:40:55] + frame rate: 25.000 fps -> constant 25.000 fps
[13:40:55] + Crop and Scale
(width=1920:height=1074:crop-top=0:crop-bottom=6:crop-left=0:crop-right=0)
[13:40:55] + source: 1920 * 1080, crop (0/6/0/0): 1920 * 1074,
scale: 1920 * 1074
[13:40:55] + Output geometry
[13:40:55] + storage dimensions: 1920 x 1074
[13:40:55] + pixel aspect ratio: 1 : 1
[13:40:55] + display dimensions: 1920 x 1074
[13:40:55] + encoder: H.264 (NVEnc)
[13:40:55] + preset: medium
[13:40:55] + profile: auto
[13:40:55] + level: auto
[13:40:55] + quality: 30.00 (CQ)
[13:40:55] + color profile: 1-1-1
[13:40:55] + chroma location: left
[13:40:55] * audio track 1
[13:40:55] + decoder: Unknown (AAC LC, 2.0 ch, 161 kbps) (track 1, id
0x1)
[13:40:55] + bitrate: 161 kbps, samplerate: 48000 Hz
[13:40:55] + AAC Passthru
[13:40:55] sync: expecting 414 video frames
[13:40:55] encavcodecInit: H.264 (Nvidia NVENC)
[13:40:55] encavcodec: encoding at rc=vbr, 30.00
[13:40:55] encavcodec: encoding with stored aspect 1/1
[h264_nvenc @ 0x7f3744831bc0] Driver does not support the required nvenc
API version. Required: 12.1 Found: 11.1
[h264_nvenc @ 0x7f3744831bc0] The minimum required Nvidia driver for
nvenc is (unknown) or newer
[13:40:55] encavcodecInit: avcodec_open failed
[13:40:55] Failure to initialise thread 'FFMPEG encoder (libavcodec)'
[13:40:55] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[13:40:55] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[13:40:55] vfr: lost time: 0 (0 frames)
[13:40:55] vfr: gained time: 0 (0 frames) (0 not accounted for)
[13:40:55] aac-decoder done: 0 frames, 0 decoder errors
[13:40:55] h264-decoder done: 0 frames, 0 decoder errors
[13:40:55] sync: got 0 frames, 414 expected
[13:40:55] Finished work at: Sat Mar 30 13:40:55 2024
[13:40:55] libhb: work result = 3
More information about the PLUG-discuss
mailing list