<div dir="auto">What drivers are you running. Should be the nvidia proprietary drivers to use nvenc</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 28, 2024, 9:11 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">Recently I had to reinstall Kubuntu on this machine. I didn't have a <br>
problem until I tried to use Handbrake. It will no longer use nvenc. <br>
I tried it using ffmpeg using the command line. First I tred ffmpeg -i <br>
input.mp4 -vcodec h264 output.mp4. That worked, but failed when I <br>
tried ffmpeg -i input.mp4 -vcodec h264_nvenc output.mp4 and displayed <br>
the error message below. Before I had to reinstall, I was able to use <br>
nvenc when encoding using h264 in Handbrake. Any idea how I can fix <br>
this? Thanks<br>
<br>
[h264_nvenc @ 0x55dd91a7ae40] Cannot load libnvidia-encode.so.1<br>
[h264_nvenc @ 0x55dd91a7ae40] The minimum required Nvidia driver for <br>
nvenc is 520.56.06 or newer<br>
[vost#0:0/h264_nvenc @ 0x55dd91aae5c0] Error while opening encoder - <br>
maybe incorrect parameters such as bit_rate, rate, width or height.<br>
[vf#0:0 @ 0x55dd91a913c0] Error sending frames to consumers: Operation <br>
not permitted<br>
[vf#0:0 @ 0x55dd91a913c0] Task finished with error code: -1 (Operation <br>
not permitted)<br>
[vf#0:0 @ 0x55dd91a913c0] Terminating thread with return code -1 <br>
(Operation not permitted)<br>
[vost#0:0/h264_nvenc @ 0x55dd91aae5c0] Could not open encoder before EOF<br>
[vost#0:0/h264_nvenc @ 0x55dd91aae5c0] Task finished with error code: <br>
-22 (Invalid argument)<br>
[vost#0:0/h264_nvenc @ 0x55dd91aae5c0] Terminating thread with return <br>
code -22 (Invalid argument)<br>
[out#0/mp4 @ 0x55dd91c55240] Nothing was written into output file, <br>
because at least one of its streams received no packets.<br>
frame= 0 fps=0.0 q=0.0 Lsize= 0KiB time=N/A bitrate=N/A speed=N/A<br>
[aac @ 0x55dd91bfa500] Qavg: 924.945<br>
Conversion failed!<br>
<br>
---------------------------------------------------<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>