Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-plugins-bad gst-plugins-bad
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 973
    • Issues 973
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 103
    • Merge requests 103
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamerGStreamer
  • gst-plugins-badgst-plugins-bad
  • Issues
  • #1565
Closed
Open
Issue created Mar 30, 2021 by Nicolas Dufresne@ndufresneMaintainer

mpegvideoparse: Expose colorimetry into the caps

This is a reminder for myself, but if someone wants to pick it up it is really simple. The parser already parsers the colorimetry information from the stream, I think it would be nice to translate it and expose it.

  • Add enums of the mpeg2 primaries, transfer and matrix values in codecparsers
  • Map and expose colorimetry in mpegvideoparse element

An optional task would be to find what defaults are suppose to be used for each video_format (PAL, NTSC, SECAM, MAC) and set some defaults base on that, unless of course GstVideoInfo already get it right without that bitstream information. This is all of course if the demuxer didn't expose.

Special case to considered, demuxers tends to leave some value to 0, unknown, it would be nice to fill the gap in the parser if known.

Edited Mar 30, 2021 by Tim-Philipp Müller
Assignee
Assign to
Time tracking