ffmpeg Unable to Use Hardware Encoding with Nvidia 3.40 Driver and GT210 card

I believe from what I've read that this card's driver doesn't support the features after trying all known troubleshooting methods.

ffmpeg -i uservideoRendered.mp4 -filter:v hwupload_cuda,scale_npp=w=1920:h=1080:format=nv12:interp_algo=lanczos,hwdownload -c:v hevc_nvenc -profile main -preset slow -rc vbr_hq -c:a copy uservideoRendered.mp4-test

ffmpeg -i uservideoRendered.mp4 -filter:v hwupload_cuda,scale_npp=w=1920:h=1080:format=nv12:interp_algo=lanczos,hwdownload -c:v hevc_nvenc -profile:v main -preset fast -rc vbr_hq -c:a copy uservideoRendered-test.mp4

Could not initialize the CUDA driver API
[AVFilterGraph @ 0x39d9500] Error initializing filter 'hwupload_cuda'
Error reinitializing filters!
Failed to inject frame into filter network: Unknown error occurred
Error while processing the decoded data for stream #0:0

sudo apt-get install nvidia-cuda-toolkit

ffmpeg -i uservideoRendered.mp4 -filter:v hwupload_cuda,scale_npp=w=1920:h=1080:format=nv12:interp_algo=lanczos,hwdownload -c:v hevc_nvenc -profile main -preset fast -rc vbr_hq -c:a copy uservideoRendered-test.mp4
[AVFilterGraph @ 0x31465e0] No such filter: 'scale_npp'
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed!


ffmpeg -i uservideoRendered.mp4 -filter:v hwupload_cuda,scale_npp=w=1316:h=1080:format=yuv420p:interp_algo=lanczos,hwdownload,format=yuv420p -c:v hevc_nvenc -profile main -preset fast -rc vbr_hq -c:a copy uservideoRendered-test.mp4
[AVFilterGraph @ 0x32d7860] No such filter: 'scale_npp'
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0


/home/one/ffmpeg-3.3.2/ffmpeg -i uservideoRendered.mp4 -filter:v hwupload_cuda,scale_npp=w=1316:h=1080:format=yuv420p:interp_algo=lanczos,hwdownload,format=yuv420p -c:v hevc_nvenc -profile main -preset fast -rc vbr_hq -c:a copy uservideoRendered-test.mp4

=========

ffmpeg -i uservideoRendered.mp4 -i "/pathlogo-creation/2017-good-final/ORDER150f1.png" -filter_complex overlay=x=w-tw-10:y=h-th-10 uservideoRendered.mp4-branded.mp4

[nvenc_hevc @ 0x2659760] This encoder is deprecated, use 'hevc_nvenc' instead
Cannot load NvEncodeAPIGetMaxSupportedVersion
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

ffmpeg -i uservideoRendered.mp4 -i "/pathlogo-creation/2017-good-final/ORDER150f1.png" -filter_complex overlay=x=w-tw-10:y=h-th-10 uservideoRendered.mp4-branded.mp4

Cannot load NvEncodeAPIGetMaxSupportedVersion
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height


ffmpeg -i $sourcevideo -i "$watermarkfile" -c copy  -c:v h264_nvenc -profile high444p -pixel_format yuv444p -preset default -filter_complex overlay=W-w-25:H-h-25 $outputfile

Please use -profile:a or -profile:v, -profile is ambiguous



ffmpeg -i $sourcevideo -i "$watermarkfile" -c copy  -c:v hevc_nvenc -profile:a main -preset slow -filter_complex overlay=W-w-25:H-h-25 $outputfile
[NULL @ 0x31b5a60] [Eval @ 0x7ffd44eff2d0] Undefined constant or missing '(' in 'main'
[NULL @ 0x31b5a60] Unable to parse option value "main"
[NULL @ 0x31b5a60] Error setting option profile to value main.
Error setting up codec context options.

ffmpeg -i $sourcevideo -i "$watermarkfile" -c copy -c:v hevc_nvenc -profile:v main10 -preset slow -filter_complex overlay=W-w-25:H-h-25 $outputfile
Cannot load NvEncodeAPIGetMaxSupportedVersion
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height


Tags:

ffmpeg, unable, hardware, encoding, nvidia, cardi, ve, doesn, features, troubleshooting, methods, uservideorendered, mp, filter, hwupload_cuda, scale_npp, format, nv, interp_algo, lanczos, hwdownload, hevc_nvenc, preset, rc, vbr_hq, initialize, cuda, api, avfiltergraph, initializing, reinitializing, filters, inject, processing, decoded, stream, sudo, apt, install, toolkit, invalid, conversion, yuv, quot, pathlogo, creation, png, filter_complex, overlay, tw, branded, nvenc_hevc, encoder, deprecated, nvencodeapigetmaxsupportedversion, output, incorrect, parameters, bit_rate, width, height, sourcevideo, watermarkfile, _nvenc, pixel_format, default, outputfile, ambiguous, null, eval, ffd, eff, undefined, parse, codec, context,

Latest Articles

  • vi cannot copy and paste automatic visual mode solution
  • python3 error Ubuntu Linux error solution SyntaxError: invalid syntax line 12 pip{sys.version_info.major}
  • Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true: Connection reset by peer
  • -bash: expr: command not found Linux Debian Mint Ubuntu
  • How to remove metadata from pdf on Linux Ubuntu
  • How to install and configure haproxy on Linux Ubuntu Debian
  • Linux Ubuntu Mint Gnome keyboard Typing not working in certain application or window solution
  • talib/_ta_lib.c:747:10: fatal error: ta-lib/ta_defs.h: No such file or directory
  • How to install Windows or other OS and then bring to another computer by using a physical drive and Virtual Machine with QEMU
  • PXE-E23 Error BOOTx64.EFI GRUB booting is 0 bytes tftp pxe dhcp solution NBP filesize is 0 Bytes
  • vagrant install on Debian Mint Ubuntu Linux RHEL Quick Setup Guide Tutorial
  • RHEL 8 CentOS 8, Alma Linux 8, Rocky Linux 8 System Not Booting with RAID or on other servers/computers Solution for dracut and initramfs missing kernel modules
  • How to Upgrade to Debian 11 from Version 8,9,10
  • Ubuntu Linux Mint Debian Redhat Cannot View Files on Android iPhone USB File Transfer Not Working Solution
  • Virtualbox Best Networking Mode In Lab/Work Environment without using NAT Network or Bridged
  • debootstrap how to install Ubuntu, Mint, Debian install
  • Linux grub not using UUID for the root device instead it uses /dev/sda1 or other device name solution
  • How To Restore Partition Table on Running Linux Mint Ubuntu Debian Machine
  • Debian Ubuntu apt install stop daemon questions/accept the default action without prompting
  • iptables NAT how to enable PPTP in newer Debian/Ubuntu/Mint Kernels Linux