Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gst-plugins-base
gst-plugins-base
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 630
    • Issues 630
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 104
    • Merge Requests 104
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GStreamer
  • gst-plugins-basegst-plugins-base
  • Issues
  • #610

Closed
Open
Opened May 20, 2019 by Thibault Saunier@thiblahute🌵Maintainer

compositor: Source operation with AYUV wrongly computes output alpha channel

Doing:

gst-launch-1.0 videotestsrc pattern=blue ! compositor name=c sink_0::operator=source ! video/x-raw,format=AYUV ! videoconvert ! glimagesink

leads to pixels with alpha_channel=0xa0 not 0xff as expected, you can simply see it doing

gst-launch-1.0 videotestsrc pattern=blue ! compositor name=c sink_0::operator=source ! video/x-raw,format=AYUV ! videoconvert ! compositor ! glimagesink

Where the checkboard show up where it shouldn't

The orc function is the same as the ARGB variants, and interestingly this works just fine:

gst-launch-1.0 videotestsrc pattern=blue ! compositor name=c sink_0::alpha=1.0 sink_0::operator=source ! video/x-raw,format=ARGB ! videoconvert ! glimagesink

See https://gitlab.gnome.org/GNOME/pitivi/issues/2321

Edited May 20, 2019 by Thibault Saunier
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: gstreamer/gst-plugins-base#610