1 |
Albert W. Hopkins írta: |
2 |
> On Tue, 2010-01-12 at 11:53 +0100, Zoltán Füves wrote: |
3 |
> |
4 |
>> Sorry guys to disturb you with like this but I'm stuck |
5 |
>> |
6 |
>> |
7 |
>> I have to 4 usb webcam stream (from 4 different machine) embed to a |
8 |
>> website |
9 |
>> |
10 |
>> I read and try adobe flash media server (and it likes to work on |
11 |
>> linux ) but |
12 |
>> unfortunately the encoder witch "stream" the webcam to the server is |
13 |
>> available only windows :( (of course no linux version yet someone use |
14 |
>> wine |
15 |
>> to use but I think this is not the best solution ) |
16 |
>> |
17 |
>> I looked for any alternatives I found red5 and an article about how to |
18 |
>> use |
19 |
>> the local flashplayer plugin publish the cam ( http://ptm.fi/?p=29 , |
20 |
>> http://ptm.fi/?cat=6 ) but I dont really know how to start |
21 |
>> |
22 |
>> Is it worth to try usb-server to use remote cams as local device? |
23 |
>> |
24 |
>> If anybody had experiences about like my problem please help my to |
25 |
>> give |
26 |
>> some info and manual link |
27 |
>> |
28 |
>> of course I don't insist the adobe product and solution I just want to |
29 |
>> work |
30 |
>> :) |
31 |
>> |
32 |
>> thanks your time and help |
33 |
>> |
34 |
>> have a nice day |
35 |
>> |
36 |
>> Z. |
37 |
>> |
38 |
> |
39 |
> I may have misunderstood your question. |
40 |
> |
41 |
> Last summer I was looking to stream my webcam to flash. I think I |
42 |
> looked at the red5 product but decided against it. There's also some |
43 |
> web services that will do it but I didn't want my webcam hosted on |
44 |
> another service. |
45 |
> |
46 |
> So I ended up using a vlc script. vlc is cool because not only can you |
47 |
> stream to flv but just about any other format. |
48 |
> |
49 |
> script will look something like this: |
50 |
> |
51 |
> WIDTH=320 |
52 |
> HEIGHT=240 |
53 |
> BITRATE=512 |
54 |
> BITRATE=1024 |
55 |
> CODEC1=FLV1 |
56 |
> AUDIODEV="/dev/dsp1" |
57 |
> DEV="/dev/video2" |
58 |
> |
59 |
> vlc \ |
60 |
> -I dummy \ |
61 |
> v4l2://${DEV}:width=${WIDTH}:height=${HEIGHT} \ |
62 |
> :input-slave=oss://${AUDIODEV} \ |
63 |
> --sub-filter time \ |
64 |
> --sout \ |
65 |
> '#transcode{vcodec='${CODEC1}',vb='${BITRATE}',acodec=mp3,samplerate=11025}:std{access=http,dst=127.0.0.1:8082/stream.flv}} |
66 |
> |
67 |
> |
68 |
> |
69 |
> |
70 |
Thanks your answer (at the and of the day I chose vlc solution too : |
71 |
) ) so it is worth the try |
72 |
|
73 |
Z. |