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

  • Linux named / bind how to dump, view and clear the cache!
  • Centos 6 / 7 / 8 How To Change Default nameservers in /etc/resolv.conf when using DHCP / dhclient
  • Adobe Acrobat Reader for Linux to use and view XFA Fillable Forms
  • Debian Linux Mint Ubuntu iptables save and restore settings automatically onboot and reboot
  • Why SMART is not smart at all and doesn't properly predict disk errors that cause a kernel panic or crash
  • scp: ambiguous target error and solution
  • VirtualBox How To Add iSCSI Storage using VBoxManage
  • iSCSI on Centos 7 Configuration and Setup Guide for Initiator and Target
  • Python and BeautifulSoup4's BS4's Decompose Method To Remove Unwanted Inner Tags
  • httpd AH00534: httpd: Configuration error: No MPM loaded. solution
  • bash script to remove modules from httpd.conf that are not actually installed
  • bash scripting how to create a function
  • Centos 7 PHP MySQL Not Working Solution
  • Bash How To Cut or Split Natively And Get The LAST Field
  • Bash Script How To Manipulate Text/Strings By Searchig and Replacing Natively
  • How Does Cisco CUCM (Cisco Unified Communication Manager) Work?
  • What DNS Options Does Active Directory Offer in Windows Server 2008,2012,2016 ?
  • syntax error, unexpected T_SL in PHP Solution
  • grep regular expression match number range between specific numbers
  • bash how to print out lines of text within a range from the first occurrence