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

Radeonsi driver does not support packed headers #183

Open
j0sh opened this issue Apr 10, 2020 · 0 comments
Open

Radeonsi driver does not support packed headers #183

j0sh opened this issue Apr 10, 2020 · 0 comments

Comments

@j0sh
Copy link
Collaborator

j0sh commented Apr 10, 2020

This leads to us being unable to mux into containers that expect a global header such as Matroska. Our transcoding example outputs Matroska, so we cannot use AMD cards with the radeonsi driver with this particular example, eg:

go run cmd/transcoding/transcoding.go transcoder/test.ts P720p30fps16x9,P576p30fps16x9,P360p30fps16x9,P240p30fps16x9 va /dev/dri/renderD129

Note that we encounter the exact same problem with ffmpeg, since it's a shortcoming of the driver:

ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -hwaccel_device /dev/dri/renderD129 -i ~/josh/lpms/transcoder/test.ts -c:v h264_vaapi out/output.mkv

Fixing this involves making improvements to the Mesa radeon driver. Would be great to have this in one day.

QuickSync using the Intel media-driver (iHD) works fine (/dev/dri/renderD128 on the machine in the NY office).

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

1 participant