[gst-embedded] [SPAM] file source element

Andrey Nechypurenko andreynech at yahoo.com
Wed Jan 20 23:35:02 PST 2010


Hi,

> if use "gst-launch playbin uri=file:///absolut/path/to/file", playbin use filesrc element by default. 
> I'm created new file source, e.g. "newfilesrc", and I need that playbin use it. how can I do it? 

You can take a look on Source/gst-plugins-base/tests/examples/app/appsrc-ra.c example which illustrates how to use custom source (appsrc) with playibin.
In addition you may consider using decodebin2  - something along this line: your_filesrc location=%1 ! decodebin2 ! xvimagesink 

Andrey.


      




More information about the Gstreamer-embedded mailing list