Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFmpeg Hls GPU support #516

Open
alishademan opened this issue Jan 20, 2024 · 1 comment
Open

FFmpeg Hls GPU support #516

alishademan opened this issue Jan 20, 2024 · 1 comment

Comments

@alishademan
Copy link

Hi guys,

how can I
-Hwaccel Cuda
At
HLS
Thank you for helping me?

@iz-ben
Copy link

iz-ben commented Apr 9, 2024

@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',
 ]);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants