Blog Forum Wiki Links Contact Us NetbookUser
RunCore Pro IV SSD Transforms your ASUS EEE PC by increasing 
performance 5-40X. Your satistfaction guaranteed RunCore Pro 70mm SATA Mini PCI-e SSD
RunCore Pro IV 70mm SATA II Mini PCI-e SSD
RunCore Pro IV 2.5 Inch SATA II SSD

You are not logged in.

#1 2007-11-06 2:53:55 pm

Shawdog22
New member
Registered: 2007-11-06
Posts: 2

Adobe Flash Player Webcam - Any Luck?

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

 

#2 2007-11-06 3:16:56 pm

oinker
Senior Member
Registered: 2007-09-13
Posts: 163

Re: Adobe Flash Player Webcam - Any Luck?

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

 

#3 2007-11-06 3:47:17 pm

Shawdog22
New member
Registered: 2007-11-06
Posts: 2

Re: Adobe Flash Player Webcam - Any Luck?

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

 

#4 2008-03-26 7:43:18 pm

CaptainX
New member
Registered: 2007-09-28
Posts: 6

Re: Adobe Flash Player Webcam - Any Luck?

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

 

#5 2008-03-26 11:30:29 pm

daneel
Member
Registered: 2008-02-14
Posts: 23

Re: Adobe Flash Player Webcam - Any Luck?

Thanks a LOT!. Its Working!. I can use tokbox smile

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

 

#6 2008-03-27 9:10:13 am

CaptainX
New member
Registered: 2007-09-28
Posts: 6

Re: Adobe Flash Player Webcam - Any Luck?

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

 

#7 2008-03-27 9:50:52 am

mute
Member
From: southern maryland
Registered: 2008-03-24
Posts: 57
Website

Re: Adobe Flash Player Webcam - Any Luck?

Awesome job, this should be a wiki article!

Offline

 

#8 2008-03-29 8:42:12 am

TabulaRasa
Senior Member
Registered: 2007-11-12
Posts: 128

Re: Adobe Flash Player Webcam - Any Luck?

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!


I am an N800 refugee.  EEE PC is my new fav gadget.  Just got USB DUN working flawlessly on a Motorola Q via wvdial.  w00t!
I finally forced myself to create a howto. if you need clarification, just ping me by emai or on the forum.
http://forum.eeeuser.com/viewtopic.php?id=3922

Offline

 

#9 2008-04-01 5:32:45 pm

TabulaRasa
Senior Member
Registered: 2007-11-12
Posts: 128

Re: Adobe Flash Player Webcam - Any Luck?

Could somebody provide  howto for this? THANKS!  Trying to follow along but apparently don't know how to get past the first step.


I am an N800 refugee.  EEE PC is my new fav gadget.  Just got USB DUN working flawlessly on a Motorola Q via wvdial.  w00t!
I finally forced myself to create a howto. if you need clarification, just ping me by emai or on the forum.
http://forum.eeeuser.com/viewtopic.php?id=3922

Offline

 

#10 2008-04-03 4:48:41 pm

manatlan
Member
Registered: 2008-01-30
Posts: 31

Re: Adobe Flash Player Webcam - Any Luck?

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

 

#11 2008-04-04 4:36:24 pm

TabulaRasa
Senior Member
Registered: 2007-11-12
Posts: 128

Re: Adobe Flash Player Webcam - Any Luck?

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

Last edited by TabulaRasa (2008-04-04 4:36:41 pm)


I am an N800 refugee.  EEE PC is my new fav gadget.  Just got USB DUN working flawlessly on a Motorola Q via wvdial.  w00t!
I finally forced myself to create a howto. if you need clarification, just ping me by emai or on the forum.
http://forum.eeeuser.com/viewtopic.php?id=3922

Offline

 

#12 2008-04-04 10:01:56 pm

wdawe
New member
Registered: 2008-04-04
Posts: 8

Re: Adobe Flash Player Webcam - Any Luck?

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

 

#13 2008-04-05 4:47:23 am

manatlan
Member
Registered: 2008-01-30
Posts: 31

Re: Adobe Flash Player Webcam - Any Luck?

Perhaps we should ask to xepc team ...
because it could be a great program for the eee pc, allowing users to use tokbox ...

Offline

 

#14 2008-04-05 7:45:45 am

TabulaRasa
Senior Member
Registered: 2007-11-12
Posts: 128

Re: Adobe Flash Player Webcam - Any Luck?

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)


I am an N800 refugee.  EEE PC is my new fav gadget.  Just got USB DUN working flawlessly on a Motorola Q via wvdial.  w00t!
I finally forced myself to create a howto. if you need clarification, just ping me by emai or on the forum.
http://forum.eeeuser.com/viewtopic.php?id=3922

Offline

 

#15 2008-04-05 11:03:52 am

upthorpe
New member
Registered: 2008-04-05
Posts: 1

Re: Adobe Flash Player Webcam - Any Luck?

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

 

#16 2008-04-05 11:25:14 am

wdawe
New member
Registered: 2008-04-04
Posts: 8

Re: Adobe Flash Player Webcam - Any Luck?

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

 

#17 2008-04-05 1:17:49 pm

wdawe
New member
Registered: 2008-04-04
Posts: 8

Re: Adobe Flash Player Webcam - Any Luck?

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

 

#18 2008-04-05 5:26:33 pm

TabulaRasa
Senior Member
Registered: 2007-11-12
Posts: 128

Re: Adobe Flash Player Webcam - Any Luck?

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?


I am an N800 refugee.  EEE PC is my new fav gadget.  Just got USB DUN working flawlessly on a Motorola Q via wvdial.  w00t!
I finally forced myself to create a howto. if you need clarification, just ping me by emai or on the forum.
http://forum.eeeuser.com/viewtopic.php?id=3922

Offline

 

#19 2008-04-06 10:02:03 am

TabulaRasa
Senior Member
Registered: 2007-11-12
Posts: 128

Re: Adobe Flash Player Webcam - Any Luck?

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?


I am an N800 refugee.  EEE PC is my new fav gadget.  Just got USB DUN working flawlessly on a Motorola Q via wvdial.  w00t!
I finally forced myself to create a howto. if you need clarification, just ping me by emai or on the forum.
http://forum.eeeuser.com/viewtopic.php?id=3922

Offline

 

#20 2008-04-06 2:41:49 pm

wdawe
New member
Registered: 2008-04-04
Posts: 8

Re: Adobe Flash Player Webcam - Any Luck?

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

 

#21 2008-05-10 9:50:05 am

gmatht
New member
Registered: 2008-05-10
Posts: 3

Re: Adobe Flash Player Webcam - Any Luck?

The line

Code:

sudo echo 1 > /proc/acpi/asus/camera

is wrong
You'll want

Code:

sudo bash -c "echo 1 > /proc/acpi/asus/camera"

or

Code:

echo 1 | tee /proc/acpi/asus/camera"

as the ">" is out the scope of the sudo, as can be demonstrated easily by

Code:

/home/user> sudo echo hi > /var/hi
bash: /var/hi: Permission denied

Offline

 

#22 2008-05-10 9:51:35 am

gmatht
New member
Registered: 2008-05-10
Posts: 3

Re: Adobe Flash Player Webcam - Any Luck?

FYI, the fisrt time I tried this I got the dreaded ioctl "error 25". I had to reboot to get it to work.

Offline

 

#23 2008-06-01 10:42:09 am

eeebyeck
Member
Registered: 2008-05-17
Posts: 12

Re: Adobe Flash Player Webcam - Any Luck?

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

 

#24 2008-06-07 6:49:40 pm

wdawe
New member
Registered: 2008-04-04
Posts: 8

Re: Adobe Flash Player Webcam - Any Luck?

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

 

#25 2008-08-02 2:43:07 pm

wdawe
New member
Registered: 2008-04-04
Posts: 8

Re: Adobe Flash Player Webcam - Any Luck?

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

 

Board footer

Powered by PunBB 1.2.15
© Copyright 2002–2005 Rickard Andersson