using appsink and appsrc

Stefan Kost ensonic at hora-obscura.de
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.

Stefan

> 
> 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: http://gstreamer-devel.966125.n4.nabble.com/using-appsink-and-appsrc-tp4452633p4452633.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list