[gst-devel] can playbin handle the sink withdecoding functions?

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


Hi Donny and all,

My final goal is my elements can be complatible with playbin maximumly, as
many players are using playbin or playbin2. I didn't want to modify the
application more.

For normal scenario, all decoders and sinks should do as their behaviors,
that is ideal, but fact is not like I imagine.  If I can not pull the
decoded data back to RAM, that means all downstream elements should not
receive any data from it.

But to be compatible with playbin, I need to make playbin working like (it
is also playbin normal pipeline)

filesrc -> demuxer -> decoder -> queue ->audioconvert -> audioresample ->
volume ->alsasink
My plan is I don't change the playbin code, and make my elements working as
the pipeline above. but data flows as
filesrc -> demuxer -> decoder -> queue ->audioconvert -> audioresample ->
volume-> fakesink
                                    |
                                    |____DSP__audiodevice

no any data go through the elements after decoder. but that means decoder
should also possess some functions of audiosink, such as clock provider.
fakesink is just for pipeline integrality.

so how about my proposal? are there any other solutions?

-- 
BRs.
Zhao Liang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20090221/6eb25366/attachment.htm>


[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