RE: Streaming bttv webcam? How?

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



The video size is not yet change-able in the ffserver, only in ffmpeg.  Rate
control is clunky...

>>
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



_______________________________________________
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