add av1parse element for low rank GStreamer av1 decoders - #279
Conversation
mdimopoulos
commented
Aug 19, 2025
- affects av1dec, dav1ddec and vaapiav1dec
- workaround for typefind GStreamer issue when decoder has low rank
|
@ndufresne this should solve the issues happening for av1 decoders with low rank. |
|
I'd say go for it, its a safe workaround to the negotiation issue. What we could perhaps do is link to the upstream issue, so this tiny hack have a context: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4578 |
|
fyi @ndufresne I have now removed |
|
That will break the AOM and Chromium tests that requires matroska demuxing. |
I executed a quick run with the test suites i think you are referring to and everything seems to be working perfectly. Do you refer to other test suites or decoders 🤔? @ndufresne |
|
@ndufresne based on the last test results i believe we are good. what do you think? |
|
Didn't have time to test, but I'm very suspicious of your change, perhaps you didn't test exactly what you wrote here. There is IVF and MKV files, and to read those, you need to plug ivfparse/matroskademux, if you drop parsebin and only place av1parse, it cannot work. |
I see, i will take another look just in case. |
It's good you were suspicious, myself was a bit surprised to see 100% success but didn't think much of it. |
|
I had to go back to the initial solution
|
|
Great, note that typefind is heuristic base, I can increase the AV1 parser confidence so that it overrule the broken cases, but to do that I'll need to get a list of miss-identification. |
Ok. What would be of help to you, debug logs, the name of the parser element that is plugged in by parsebin, something else? |
|
Some help sorting out the errors that are due to miss-identication is always welcome. There is no magic in fixing it, I need to pick one, and figure-out if improving the typefinding that miss-identified it to now reject it, or changing around some typefinder "confidence" level. |
rsanchez87
left a comment
There was a problem hiding this comment.
LGTM, @mdimopoulos, a rebase is necessary before merging to master
- affects av1dec, dav1ddec and vaapiav1dec - workaround for typefind GStreamer issue when decoder has low rank
782639e to
186ec7c
Compare