Tobias Gogolin ([EMAIL PROTECTED]) wrote:
> > stream in flash (swf)
> Could You elaborate a little on that ?
Sure.
Here I do the following:
cat swfjpg.conf
#----------------------------------------------FFserver conf begin
Port 8080
BindAddress 0.0.0.0
CustomLog -
<Stream test.jpg>
Format jpeg
VideoFrameRate 2
VideoIntraOnly
</Stream>
<Stream test.swf>
Format swf
VideoFrameRate 2
VideoIntraOnly
</Stream>
<Stream stat.html>
Format status
</Stream>
#-------------------------------------------------FFserver conf end
Then:
ffserver -f swfjpg.conf
netscape http://localhost:8080/stat.html
Then u can choose the formats: jpeg or swf.
Now all u have to do is embed flash in index page:
<EMBED src="http://ffserver-adress:8080/test.swf" width=128 height=96
type="application/x-shockwave-flash"></EMBED>
-------------------------------------------Done! streaming video! :)
Unfortunely, there are some problems:
- Here at home I can see jpg but swf is not working. I think I dont have enough
processor power (pentium 200 Mhz) to run ffserver _and_ netscape.
- At work I can generate / see the flash stream (K6 450Mhz, overclocked :)
But I managed to crash (!) some windoze ME machines.
(Picture this: boss -> "Marco, come here. QUICK" . I hate M$.)
Linux/Nestcape/flash4, NT and win95 works OK.
Maybe a problem with new flash 5 ?
So I put a jpeg link on index page:
<a href="/path/to/swf-page.html">Live stream:
<img src=http://ffserver-adress:8080/test.jpg>
</a>
and moved the embed code above to swf-page.html page.
At least the Win ME crash _after_ the user click on link, not on IE loading my index
page.
This is a example of how bad is lack of source code.
- FFserver generate log based on gethostbyname. I use squid here, so all request
seems to come from 127.0.0.1 :-( I wish ffserver could read X-FORWARDED-FOR
env. variable.
> Defnitley a delightfull offer this FFSERVER
> Bye Bye Spare Network Bandwidth :)
Oh, BTW, say goodbye to your processor power too :)
Maybe a SMP machine could do a better job.
I hope u find this info useful. Sucess/failure report are welcome.
Regards,
Marco
--
> Oh my God! They kill INIT! You bastard!
_______________________________________________
Video4linux-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list