[gst-devel] <no subject>

Wim Taymans wim.taymans at gmail.com
Tue Jan 6 13:42:53 CET 2009


The best way is to create a pipeline with uridecodebin as the generic
decoder element and then link  appsink as the sink element and pull
buffers from it one by one. You can configure appsink to only accept
grey video and use ffmpegcolorspace to convert to that format

Wim

On Tue, Jan 6, 2009 at 1:20 PM, Darren Staples <dstaples at friendmts.co.uk> wrote:
> I've only recently come across Gstreamer, so I'm hoping you guys might be
> able to give me some pointers as to the best way to achieve the following.
>
> I need an application which will take video input (in any of the common i.e.
> AVI, FLV, MPG, MOV etc. formats) from a local file, and decode the frames
> one by one. I want the frames to be 8-bit luminance only i.e. greyscale, and
> I need to be able to access the raw pixel data for each frame.
>
> Processing of the luminance frame data may be slower than the 'natural'
> frame rate of the video, so 'playback' will almost certainly be slower than
> real-time. How do I control the pipeline so I process a single frame before
> decoding the next ?
>
> I don't care about any audio track that might or might not be present.
>
> Any pointers or tips you can offer would be greatly appreciated :)
>
> Thanks in advance,
>
> Darren
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>




More information about the gstreamer-devel mailing list