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

vaapi not working. #65

Open
cmspam opened this issue Jan 3, 2024 · 3 comments
Open

vaapi not working. #65

cmspam opened this issue Jan 3, 2024 · 3 comments

Comments

@cmspam
Copy link

cmspam commented Jan 3, 2024

I've tried different versions of ffmpeg, different versions of debian, all sorts of things, but it always fails the vaapi/renderD128 test.

Everything is fine with vainfo, everything is fine when manually using vaapi to transcode with ffmpeg (newer versions though)

Is there anything I can check?

@jaruba
Copy link
Member

jaruba commented Jan 3, 2024

@cmspam can you show me the ffmpeg command you use to do transcoding that is hardware accelerated by vaapi? and can you confirm that the command you use works with the ffmpeg build that is required for stremio's server too?

there is a reason why we use a very specific version of ffmpeg, there was a change made after that version that breaks seeking in our transcoding logic

@cmspam
Copy link
Author

cmspam commented Jan 3, 2024

@jaruba
Thanks for the response.
I used this command
ffmpeg -vaapi_device /dev/dri/renderD128 -i input.mp4 -vf 'format=nv12,hwupload' -c:v h264_vaapi output.mp4

It does not work with the version included. It seems like the version included isn't built with vaapi support? Or maybe the command is different? I'm not sure.

It would be great to get working though, as the transcoding kills my cpu usage.

@cmspam
Copy link
Author

cmspam commented Jan 3, 2024

@jaruba
Do you happen to know, what command I could use to try vaapi in the older version which is used, to troubleshoot, actually?

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