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.


      

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Gstreamer-embedded mailing list
Gstreamer-embedded@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded

Reply via email to