Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 5, 2026

V4L2 MPEG2 decoder support was missing from fluster. Real-world drivers like venus require proper V4L2 API implementation rather than naive approaches.

Changes

  • Added GStreamerV4l2CodecsMPEG2Gst10Decoder - Stateless V4L2 decoder using v4l2slmpeg2dec
  • Added GStreamerV4l2MPEG2Gst10VideoDecoder - Stateful V4L2 decoder using v4l2mpeg2dec

Both variants are necessary because V4L2 drivers implement either stateless or stateful APIs depending on hardware capabilities. Follows the same pattern as existing V4L2 decoders (H.264, H.265, VP8, VP9, AV1).

The decoders appear in fluster as:

  • GStreamer-MPEG2_VIDEO-V4L2SL-Gst1.0 (stateless)
  • GStreamer-MPEG2_VIDEO-V4L2-Gst1.0 (stateful)
Original prompt

This section details on the original issue you should resolve

<issue_title>Pleast add a way to test MPEG2 V4L2 decoder</issue_title>
<issue_description>Please implement GStreamerV4l2MPEG2Gst10VideoDecoder. The naive implementation does not work with the real world driver (venus).</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: rgonzalezfluendo <56379722+rgonzalezfluendo@users.noreply.github.com>
Copilot AI changed the title [WIP] Add capability to test MPEG2 V4L2 decoder Add V4L2 MPEG2 decoder support (stateless and stateful) Feb 5, 2026
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

Successfully merging this pull request may close these issues.

Pleast add a way to test MPEG2 V4L2 decoder

2 participants