appsink example

Robert Krakora rob.krakora at messagenetsystems.com
Tue Jul 2 12:37:07 PDT 2013


http://www.binrand.com/post/4339735-buffer-appsink-pipeline-gst-parse-launch-rtspsrc-location-rtsp-flu.html


On Tue, Jul 2, 2013 at 10:29 AM, jyoti kulkarni <jyotimk029 at gmail.com>wrote:

> hello Tim,
>
> In the example of grabing data with appsink, they have captured a snapshot
> of a video stream, and they have used uridecodebin to take the file input.
>
> But in my case iam reading a file, generating rtp packets and sending
> these packets to client, and my client should depacketize the incoming
> packets and store in appsink.
> As iam using a live source i want to store all the rtp packets in appsink
> and my pipeline will be always in playing state, so is it possible to store
> real time video packets in appsink? and give it to a decoder and display
> it..
>
> the following pipeline works fine for me:
> at client side:
> gst-launch udpsrc uri=udp://10.99.26.94:5000 <video caps> ! rtph264depay
> ! ffdec_h264 ! xvimagesink
>
>
> at server side:
> gst-launch filesrc location=test.h264 ! rtph264pay ! udpsink
> host=10.99.26.94 port=5000
>
> But i want to use appsink instead of xvimagesink, (i.e store data into
> buffer) then give it to decoder and display. Whether this is possible? i.e
> can i link depayloader to appsink
>
> Regards
> Jyoti
>
>
> On Tue, Jul 2, 2013 at 7:08 PM, Tim-Philipp Müller <t.i.m at zen.co.uk>wrote:
>
>> On Tue, 2013-07-02 at 18:57 +0530, jyoti kulkarni wrote:
>>
>> Hi,
>>
>> > Can i link rtpdepay loader to appsink?
>> >
>> >
>> > whether the following pipeline is correct?
>> >
>> >
>> > At client side:
>> >
>> > gst-launch udpsrc uri=udp://10.99.26.94:5000 <video caps> !
>> > rtph264depay ! appsink
>> >
>> >
>> > At Server side:
>> >
>> >
>> > gst-launch filesrc location=test.h264 ! rtph264pay ! udpsink
>> > host=10.99.26.94 port=5000
>> >
>> >
>> > If the above pipelines are correct, then how can i retrieve data from
>> > appsink and decode and display
>>
>> Have you seen the example in
>>
>>
>> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-data-spoof.html
>>
>> ?
>>
>> Cheers
>> - Tim
>>
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 
Rob Krakora
MessageNet Systems
101 East Carmel Dr. Suite 105
Carmel, IN 46032
(317)566-1677 Ext 212
(317)663-0808 Fax
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130702/4c7bd731/attachment.html>


More information about the gstreamer-devel mailing list