Pushing images into a gstreamer pipeline

Thiago Sousa Santos thiago.sousa.santos at collabora.co.uk
Tue Mar 15 09:14:25 PDT 2011


On Tue, 2011-03-15 at 17:05 +0100, Rodrigo Benenson wrote:
> Hello gst developers !
> 
> After playing around with some toy applications, exploring the
> documentation and googling around (including this mailing list
> archives) I am still puzzled for what I would think is a rather common
> use case.
> 
> I have an existing code that generates images (in memory) and I would
> like to push these images into a gstreamer pipeline (to create a flv
> video at the end).
> 
> I could not find an "obvious way to do it". My best guess will be to
> dig in the source code of GstMultiFileSrc and its parent GstPushSrc,
> to figure it out.
> 
> Could any of you point me out to the "obvious way" of doing this ?
> Is it there any related piece of documentation/tutorial/example on this ?

You want to use 'appsrc':
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-appsrc.html

There should be examples in the source of gst-plugins-base, under
tests/examples/app/

> 
> Once I have the input right, the rest is a piece of cake, thanks to
> Gstreamer awesomeness !
> (something like "my magic input ->  ffmpegcolorspace ! ffenc_flv !
> flvmux ! filesink location=desktop.flv" )
> 
> Thanks for your answers.
> regards,
> rodrigob.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

--
Thiago Santos




More information about the gstreamer-devel mailing list