[FFmpeg-user] NVENC with transparency

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Mar 23 20:47:35 EET 2020


Am Mo., 23. März 2020 um 19:06 Uhr schrieb Joshua Grauman <jnfo-c at grauman.com>:

> I have a GeForce GT 1030/PCIe/SSE2 that supports NVENC and I have ffmpeg
> compiled with nvenc support.
>
> ./ffmpeg -encoders 2>/dev/null | grep nvenc
>   V..... h264_nvenc           NVIDIA NVENC H.264 encoder (codec h264)
>   V..... nvenc                NVIDIA NVENC H.264 encoder (codec h264)
>   V..... nvenc_h264           NVIDIA NVENC H.264 encoder (codec h264)
>   V..... nvenc_hevc           NVIDIA NVENC hevc encoder (codec hevc)
>   V..... hevc_nvenc           NVIDIA NVENC hevc encoder (codec hevc)
>
> Am I correct that nvenc could never help accelerate the following command
> and that it can only help encode h264/h265?

Yes.

> ffmpeg -f rawvideo -pixel_format bgra -video_size $SIZE -framerate $2 -i - -vcodec utvideo $1.avi
>
> Secondarily, is there any way to get h264/h265 to encode with transparency
> (or any way to get the nvenc encoder to encode a video with transparency
> at all)? Thanks!

It was defined but never implemented.

Carl Eugen


More information about the ffmpeg-user mailing list