[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: Tue, 30 Jun 2009 23:04:39 +0200

On Mon, Jun 29, 2009 at 06:55:07PM +0200, Udo Giacomozzi wrote:

> I managed it by hacking MediaParserFfmpeg::probeStream():
>   return av_find_input_format("mjpeg");
> That works well, but of course the codec is hardcoded that way.
> Flash does not define any way (in AS) to manually define the codec to
> be used for external files AFAIK.

You're talking about "format" here, not codec, right ?
I'm not a media expert, but I've seen at least ffmpeg threating
formats differently from codecs. For formats, AS doesn't let
you specify anything because it only supports FLV.
Or am I missing something ?

We had a discussion about how to support different formats
in the past, but that discussion didn't result in any implementation.
The summary should be here:

> The av_find_input_format() function is very handy and we could use the
> codec names that this function uses, but I wonder if these are
> compatible with Gstreamer.

Shouldnt' av_find_input_format() find out autonomously the actual
format by looking at magic numebrs or similar ? Have you asked
the ffmpeg developers about it ? Maybe we're just not providing
enough "probe" bytes ?


 Free GIS & Flash consultant/developer      ()  ASCII Ribbon Campaign  /\  Keep it simple! 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]