ott-packager icon indicating copy to clipboard operation
ott-packager copied to clipboard

Feature request: Add GPU-based encoding (targeting NVIDIA's NVENC) and GPU-based scaling.

Open Brainiarc7 opened this issue 3 years ago • 3 comments

Hello there,

Looking at how transcoding is being called up:

(a). Adding a GPU-based encoder, specifically NVENC, configurable with presets and the global GPU selection option, and;

(b). Most importantly, a GPU-based filter, such as scale_cuda, scale_npp, and yadif_cuda (targeting NVIDIA-based systems) would greatly eliminate the single largest performance bottleneck. CPU-bound scaling and deinterlacing is expensive, consuming precious CPU cycles that eventually lower transcode density per target host.

A good primer on what's possible with this addition can be found here.

Brainiarc7 avatar Sep 18 '20 19:09 Brainiarc7

Thank you for your interest and forwarding information about NVENC. I will certainly review it and see if it is something I can get integrated.

cannonbeach avatar Sep 25 '20 23:09 cannonbeach

Also see https://stackoverflow.com/questions/55687189/how-to-use-gpu-to-accelerate-the-processing-speed-of-ffmpeg-filter/55747785#55747785

On Sat, 26 Sep 2020, 02:54 John, [email protected] wrote:

Thank you for your interest and forwarding information about NVENC. I will certainly review it and see if it is something I can get integrated.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cannonbeach/ott-packager/issues/30#issuecomment-699225866, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR7NB6P6GYBIP74EGJEOXLSHUUSPANCNFSM4RSMUUPA .

Brainiarc7 avatar Sep 26 '20 09:09 Brainiarc7

GPU based encoding has been added as of 3/15/22.

cannonbeach avatar Mar 16 '22 00:03 cannonbeach