laravel-ffmpeg
laravel-ffmpeg copied to clipboard
FFmpeg Hls GPU support
Hi guys,
how can I -Hwaccel Cuda At HLS Thank you for helping me?
@alishademan After a lot of experimentation this worked for me. I am using an nvidia gpu with wsl2 & cuda devkit installed
$highBitrateFormat = (new X264)->setKiloBitrate(3000);
$highBitrateFormat->setInitialParameters([
'-hwaccel', 'cuda',
'-hwaccel_output_format', 'cuda',
]);