Independent deinterlace_cuda for FFmpeg


I know about the “-deint” function of the h264_cuvid accelerated decoder, and it works!

However, this deinterlacing function is only useful when the source is an encoded stream (H.264 video).
So when the source is from another source (for example plain files with raw frames), it’s impossible to deinterlace using the hardware accelerator, even using the hwupload filter as the deinterlacer filter is software only.

In the other hand, the FFmpeg has one filter for the intel GPU called “deinterlace_qsv”. I request if this function can be incorporated to some “deinterlace_cuda” filter.

Please comment your opinions here.