[gst-devel] Avi decoder

Stefan Kost ensonic at hora-obscura.de
Mon Jan 31 12:01:07 CET 2011


On 31.01.2011 12:48, StyveA wrote:
> Hello everyone !
>
> I'm a newbie here and i'm reading the "Application Development Manual" which
> is really helpful.
>
> But here is my problem : I would like to play an Avi video file.
>
> I've seen an example in the manual for an ogg audio file, so i've started
> from here.
> But I can't find a working decoder for my avi file.. 
> Anyone can help me plz?
>
> Here is my pipeline : 
>
> pipeline = gst_pipeline_new ("video-player");
> source = gst_element_factory_make ("filesrc", "file-source");
> demuxer = gst_element_factory_make ("avidemux", "avi-demuxer");
> decoder = gst_element_factory_make ("decodebin", "decoder");
> conv = gst_element_factory_make ("videoconvert", "converter");
> sink = gst_element_factory_make ("autovideosink", "video-output");
>
> Thanks for anyone who can help me !
decodebin would plug avidemux already. Just use playbin2 or filesrc !
decodebin2 ! ...

stefan




More information about the gstreamer-devel mailing list