using appsink and appsrc

gerry6 gerry6 at
Wed Mar 7 00:40:51 PST 2012

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. 

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:

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 

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

More information about the gstreamer-devel mailing list