[FFmpeg-user] NVENC with transparency

Joshua Grauman jnfo-c at grauman.com
Mon Mar 23 20:05:54 EET 2020


Hi all,

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?

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!

Josh


More information about the ffmpeg-user mailing list