You are not logged in.
I'm trying to get the webcam working with Adobe's Flash Player.
I can get the UVC Camera (eba1:2761) listed in the Camera Settings drop down, by enabling the /proc/acpi/asus/camera. But I don't get any picture just a black box. Audio levels on the microphone seem to be working just fine. Camera is working just fine with the ucview application.
I've been using this site for testing:
http://www.adobe.com/devnet/flash/artic … otion.html
Has anyone tried getting the cam to work? Or shine any light on what I'm missing?
--Thanks
Offline
Shawdog22 wrote:
I'm trying to get the webcam working with Adobe's Flash Player.
Flash not working with the uvcvideo driver seems to be a known issue:
http://www.mail-archive.com/linux-uvc-d … 01258.html
Offline
Thanks for pointing me in the right direction.
uvc - only supports V4L2, with no plans to support V4L1 (cited: http://linux-uvc.berlios.de/ )
Adobe Flash Player - only supports V4L1 and may someday support V4L2 (cited: http://www.adobe.com/support/documentat … notes.html)
Dang...
Thanks--
Offline
I have my webcam working with flash sites like mebeam
it is a bit of a hack, but it is functional,
what I used was a modified version of vloopback from here:
http://swifthumors.blogspot.com/2008/03 … dache.html
along with a program called flashcam (also available there)
I had to modify the makefile to get it to compile and I used these commands once I got the module to build:
first I make sure the camera is on:
sudo echo 1 > /proc/acpi/asus/camera
then load the module:
sudo insmod vloopback.ko
and finally start capturing from the camera and sending it to the loopback:
./flashcam -d /dev/video -l /dev/video2
you can try using my pre-compiled files, and my example of a really simple script I have uploaded them here:
http://www.zshare.net/download/95942506b2124c/
I hope this is of use to others too.
EDIT:
I compiled these on the original xandros - kernel: 2.6.21.4-eeepc
Last edited by CaptainX (2008-03-26 8:02:57 pm)
Offline
Thanks a LOT!. Its Working!. I can use tokbox ![]()
I had to change the script:
sudo echo 1 > /proc/acpi/asus/camera
sudo insmod vloopback.ko inminor=9
sudo ln /dev/video0 /dev/video
./flashcam -l /dev/video9
(make sure firefox or ucview are not trying to access the camera!)
Im using updated camera drivers (from asus repository, of course)
Thanks!
Offline
those are similar to the original recommended options, for some reason they didn't work for me. Glad that you got it working too.
I noticed also that the video size was small, and flashcam doesn't take size parameters, so I edited the code and recompiled for 320x240 video- quick and easy to do yourself but, here is the compiled result:
http://www.zshare.net/download/96236508147805/
Offline
Sorry for the question, but how do I install this stuff? or where do i download these files so i can run the command line? i keep getting a not found message. thanks!
Offline
Could somebody provide howto for this? THANKS! Trying to follow along but apparently don't know how to get past the first step.
Offline
someone should make a eee deb for this tutorial : http://www.swift-tools.net/Flashcam/
it' work well on my ubuntu
Last edited by manatlan (2008-04-03 4:49:04 pm)
Offline
I posted on getafreelancer to find somebody to construct a debian package for eee Xandros. If anybody is so inclined, feel free to look for it and make a bid. (my name is the same there)
If I can get somebody to do it, I'll make it available to everybdy.
Seriously, if I can get tokbox working for my IM on the eee, I won't need to switch to XP. ![]()
Last edited by TabulaRasa (2008-04-04 4:36:41 pm)
Offline
Thank you, thank you, thank you for doing this work. I was too lazy to do it myself and I am so happy someone has finally got the EEEPC webcam working in flash, I'll try to put together a .deb this weekend. In the meantime I have put together a rough howto and posted it at http://wdawe.com/index.php/finally-eeep … ort?blog=1
Offline
Perhaps we should ask to xepc team ...
because it could be a great program for the eee pc, allowing users to use tokbox ...
Offline
i solved the problem with a simple reboot, thanks! working now like a charm. Perhaps the best way to run this script would be with a tray icon that activates or deactivates the camera.
disregard:
I got an error the first time about a bad character in the module.
and this the second time:
Failed to open loop device: /dev/video9 No such file or directory
the instructions seemed simple enough. i wonder what i'm doing wrong.
Last edited by TabulaRasa (2008-04-05 8:23:22 am)
Offline
I'm having problems as well even after reboot when trying to start vlback.sh either as normal:
home/user/vloopback> ./vlback.sh
ln: creating hard link `/dev/video' to `/dev/video0': File exists
Cannot open '/dev/video': 13, Permission denied
or with sudo:
/home/user/vloopback> sudo ./vlback.sh
insmod: error inserting 'vloopback.ko': -1 File exists
ln: creating hard link `/dev/video' to `/dev/video0': File exists
Input device: /dev/video
Size = 320 x 240
UPDATE - My mistake, despite the error messages, it is working!
Still think it would be better if the adobe flash player supported the webcam though,,,
Last edited by upthorpe (2008-04-05 11:15:48 am)
Offline
At one point I got the permissions on /dev/video goofed up and that caused problems so there is still some flakeyness. Make sure you close any applications that use the camera. Chcck the permissions on your video device files using ls -l /dev/video*. Here are mine
/home/user/vloopback> ls -l /dev/video*
crw-rw-rw- 1 root root 81, 0 2008-04-03 19:20 /dev/video
crw-rw---- 1 root video 81, 0 2008-04-04 23:46 /dev/video0
crw-rw---- 1 root video 81, 1 2008-04-04 23:47 /dev/video1
crw-rw---- 1 root video 81, 9 2008-04-04 23:47 /dev/video9
If /dev/video has goofed up permissions open a terminal windows and enter the command.
sudo chmod 666 /dev/video
Here is what you should get when you run the script, the error on the second line occurs because the script has already run and the vloopback module is already installed. Everything should still work even if that error occurs.
/home/user/vloopback> ./vlback.sh
insmod: error inserting 'vloopback.ko': -1 File exists
ln: creating hard link `/dev/video' to `/dev/video0': File exists
Input device: /dev/video
Size = 320 x 240
Offline
I've updated the vlback.sh script to include
sudo chmod 666 /dev/video
as the first line. This should take care of the permission errors. Give it a try and let me know.
Offline
This is working great, the one thing i notice in tokbox is that the video seems to be more zoomed in, like it's missing some of the field. when i use skype, i seem much further from the camera. anybody else seeing this? not a big issue, but maybe related to resolution being higher than tokbox?
Offline
I think the "zoom" happens when the resolution for the vloopback application exceeds the resolution of the flash video in the browser. It's not a big deal, but I wonder if lower resolution settings work for tokbox?
Offline
The 160x120 version of flashcam is included in the files I packaged. in vlback.sh change flashcam-l to flashcam and you should get the smaller version.
Offline
The line
sudo echo 1 > /proc/acpi/asus/camera
is wrong
You'll want
sudo bash -c "echo 1 > /proc/acpi/asus/camera"
or
echo 1 | tee /proc/acpi/asus/camera"
as the ">" is out the scope of the sudo, as can be demonstrated easily by
/home/user> sudo echo hi > /var/hi bash: /var/hi: Permission denied
Offline
FYI, the fisrt time I tried this I got the dreaded ioctl "error 25". I had to reboot to get it to work.
Offline
I followed the "idiot proof" method in wdaw's blog, i.e....... cd to the vloopback directory, then put in ./vloopback.sh
first response is home/user/vloopback> ./vlback.sh
insmod: error inserting 'vloopback.ko': -1 File exists
ln: creating hard link `/dev/video' to `/dev/video0': File exists
followed by
./lback.sh: line 5: home/user/vloopback/flashcam-l: No such file or directory.
Its a case of the machine having another giggle at my expense or I have lost the plot somewhere.
Anyone throw me a lifeline.
"eeepc 701 in advanced desktop".
Offline
I have seen the vloopback module error before. If you rerun the script it shouldn't appear a second time. Make sure your rn the script before you open your browser and flash tries to access the camera.
Are execute permissions set on flashcam-l? Are you sure it's in the directory?
Offline
Adobe has released Flash 10 beta 2 for Linux with native V4L2 support, see http://wdawe.com/index.php/eeepc-flash- … ash?blog=1
Offline