From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NUqjA-00026A-3p for garchives@archives.gentoo.org; Wed, 13 Jan 2010 00:04:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4164EE09AA for ; Wed, 13 Jan 2010 00:04:47 +0000 (UTC) Received: from mail.ktk.bme.hu (mail.ktk.bme.hu [152.66.220.33]) by pigeon.gentoo.org (Postfix) with ESMTP id 43A6BE064F for ; Tue, 12 Jan 2010 23:06:21 +0000 (UTC) Received: from [192.168.10.2] (tanoda.suli.hu [188.142.129.1]) (Authenticated sender: zoleexfz) by mail.ktk.bme.hu (Postfix) with ESMTPSA id 9E849380006 for ; Wed, 13 Jan 2010 00:06:19 +0100 (CET) Message-ID: <4B4D0001.70204@gmail.com> Date: Wed, 13 Jan 2010 00:04:33 +0100 From: =?UTF-8?B?RsO8dmVzIFpvbHTDoW4=?= User-Agent: Thunderbird 2.0.0.23 (X11/20090911) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] linux usb webcam to website References: <1263315515.109299.22.camel@necropolis> In-Reply-To: <1263315515.109299.22.camel@necropolis> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: ecc3e52d-debc-43d0-8049-bbf821f5881b X-Archives-Hash: 4f98363b9f0025218856d43db908d90b Albert W. Hopkins =C3=ADrta: > On Tue, 2010-01-12 at 11:53 +0100, Zolt=C3=A1n F=C3=BCves wrote: > =20 >> Sorry guys to disturb you with like this but I'm stuck >> >> >> I have to 4 usb webcam stream (from 4 different machine) embed to a >> website >> >> I read and try adobe flash media server (and it likes to work on >> linux ) but >> unfortunately the encoder witch "stream" the webcam to the server is >> available only windows :( (of course no linux version yet someone use >> wine >> to use but I think this is not the best solution ) >> >> I looked for any alternatives I found red5 and an article about how to >> use >> the local flashplayer plugin publish the cam ( http://ptm.fi/?p=3D29 , >> http://ptm.fi/?cat=3D6 ) but I dont really know how to start >> >> Is it worth to try usb-server to use remote cams as local device? >> >> If anybody had experiences about like my problem please help my to >> give >> some info and manual link >> >> of course I don't insist the adobe product and solution I just want to >> work >> :) >> >> thanks your time and help >> >> have a nice day >> >> Z.=20 >> =20 > > I may have misunderstood your question. > > Last summer I was looking to stream my webcam to flash. I think I > looked at the red5 product but decided against it. There's also some > web services that will do it but I didn't want my webcam hosted on > another service. > > So I ended up using a vlc script. vlc is cool because not only can you > stream to flv but just about any other format. > > script will look something like this: > > WIDTH=3D320 > HEIGHT=3D240 > BITRATE=3D512 > BITRATE=3D1024 > CODEC1=3DFLV1 > AUDIODEV=3D"/dev/dsp1" > DEV=3D"/dev/video2" > > vlc \ > -I dummy \ > v4l2://${DEV}:width=3D${WIDTH}:height=3D${HEIGHT} \ > :input-slave=3Doss://${AUDIODEV} \ > --sub-filter time \ > --sout \ > '#transcode{vcodec=3D'${CODEC1}',vb=3D'${BITRATE}',acodec=3Dmp3,sampler= ate=3D11025}:std{access=3Dhttp,dst=3D127.0.0.1:8082/stream.flv}} > > > > =20 Thanks your answer (at the and of the day I chose vlc solution too : ) ) so it is worth the try Z.