gstreamer-devel Digest, Vol 94, Issue 6

Shubham Shrivastava shubham333vm at gmail.com
Mon Nov 5 16:22:28 UTC 2018


thanks....prabhakar lad

On Mon, Nov 5, 2018 at 12:00 PM <
gstreamer-devel-request at lists.freedesktop.org> wrote:

> Send gstreamer-devel mailing list submissions to
>         gstreamer-devel at lists.freedesktop.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> or, via email, send a message with subject or body 'help' to
>         gstreamer-devel-request at lists.freedesktop.org
>
> You can reach the person managing the list at
>         gstreamer-devel-owner at lists.freedesktop.org
>
> 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 <wire.chakri at gmail.com>
> To: gstreamer-devel at lists.freedesktop.org
> Subject: Re: RTSP stream to webrtcbin
> Message-ID: <1541239254294-0.post at n4.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hi
>
> Any suggestions/help here on the above issue is very much helpful
>
> Please suggest if there is any solution here
>
> Thanks,
> Chakra
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 4 Nov 2018 13:14:51 +0100
> From: Rocket Show <info at rocketshow.net>
> To: gstreamer-devel at lists.freedesktop.org
> Subject: Synchronization of multiple audio sources
> Message-ID: <2807FFBC-5FF2-4AD6-B0B7-98E671F84A66 at rocketshow.net>
> 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,
> John
>
> ------------------------------
>
> Message: 3
> Date: Mon, 5 Nov 2018 01:19:39 -0600 (CST)
> From: hgedek <hgedek at gmail.com>
> To: gstreamer-devel at lists.freedesktop.org
> Subject: appsink to gl texture
> Message-ID: <1541402379511-0.post at n4.nabble.com>
> 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
> window.
>
>
> 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: http://gstreamer-devel.966125.n4.nabble.com/
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 5 Nov 2018 09:23:55 +0000
> From: "Lad, Prabhakar" <prabhakar.csengg at gmail.com>
> To: Discussion of the development of and with GStreamer
>         <gstreamer-devel at lists.freedesktop.org>
> Subject: Re: waits until souce is available
> Message-ID:
>         <
> CA+V-a8v0Sbv6pobNC6cOAQQ_4Hyn28g2TrnEEXNSSSNNM2iebg at mail.gmail.com>
> Content-Type: text/plain; charset="UTF-8"
>
> Hi,
>
> On Sat, Nov 3, 2018 at 7:53 AM Shubham Shrivastava
> <shubham333vm at gmail.com> 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@192.168.1.250:80",
> NULL);
> >
> Why not just check if the address is pingable ([1] sample C code) from
> your client machine and then create the pipeline ?
>
> [1] http://www.humbug.in/2012/sample-c-program-to-ping-hosts-using-fping/
>
> Cheers,
> --Prabhakar Lad
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> ------------------------------
>
> End of gstreamer-devel Digest, Vol 94, Issue 6
> **********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20181105/ba4b9b53/attachment-0001.html>


More information about the gstreamer-devel mailing list