[FFmpeg-devel] Passing info from a protocol to a demuxer

Gavin Kinsey gkinsey
Thu Sep 16 10:42:17 CEST 2010


On 15/09/2010 17:03, Ronald S. Bultje wrote:
>
> On Tue, Sep 14, 2010 at 6:35 AM, Gavin Kinsey<gkinsey at ad-holdings.co.uk>  wrote:
 >>
>> how to get information from the network protocol handler to the
>> demuxer.
>>
>> The protocol our servers use is basically HTTP with some extra information
>> in the headers.  This extra information includes what format the stream will
>> be in.
>
> What MS does on their WMS server is to make it part of the stream
> extension. So mms://ip:port/dir?ext=.asf sends an ASF stream. Your
> server could use HTTP forwards to accomplish the same thing. That way
> the client can use already-existing extension-based stream ID methods
> if it prefers so, at its own choice.

Unfortunately I'm not able to do that.  The client has to work with the 
existing servers that have been deployed, most of which can't be updated.

There actually is the ability to request specific formats already, but 
the server doesn't have to honour that so the client can't rely on it.



More information about the ffmpeg-devel mailing list