add missing output formats to GStreamer mapping - #282
Conversation
mdimopoulos
commented
Aug 20, 2025
- missing formats are GRAY12LE, YUV444P14LE, YUV444P16LE, GBRP, GBRP10LE, GBRP12LE, GBRP14LE
|
@ndufresne here i have added the missing output formats so that GStreamer decoders can map them correctly. I encountered 2 issues though where i could use your help. I did not find matches for GRAY12LE, YUV444P14LE and GBRP14LE (i searched in https://gstreamer.freedesktop.org/documentation/video/video-format.html?gi-language=c). The last 2 are not important for AV1 (i think they are related to H.265 or H.266), however GRAY12LE does affect quite a lot of test vectors in AV1 argon test suites. Do you happen to know which is the equivalent format in GStreamer (if there is one)? Related to the above there is 1 example where it's seen that 2 elements do not know how to handle this format, which is expected since it does not exist i guess (at least not as
|
|
By the way, when running |
|
Some formats are missing in the 12bit space, but shouldn't prevent mapping the others for now, we should fail elegantly though. |
|
Actually none of the formats i am adding in this PR are supported by |
f60f599 to
1631417
Compare
ndufresne
left a comment
There was a problem hiding this comment.
Even if missing in gst, the mapping/naming all looks right, so it could be added, I'll take care of adding the missing bits afterward.
| mapping = { | ||
| OutputFormat.GRAY: "GRAY8", | ||
| OutputFormat.GRAY10LE: "GRAY10_LE16", | ||
| OutputFormat.GRAY12LE: "GRAY12_LE", |
| OutputFormat.YUV444P: "Y444", | ||
| OutputFormat.YUV444P10LE: "Y444_10LE", | ||
| OutputFormat.YUV444P12LE: "Y444_12LE", | ||
| OutputFormat.YUV444P14LE: "Y444_14LE", |
| OutputFormat.YUV444P10LE: "Y444_10LE", | ||
| OutputFormat.YUV444P12LE: "Y444_12LE", | ||
| OutputFormat.YUV444P14LE: "Y444_14LE", | ||
| OutputFormat.YUV444P16LE: "Y444_16LE", |
There was a problem hiding this comment.
This one exists, but not in videocodectestsink yet.
| OutputFormat.GBRP: "GBR", | ||
| OutputFormat.GBRP10LE: "GBR_10LE", | ||
| OutputFormat.GBRP12LE: "GBR_12LE", | ||
| OutputFormat.GBRP14LE: "GBR_14LE", |
There was a problem hiding this comment.
14bit is missing, others missing videocodectestssink.
Ok. |
1e5b9f2 to
f6091f1
Compare
- GRAY12LE, YUV444P14LE, YUV444P16LE, GBRP, GBRP10LE, GBRP12LE, GBRP14LE