Re: Streaming bttv webcam? How?

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



Ja it works !

I cant believe how easy this one is
I got the swf (poor Quality however) using your description ...
I looked at the result with my win98 machine which is in the same subnet

The Jpeg image was static for me (did not change)

I downloaded the demo conf from the sourceforge page
with that i got my image onto my realplayer (using open http://location:8080/test.rm)
first also only static and forever the message buffering ...
So I disabled all other formats except the test.rm
I have to admit I turned up the framerate
Then when I turned it down again ...

at 160 kBit and 3 Frames a sec its lively ... if 25-30 seconds delayed

I got the Linux real player (PPC Mac) on a different subnet also doing sweetley
and thereby was testing with two clients

going back to 10 frames per seconds even at 320kB no Go 
it;s a P3 550 with only 64 MB Ram and it was showing two ffservers in top taking up 49% each ...

other settings I tried:

res: 160x128
320kBit 10fps     No go
320kBit  6fps     great
160kBit 6fps     Significantly worse quality (noiselike Artifacts)
160kBit 3fps     ~ ok quality noticeable jumpiness in motion

Noticable the Keyword VideoSize even though specfied in the sample is not so supported - how is it really handled ?

The code is C Argh...  :(

But great stuff !

cheers

Tobias








----- Original Message ----- 
From: "Marco A. Sousa" <marcolinux@xxxxxxxxxxxxxx>
To: <video4linux-list@xxxxxxxxxx>
Sent: Saturday, April 14, 2001 19:57
Subject: Re:  Streaming bttv webcam? How?


> Tobias Gogolin (tobias@xxxxxxxxxxxxxxx) 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
> Video4linux-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/video4linux-list





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux