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

  • How To Add Windows 7 8 10 11 to GRUB Boot List Dual Booting
  • How to configure OpenDKIM on Linux with Postfix and setup bind zonefile
  • Debian Ubuntu 10/11/12 Linux how to get tftpd-hpa server setup tutorial
  • efibootmgr: option requires an argument -- 'd' efibootmgr version 15 grub-install.real: error: efibootmgr failed to register the boot entry: Operation not permitted.
  • Apache Error Won't start SSL Cert Issue Solution Unable to configure verify locations for client authentication SSL Library Error: 151441510 error:0906D066:PEM routines:PEM_read_bio:bad end line SSL Library Error: 185090057 error:0B084009:x509 certif
  • Linux Debian Mint Ubuntu Bridge br0 gets random IP
  • redis requirements
  • How to kill a docker swarm
  • docker swarm silly issues
  • isc-dhcp-server dhcpd how to get longer lease
  • nvidia cannot resume from sleep Comm: nvidia-sleep.sh Tainted: Linux Ubuntu Mint Debian
  • zfs and LUKS how to recover in Linux
  • [error] (28)No space left on device: Cannot create SSLMutex Apache Solution Linux CentOS Ubuntu Debian Mint
  • Save money on bandwidth by disabling reflective rpc queries in Linux CentOS RHEL Ubuntu Debian
  • How to access a disk with bad superblock Linux Ubuntu Debian Redhat CentOS ext3 ext4
  • ImageMagick error convert solution - convert-im6.q16: cache resources exhausted
  • PTY allocation request failed on channel 0 solution
  • docker error not supported as upperdir failed to start daemon: error initializing graphdriver: driver not supported
  • Migrated Linux Ubuntu Mint not starting services due to broken /var/run and dbus - Failed to connect to bus: No such file or directory solution
  • qemu-system-x86_64: Initialization of device ide-hd failed: Failed to get