gnash-dev
[Top][All Lists]
Advanced

[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 
'http://10.1.1.223/control/faststream.jpg?stream=full&fps=16'
4628:1] 15:55:29 SECURITY: Load from host 10.1.1.223 granted (default)
4628:1] 15:55:29 DEBUG: CurlStreamFile 0x81d83a8 created
4628:1] 15:55:29 SECURITY: Loading from url: 
'http://10.1.1.223/control/faststream.jpg?stream=full&fps=16'
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 
"http://10.1.1.223/control/faststream.jpg?stream=full&fps=16"; 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,
Udo





reply via email to

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