Skip to content

No video output with gtk4paintablesink and clappersink #80

@jeffshee

Description

@jeffshee

Hi! First of all, thanks for the work on this Gstreamer plugin.

Background

I want to use gstcefsrc to render webpages in a Gtk4 app. To integrate GStreamer into Gtk4, currently, there are 2 possible solutions:

  1. By using gtk4paintablesink developed by GStreamer developers.
  2. By using clappersink that is distributed with Clapper.

Issue

gstcefsrc works fine with xvimagesink. However, this isn't the case for gtk4paintablesink and clappersink.
When using gstcefsrc with gtk4paintablesink, the pipeline will go to the PLAYING state. (Tested with gst-launch-1.0. Nothing will be shown but audio will be played.) However, when integrated into Gtk4, it shows nothing.
When using gstcefsrc with clappersink, the pipeline will stuck at the PAUSED state forever. When integrated into Gtk4, it shows nothing as well.

Reproduce

To demonstrate the issue, I wrote a minimal Gtk4 video player app in Gjs. You can check it here:
https://github.com/jeffshee/web-renderer-test

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions