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

  • ImageMagick Convert PDF Not Authorized
  • ImageMagick Converted PDF to JPEG some files have a black background solution
  • Linux Mint Mate Customize the Lock screen messages and hide username and real name
  • Ubuntu/Gnome/Mint/Centos How To Take a partial screenshot
  • ssh how to verify your host key / avoid MIM attacks
  • Cisco IP Phone CP-8845 8800/8900 Series How To Reset To Factory Settings Instructions
  • ls how to list ONLY directories
  • How to encrypt your SSH private key file id_rsa
  • Linux Mint 18 Disable User Name List from showing on Login Screen
  • Firefox Cannot Hit Enter Key In Address Bar and Location History Not Working
  • Cisco Unified Communications Manager / CUCM IP 8.6,10,12 Install Error Solution
  • Ubuntu Debian Mint Linux SSHD OpenSSH Server Not Starting After Reboot Solution
  • nmap how to scan for all ports and not just the 1000 most common ports
  • Windows 7,8,10 and Server 2008, 2012, 2016, 2019 Read Only Attribute Won't Go Away
  • bind / named how to make a wildcard record and retain defined A records
  • Cisco Unified Communications Manager 12 Install Errors on Proxmox/KVM
  • Local Vs Universally Administered MAC Address NIC Refuses to come up
  • Cisco Unified Communications Manager 12 CUCM 12 - How To Enable Video Calling
  • Windows 7, 8, 10, Windows Server 2008, 2012, 2016, 2019 How To AC97 Audio Drivers and Other Unsigned Drivers
  • Cisco Unified Communications Manager / CUCM IP Telephony Definitions