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: http://wiki.gnashdev.org/MediaCapabilities. > 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 ? --strk; Free GIS & Flash consultant/developer () ASCII Ribbon Campaign http://foo.keybit.net/~strk/services.html /\ Keep it simple! _______________________________________________ Gnash-dev mailing list Gnash-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-dev