[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] Video streaming: manually specify codec
From: |
strk |
Subject: |
Re: [Gnash-dev] Video streaming: manually specify codec |
Date: |
Sun, 28 Jun 2009 10:34:45 +0200 |
On Sat, Jun 27, 2009 at 04:04:30PM +0200, Udo Giacomozzi wrote:
> Unfortunately I could not find the relevant source code part where the
> videoCodecType is choosen..
I guess you're loading using NetStream.
The place you're looking for is:
MediaHandler::createMediaParser(std::auto_ptr<IOChannel> stream)
Code is in libmedia/ffmpeg/MediaHandlerFfmpeg.cpp or
libmedia/gst/MediaHandlerGst.cpp.
For ffmpeg you'll see a MediaParserFfmpeg will be created unless
the input stream is found to be an FLV (looking at magic number).
The MediaParser, in turn, should throw a MediaException if unable
to figure input type, or a debug log (-vv required) otherwise.
--strk;
Free GIS & Flash consultant/developer () ASCII Ribbon Campaign
http://foo.keybit.net/~strk/services.html /\ Keep it simple!