[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-dev] Video streaming: manually specify codec

From: Udo Giacomozzi
Subject: [Gnash-dev] Video streaming: manually specify codec
Date: Sat, 27 Jun 2009 16:04:30 +0200

I try to display a MJPEG camera stream in Gnash, but Gnash apparently
fails to recognize/choose the correct codec.

Debug output:

4628:1] 15:55:29 SECURITY: Checking security of URL 
4628:1] 15:55:29 SECURITY: Load from host granted (default)
4628:1] 15:55:29 DEBUG: CurlStreamFile 0x81d83a8 created
4628:1] 15:55:29 SECURITY: Loading from url: 
4628:1] 15:55:29 DEBUG: Global instance list grew to 5 entries
4628:1] 15:55:29 DEBUG: Starting virtual clock

And nothing else happens (no video is visible, no error message).
Gnash is compiled for ffmpeg, but I also tried Gstreamer with no luck.

On the same host I can use ffmpeg to convert the MJPEG stream, so all
required codecs are installed:

  ffmpeg -f mjpeg -i 
""; test.mpg

However, I must specify the "mjpeg" format or ffmpeg would load data
without doing anything with it.

The MIME type is "multipart/x-mixed-replace", which might be too
generic to recognize the effective codec.

Other HTTP streams (FLV, MPG) play fine using the same .swf file
(which uses FLVPlayback class).

Question: Can the input format be manually specified in a .swf file?

Unfortunately I could not find the relevant source code part where the
videoCodecType is choosen..

Thanks for any hint,

reply via email to

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