Flash in HTML
For the [Public Boxing|http://www.artificis.hu/node/140] project I had to provide output video in a format which is available on most computers without the need of installing a new player.
[Szaboat|http://clock.hu/use/] chosed Macromedia Flash. With FFmpeg there are two possibilities inside “Flash”, the default Shockwave Flash (extension .swf) and Flash Video (extension .flv). The former works without any work, just open the .swf file (in our case the stream pointing to it) in a browser, and voila, it works. However the picture gets resized to fit the window.
-break->
Solution is using a small HTML file with object/embed tags and setting the dimensions there.
The HTML snippet found on [this|http://www.w3schools.com/flash/flash_inhtml.asp] site solved the problem. I just used http://localhost:8090/boxzsak.swf as filename.
The other way, using Flash Video still needs to be worked on. Found a [site with detailed howto|http://www.macromedia.com/devnet/flash/articles/flv_tutorial_03.html].
Commenting is closed for this article.