[gst-embedded] How to use DSP in gstreamer
benoit.fouet at purplelabs.com
Mon Mar 3 01:30:26 PST 2008
Zhao Liang-E3423C wrote:
> Zhao Liang-E3423C wrote:
>> Hi all,
>> On embedded device, DSP is used widely, many DSPs have different
>> features, for example:
>> 1. decoder
>> DSP is just a hardware decoder
>> 2. decoder + sink
>> DSP is a decoder plus sink, it can directly accept encoded data, and
>> then decode it and render pcm data into audio device directly.
> creating a sink with right caps should be enough for this one...
> Zhao Liang: By my experience, it is not simple like just adding a new
> Just a example, how to handle preroll? Generally, dsp
> need to do initialization when start to work, so what is the time to do
> another issue is seek, how does DSP handle seek?
this is generally the demuxer/parser's job to handle seek, do you have
examples where it is up to the decoder to do it ?
>> 3. A/V sync
>> DSP can do A/V sync internally or not.
> then you can ask basesink not to synchronize flows.
> Zhao Liang: If DSP is just a video decoder and sink, how does DSP sync
> with audio sink? maybe current basesink considers more software sink
> than hardware sink.
I was talking about your hardware handling A/V synchronization, not the
buffers that are handled by sink are timestamped (by demuxers for
instance) and are rightly handled by basesink when synchronization has
to be done in framework, and not in HW.
Purple Labs S.A.
More information about the Gstreamer-embedded