-
Notifications
You must be signed in to change notification settings - Fork 347
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
[Bug]: FFmpeg (master) transcoding fails with latest media-driver (master) #1773
Comments
@xhaihao have you seen this issue? |
@eero-t It should be caused by the change in FFmpeg. Could you try with https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=9639 ? (Note for FFmpeg QSV, you should use configuration option --enable-libvpl instead of --enable-libmfx to build FFmpeg, this patchset works for TGL+ devices and libvpl GPU runtime) |
@eero-t You may use https://github.com/intel/cartwheel-ffmpeg directly if you fail to apply https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=9639 |
@xhaihao Thanks! While I have another test set for checking oneVPL based FFmpeg (upstream release) builds on dGPUs, this particular test set is for checking FFmpeg upstream HEAD with (media-driver +) VA-API & old MFX backends, on (older) iGPUs (ones fully supported by libMFX). (I've thought to switch latter test setup to oneVPL only when FFmpeg finally drops
Series seems to need an update as it does not apply to FFmpeg HEAD:
|
MediaSDK runtime doesn't support delayed allocation in decoding, so https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=9639 doesn't work with old MFX backends. (vaapi path in FFmpeg should work).
See https://github.com/intel/cartwheel-ffmpeg?tab=readme-ov-file#apply-patches for information about applying patch. |
Ok. As the MediaSDK backend is not in working shape any more in upstream FFmpeg HEAD, and MediaSDK project itself is not maintained any more, is MediaSDK support going to be dropped from upstream FFmpeg along with that fix series? Btw. I remember that while oneVPL can use MediaSDK as a backend (for older platforms), it did not have support for all of its niche features originally. Has support for those few items been added to oneAPI by now, or are there still valid arguments for objections on dropping direct MediaSDK support from upstream FFmpeg? (I do not myself care about those niche features, so I'm fine with switching to oneVPL backend, I'm just curious about when I need to do that, and whether others could still object to such change.)
Thanks, but this bug is only about whether upstream FFmpeg works. |
The upstream FFmpeg was added as a submodule in https://github.com/intel/cartwheel-ffmpeg and it is updated every day. |
@eero-t could you try with another patch intel-media-ci/ffmpeg#709 ? |
Auto Created VSMGWL-72133 for further analysis. |
Sorry for the late reply.
@xhaihao Thanks, that one applies to latest upstream, and does fix the FFmpeg failures! |
Which component impacted?
Decode
Is it regression? Good in old configuration?
Yes, it's good in old version
What happened?
This is more likely to be FFmpeg regression than media-driver one, but as media-driver had few commits also between good and bad versions, I'm filing the issue here too.
For details, see the FFmpeg bug: https://trac.ffmpeg.org/ticket/10856
(If that issue is indeed FFmpeg one, please close this one.)
What's the usage scenario when you are seeing the problem?
Transcode for media delivery
What impacted?
No response
Debug Information
No response
Do you want to contribute a patch to fix the issue?
No.
The text was updated successfully, but these errors were encountered: