Using Filesrc for synthesized formats

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


Hi,

  Just store the EOS event in your decoder until you've outputted all
the samples, and at that point push the EOS event downstream.
  The modplug element (from gst-plugins-bad) does something very similar
to what you're trying to achieve (it needs the whole file and then can
start decoding).

    Edward

On Tue, 2008-12-16 at 10:08 +0530, Suresh Choudary wrote:
> Hi All,
>  
> I want to use the opensource filesrc element for synthesized formats
> like xmf with some audio engine which can sysnthesize the PCM samples.
> But unlike the other codecs like mp3, aac these formats needs to be
> given in toto to the sysnthesizing engines. (That is the complete file
> needs to be provided to the engine in order to generate raw PCM
> samples). How can I use the filesrc to acheive the same in optimum
> way?
>  
> I understand that I can incease the block-size of filesrc to a huge
> size to make sure the complete file is read at once but is that the
> only way?
>  
> Is it possible for the downstream element to keep buffering the data
> till EOS is generated by filesrc and then handle the complete buffer?
> This may require the EOS to be held at the 'audio-engine bin' till the
> PCM samples are generated and played out.
>  
> Please suggest an optimal way since this has to be done for an
> embedded environment.
>  
> Thanks & Regards,
> Suresh
>  
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________ Gstreamer-embedded mailing list Gstreamer-embedded at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded





[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