<div dir="ltr">thanks....prabhakar lad<br></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 5, 2018 at 12:00 PM <<a href="mailto:gstreamer-devel-request@lists.freedesktop.org">gstreamer-devel-request@lists.freedesktop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send gstreamer-devel mailing list submissions to<br>
        <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:gstreamer-devel-request@lists.freedesktop.org" target="_blank">gstreamer-devel-request@lists.freedesktop.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:gstreamer-devel-owner@lists.freedesktop.org" target="_blank">gstreamer-devel-owner@lists.freedesktop.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of gstreamer-devel digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: RTSP stream to webrtcbin (chakra)<br>
   2. Synchronization of multiple audio sources (Rocket Show)<br>
   3. appsink to gl texture (hgedek)<br>
   4. Re: waits until souce is available (Lad, Prabhakar)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 3 Nov 2018 05:00:54 -0500 (CDT)<br>
From: chakra <<a href="mailto:wire.chakri@gmail.com" target="_blank">wire.chakri@gmail.com</a>><br>
To: <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
Subject: Re: RTSP stream to webrtcbin<br>
Message-ID: <<a href="mailto:1541239254294-0.post@n4.nabble.com" target="_blank">1541239254294-0.post@n4.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hi <br>
<br>
Any suggestions/help here on the above issue is very much helpful<br>
<br>
Please suggest if there is any solution here<br>
<br>
Thanks,<br>
Chakra<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sun, 4 Nov 2018 13:14:51 +0100<br>
From: Rocket Show <<a href="mailto:info@rocketshow.net" target="_blank">info@rocketshow.net</a>><br>
To: <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
Subject: Synchronization of multiple audio sources<br>
Message-ID: <<a href="mailto:2807FFBC-5FF2-4AD6-B0B7-98E671F84A66@rocketshow.net" target="_blank">2807FFBC-5FF2-4AD6-B0B7-98E671F84A66@rocketshow.net</a>><br>
Content-Type: text/plain;       charset=utf-8<br>
<br>
Hi there<br>
<br>
I am using Gstreamer on a Raspberry Pi to play multiple audio sources in sync. The pipeline looks like this:<br>
- uridecodebin -> audioconvert -> audioresample -> alsasink<br>
- uridecodebin -> audioconvert -> audioresample -> alsasink<br>
…<br>
<br>
The audio sources are simple WAV files. The next step would be to also add video files.<br>
<br>
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.<br>
<br>
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. <br>
<br>
Am I missing something or is the pipeline completely wrong?<br>
<br>
Thanks for your replies and best,<br>
John<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Mon, 5 Nov 2018 01:19:39 -0600 (CST)<br>
From: hgedek <<a href="mailto:hgedek@gmail.com" target="_blank">hgedek@gmail.com</a>><br>
To: <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
Subject: appsink to gl texture<br>
Message-ID: <<a href="mailto:1541402379511-0.post@n4.nabble.com" target="_blank">1541402379511-0.post@n4.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
I have a rtspsrc pipeline and I wish to show video frames on dear-imgui based<br>
window while playing audio. I wish to use appsink to extract frames but I<br>
don't know how to ! Sample code tells it's getting frames but how will I<br>
convert them to gl textures ? Thanks for any help.<br>
<br>
!!! I was using overlay method and using SDL2 I connected SDL2 window with<br>
xvimagesink but we need subwindow in window and sdl2,glfw etc. doesn't<br>
support this. Because of this, I returned back to extract frames to show in<br>
window.<br>
<br>
<br>
static GstFlowReturn on_new_sample_from_sink (GstElement * sink, ProgramData<br>
* data)<br>
{<br>
<br>
    GstSample *sample;<br>
    /* Retrieve the buffer */<br>
    g_signal_emit_by_name (sink, "pull-sample", &sample);<br>
<br>
    if (sample) {<br>
        /* The only thing we do in this example is print a * to indicate a<br>
received buffer */<br>
        g_print ("*");<br>
        gst_sample_unref (sample);<br>
<br>
        return GST_FLOW_OK;<br>
    }<br>
<br>
    return GST_FLOW_ERROR;<br>
}<br>
<br>
<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Mon, 5 Nov 2018 09:23:55 +0000<br>
From: "Lad, Prabhakar" <<a href="mailto:prabhakar.csengg@gmail.com" target="_blank">prabhakar.csengg@gmail.com</a>><br>
To: Discussion of the development of and with GStreamer<br>
        <<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>><br>
Subject: Re: waits until souce is available<br>
Message-ID:<br>
        <<a href="mailto:CA%2BV-a8v0Sbv6pobNC6cOAQQ_4Hyn28g2TrnEEXNSSSNNM2iebg@mail.gmail.com" target="_blank">CA+V-a8v0Sbv6pobNC6cOAQQ_4Hyn28g2TrnEEXNSSSNNM2iebg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="UTF-8"<br>
<br>
Hi,<br>
<br>
On Sat, Nov 3, 2018 at 7:53 AM Shubham Shrivastava<br>
<<a href="mailto:shubham333vm@gmail.com" target="_blank">shubham333vm@gmail.com</a>> wrote:<br>
><br>
> How to recursively check if source is available or not means to say this ip address as mentioned below<br>
><br>
>  g_object_set (data.source, "uri","rtsp://<a href="http://admin:admin@192.168.1.250:80" rel="noreferrer" target="_blank">admin:admin@192.168.1.250:80</a>", NULL);<br>
><br>
Why not just check if the address is pingable ([1] sample C code) from<br>
your client machine and then create the pipeline ?<br>
<br>
[1] <a href="http://www.humbug.in/2012/sample-c-program-to-ping-hosts-using-fping/" rel="noreferrer" target="_blank">http://www.humbug.in/2012/sample-c-program-to-ping-hosts-using-fping/</a><br>
<br>
Cheers,<br>
--Prabhakar Lad<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
<br>
------------------------------<br>
<br>
End of gstreamer-devel Digest, Vol 94, Issue 6<br>
**********************************************<br>
</blockquote></div>