using appsink and appsrc

Stefan Kost ensonic at
Thu Mar 15 04:25:11 PDT 2012

Am 07.03.2012 09:40, schrieb gerry6:
> Can anyone help me with this problem please??
> I am trying to get appsrc and appsink to work together. The idea is to get
> appsink to export to some kind of data to shared memory (for instance the
> YUV frames generated by vdeotestsrc). And then in a client application to be
> able to recover the frames and use them for something else. In the present
> case my server is just a frame generator. 

Also use shmsrc/sink if you need out-of-process access.


> For the time being, the client would simply read these frames and display
> them, but in the future, I’d like to be able to access to the YUV pixel data
> and use them for my own app. Pipelines are as follows:
> Appsink:
> gst-launch -v videotestsrc ! video/x-raw-yuv, format =\(fourcc\)I420,
> framerate=\(fraction\)25/1, width=640, height=480 ! ffmpegcolorspace ! queue
> ! appsink name=video_test 
> Appsrc:
> gst-launch -v appsrc name=video_test ! video/x-raw-yuv,format
> =\(fourcc\)I420, framerate=\(fraction\)25/1, width=640, height=480 !
> ffmpegcolorspace ! queue ! xvimagesink
> --
> View this message in context:
> Sent from the GStreamer-devel mailing list archive at
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at

More information about the gstreamer-devel mailing list