<div dir="auto">They are likely interrelated. Maybe this can help you? <div dir="auto"><br></div><div dir="auto"><a href="https://forums.developer.nvidia.com/t/install-nvenc-12-x-with-libnvidia-compute-server-525/276013">https://forums.developer.nvidia.com/t/install-nvenc-12-x-with-libnvidia-compute-server-525/276013</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 30, 2024, 6:43 PM Jim via PLUG-discuss <<a href="mailto:plug-discuss@lists.phxlinux.org">plug-discuss@lists.phxlinux.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>

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

---------------------------------------------------<br>
PLUG-discuss mailing list: <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank" rel="noreferrer">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
</blockquote></div>