cedarrapidsboy / pms-postprocessing

Post processing scripts to augment the Plex Media Server DVR functionality.
MIT License
18 stars 4 forks source link

Hardware enabled Deinterlace #8

Closed Xylaant closed 4 years ago

Xylaant commented 4 years ago

Looking at the Plex Transcoder, there appears to be support for the yadif_cuda filter, which should let this decode cuda as well. Any thoughts on how to get that in, or what issues it might cause?

cedarrapidsboy commented 4 years ago

I don't recall if I ever actually tried replacing yadif with yadif_cuda. I'll give it a go next time I have a chance and report back. Would make a lot of sense if nvdec/enc is used to also use it for deinterlacing.

cedarrapidsboy commented 4 years ago

@Xylaant Give the pull request a try on your end. For me, it successfully uses yadif_cuda for deinterlacing (~500fps vs. ~300fps). Also, if I force an error, it falls back to using normal old CPU encoding and deinterlacing.