[FFmpeg-user] FFMPEG not using GPU/CUDA

Moritz Barsnick barsnick at gmx.net
Thu Jan 24 00:08:15 EET 2019

On Wed, Jan 23, 2019 at 22:13:55 +0330, Mahmood Naderan wrote:
> So, I think the command should be similar to this
> ./ffmpeg -i ../fast_video.mp4 h264_nvenc -preset medium -movflags
> +faststart -c:a aac ../fast_video_conv.mp4

Not quite. Do check the documentation for a guide and the wiki for
examples. (https://trac.ffmpeg.org/wiki/HWAccelIntro)

It's "... -c:v h264_nvenc ..."

> [NULL @ 0x558bd7fcadc0] Unable to find a suitable output format for
> 'h264_nvenc'
> h264_nvenc: Invalid argument

ffmpeg tried to interpret the stand-alone string "h264_nvenc" as an
output (file name).


More information about the ffmpeg-user mailing list