Re: gstreamer-devel Digest, Vol 94, Issue 6

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Re: gstreamer-devel Digest, Vol 94, Issue 6

Shubham Shrivastava
thanks....prabhakar lad

On Mon, Nov 5, 2018 at 12:00 PM <[hidden email]> wrote:
Send gstreamer-devel mailing list submissions to
        [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to
        [hidden email]

You can reach the person managing the list at
        [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gstreamer-devel digest..."

Today's Topics:

   1. Re: RTSP stream to webrtcbin (chakra)
   2. Synchronization of multiple audio sources (Rocket Show)
   3. appsink to gl texture (hgedek)
   4. Re: waits until souce is available (Lad, Prabhakar)


Message: 1
Date: Sat, 3 Nov 2018 05:00:54 -0500 (CDT)
From: chakra <[hidden email]>
To: [hidden email]
Subject: Re: RTSP stream to webrtcbin
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=us-ascii


Any suggestions/help here on the above issue is very much helpful

Please suggest if there is any solution here


Sent from:


Message: 2
Date: Sun, 4 Nov 2018 13:14:51 +0100
From: Rocket Show <[hidden email]>
To: [hidden email]
Subject: Synchronization of multiple audio sources
Message-ID: <[hidden email]>
Content-Type: text/plain;       charset=utf-8

Hi there

I am using Gstreamer on a Raspberry Pi to play multiple audio sources in sync. The pipeline looks like this:
- uridecodebin -> audioconvert -> audioresample -> alsasink
- uridecodebin -> audioconvert -> audioresample -> alsasink

The audio sources are simple WAV files. The next step would be to also add video files.

All elements are in the same pipeline. When I start the pipeline, all sources begin to play. But unfortunately, they are not in sync. Sometimes I am lucky and it works, but most of the time, they are a couple of milliseconds apart. Sometimes they „heal“ and get in sync after some seconds of playing and sometimes they don’t. Pausing/playing and seeking makes the desync worse.

I thought, Gstreamer would handle all the syncing, if the elements are in the same pipeline. But obviously, this is not the case. I tried playing with the async and sync properties on the alsasink elements, but it did not change anything. Using the same alsasink device or different ones also has no effect.

Am I missing something or is the pipeline completely wrong?

Thanks for your replies and best,


Message: 3
Date: Mon, 5 Nov 2018 01:19:39 -0600 (CST)
From: hgedek <[hidden email]>
To: [hidden email]
Subject: appsink to gl texture
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=us-ascii

I have a rtspsrc pipeline and I wish to show video frames on dear-imgui based
window while playing audio. I wish to use appsink to extract frames but I
don't know how to ! Sample code tells it's getting frames but how will I
convert them to gl textures ? Thanks for any help.

!!! I was using overlay method and using SDL2 I connected SDL2 window with
xvimagesink but we need subwindow in window and sdl2,glfw etc. doesn't
support this. Because of this, I returned back to extract frames to show in

static GstFlowReturn on_new_sample_from_sink (GstElement * sink, ProgramData
* data)

    GstSample *sample;
    /* Retrieve the buffer */
    g_signal_emit_by_name (sink, "pull-sample", &sample);

    if (sample) {
        /* The only thing we do in this example is print a * to indicate a
received buffer */
        g_print ("*");
        gst_sample_unref (sample);

        return GST_FLOW_OK;

    return GST_FLOW_ERROR;

Sent from:


Message: 4
Date: Mon, 5 Nov 2018 09:23:55 +0000
From: "Lad, Prabhakar" <[hidden email]>
To: Discussion of the development of and with GStreamer
        <[hidden email]>
Subject: Re: waits until souce is available
        <[hidden email]>
Content-Type: text/plain; charset="UTF-8"


On Sat, Nov 3, 2018 at 7:53 AM Shubham Shrivastava
<[hidden email]> wrote:
> How to recursively check if source is available or not means to say this ip address as mentioned below
>  g_object_set (data.source, "uri","rtsp://admin:admin@", NULL);
Why not just check if the address is pingable ([1] sample C code) from
your client machine and then create the pipeline ?


--Prabhakar Lad


Subject: Digest Footer

gstreamer-devel mailing list
[hidden email]


End of gstreamer-devel Digest, Vol 94, Issue 6

gstreamer-devel mailing list
[hidden email]