[gst-devel] problem with playing video file

Stefan Kost ensonic at hora-obscura.de
Thu Jan 10 19:54:11 CET 2008


hi,

Daniel Shachrur schrieb:
> when i run the following coomand line:
> gst-launch -v filesrc location=videotestsrc.ogg ! oggdemux ! theoradec ! xvimagesink
> 
> everythin is ok.
> 
> but when i build this pipeline in my application, for some reason i cant play the file.
> 
> any suggestion?
> 
> do one of the elements above need special care when coding an application?
> 
> does a simple gst_element_link_many is enough?

no its not :/ demuxers create pads as the find new streams and you need to
listen to the "pad-added" signal. You can look at the gst-launch.c sources.

Stefan

> 
> thanx
> 
> daniel
>  
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> 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