[gst-devel] How to recognize http media type or format using gstreamer.
msmith at xiph.org
Tue Feb 10 08:40:33 CET 2009
On Mon, Feb 9, 2009 at 11:34 PM, xiupeng xie <xiexiupeng at gmail.com> wrote:
> Hi All,
> Currently, i met one question how to know the file format/type which are
> transfered from http server.
> I will need suppport several format, such as:
> Audio PCM in wav
> MPEG2 video
> The question is , before i create demux and decoder for every format, which
> gstreamer package can tell
> http streaming format?
The 'typefind' element is usually used to detect media type of a data
stream. This uses gstreamer's typefinding framework, which you could
use independently if you required that for some strange reason.
More information about the gstreamer-devel