[SPAM] file source element

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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.


      




[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux