USB Webcam at /dev/video0 - G Tablet General

I just connected a cheap usb webcam I had laying around. According to dmesg it is properly recognised and there is a /dev/video0 device that appears when it is connected. My only problem is I have no idea how to interface with it. Does anyone know of an app or maybe even a command-line way to interface with a specific video stream?
I have done some research and several people started the process of building ffmpeg for Android, but for one reason or another they seem to have abandoned their efforts.

would be so awesome to use my 720p webcam w/ this...is this possible? seems as simple as modding a config file to look @ that as a source.

You need the specific device drivers in the kernel, till those are available, and apps know how to access the device the second camera will not function. Honeycomb is supposed to have 2 camera functionality built into the OS so hopefully that will work out of the box.

Related

outputting android devices to a monitor?? Displaylink

Displaylink released the open source drivers for linux a while ago, for the people who dont know what display link is, its outputting video via a usb port using a special chip in certain monitors. almost any device that runs linux and has usb in theory do it, http://twitter.com/libdlo had this on a tweet: @s31n6 Definitely possible to port libdlo and/or to displaylink-mod to android. Perhaps contribute a development platform to a developer...
The only thing is, the current Linux drivers don't support compression, obviously the company doesn't want the propriety algorithm that the windows and osx closed source drivers contain being leaked..
If a Linux based router can be have display outputted surely an Android phone can!!!
http://nezzen.net/2009/06/01/displaylink-on-router/
http://www.engadget.com/2009/05/18/displaylink-for-linux-turns-a-humble-wireless-router-into-a-beau/
This already been looked at???
G1/dream lacks video output = dead before the start.
evilkorn said:
G1/dream lacks video output = dead before the start.
Click to expand...
Click to collapse
I think your missing the point slightly, the video is outputted as a data stream and you dont need a video out chip to do so other wise how would the get a display output on a netgear router!
anything that runs linux and has a usb port can output video using the display link drivers and a compatible monitor!!
Android Screencast
What about android screencast 0.4; please search for it, as I am unable to post URL's.
yeah I use this!! good for use when connected to a PC!
Here is a android 1.6 driver from the opensource .
http://libdlo.freedesktop.org/wiki/
or
https://github.com/magoroku15/DisplayLink-driver-for-android
update
http://sites.google.com/site/voyageofbeagleboard/Home/displaylink-for-android

$$$300 hundred dollar app request!!!!!!!!!!!!!!

I will pay a $300.00 bounty through Paypal for this app someone can write:
Please write an app that sends the screen captures, all video, SLINGPLAYER, all programs to be sent through the HDMI port so I can watch my sling player on my nav system with an hdmi downscaler box through composite video, to my Pioneer AVIC Z3.
So I'm asking that a Dev find a way to enable ALL programs and video and slingplayer to be sent through the hdmi port. (I want my EVO to act like a Droid Incredible with the tv out cable.)
Thanks,
Mark
I think its just a matter of time before one of the development figures out a way. I don't think an app is going to cut it, its more of an ability of the operating system.
Posted via XDA Android app from Evo
Hope your really going to pay the $300 when someone releases this.....
I hope I get the first copy before the masses......then yes ill take care of the developer.
I will up the bounty by committing to an additional $50...
Looking to do the same thing for my audi. Would love to use google maps, sling, read email, browse the net, all from my nav screen... Also as a feature of the app: a setting that allows us to lock the screen in landscape mode
JB'd iCraps have a program I believe called video out that accomplishes this..
Here's a video;
http://www.audizine.com/forum/showthread.php/367962-XCarLink-Question....?p=5393463&viewfull=1#post5393463
Sent from my PC36100 using XDA App
Guess this died
Sent from my PC36100 using XDA App
mark1107 said:
I will pay a $300.00 bounty through Paypal for this app someone can write:
Please write an app that sends the screen captures, all video, SLINGPLAYER, all programs to be sent through the HDMI port so I can watch my sling player on my nav system with an hdmi downscaler box through composite video, to my Pioneer AVIC Z3.
So I'm asking that a Dev find a way to enable ALL programs and video and slingplayer to be sent through the hdmi port. (I want my EVO to act like a Droid Incredible with the tv out cable.)
Thanks,
Mark
Click to expand...
Click to collapse
I'd also like to see this happen and would be willing to throw some bills if it is completed. This is a great idea.
You might be able to just redirect the phone's screen to the hdmi port which would effectively give every app access to the hdmi port
hope someone is working on this, sry i cant add to the bounty though.
How do you do this?
waterfoul said:
You might be able to just redirect the phone's screen to the hdmi port which would effectively give every app access to the hdmi port
Click to expand...
Click to collapse
I know this is no solution, but send an email to HTC & Sprint about this feature telling them that xyz competitor has this on their flagship phone etc...
HDMI output support
Is this what we're all looking for?
http://docs.google.com/View?id=dhtsnvs6_57d2hpqtgr#4_HDMI_output_support_82321908
4. HDMI output support
This device supports HDMI output of video content via a cable. Common use of this could be to connect to a TV or a video projector to show a video clip.
The output of the video is tied to the user connecting the HDMI cable to the handset and to a HDMI player such as a TV, once the two have recognized each other, applications attempting to play video will not see the video on the device screen but it will be sent over the HDMI cable. While this is fairly plug-n-play, there are some things to consider for your application design.
4.1 Blocking HDMI output
We realize there may be some applications which do not want their video content played out over HDMI, this may be for many reasons including, usage rights associated with video or control over user experience. If you wish to restrict a user from using HDMI out with your application you can add the following permission to your manifest.
Permission to block HDMI output:
davilu said:
Is this what we're all looking for?
http://docs.google.com/View?id=dhtsnvs6_57d2hpqtgr#4_HDMI_output_support_82321908
4. HDMI output support
This device supports HDMI output of video content via a cable. Common use of this could be to connect to a TV or a video projector to show a video clip.
The output of the video is tied to the user connecting the HDMI cable to the handset and to a HDMI player such as a TV, once the two have recognized each other, applications attempting to play video will not see the video on the device screen but it will be sent over the HDMI cable. While this is fairly plug-n-play, there are some things to consider for your application design.
4.1 Blocking HDMI output
We realize there may be some applications which do not want their video content played out over HDMI, this may be for many reasons including, usage rights associated with video or control over user experience. If you wish to restrict a user from using HDMI out with your application you can add the following permission to your manifest.
Permission to block HDMI output:
Click to expand...
Click to collapse
this might be possible very possible ....
I've come across code allowing developers to enable or disable HDMI out in their apps..
So what's the default? I haven't gotten myself a cable yet, but i'd assume it's disabled.
In due time if laws permit and enough people complain to the developer's i'm sure it will happen.
Also it won't be hard to include the code in the launcher.apk..
Still, it needs to be permitted from app to app, which is a problem..
To solve that problem!!
We need an app, no more like a service, which when active is clear, completely transparent, and allows you to see and control the GUI through that layer but exactly as usual.
So as long as that APK allows hdmi output we will see the entire GUI through the program THUS having a fully output UI.
I should really brush up on my programming.
EDIT: I am officially working on it and progress is going great =)
I know what i'm doing just gonna take a while to get there lol
topdnbass said:
I've come across code allowing developers to enable or disable HDMI out in their apps..
So what's the default? I haven't gotten myself a cable yet, but i'd assume it's disabled.
In due time if laws permit and enough people complain to the developer's i'm sure it will happen.
Also it won't be hard to include the code in the launcher.apk..
Still, it needs to be permitted from app to app, which is a problem..
To solve that problem!!
We need an app, no more like a service, which when active is clear, completely transparent, and allows you to see and control the GUI through that layer but exactly as usual.
So as long as that APK allows hdmi output we will see the entire GUI through the program THUS having a fully output UI.
I should really brush up on my programming.
Click to expand...
Click to collapse
Well you have a $350 incentive
i agree i would donate to this too if someone can make this happen
chumba8 said:
i agree i would donate to this too if someone can make this happen
Click to expand...
Click to collapse
CyanogenMod must have this feature in the future
I'll add $25 if it can be used by any rooted EVO.
I got a 25$ spot to...i was actually looking for this...
Cynamod or what ever you call him
He has it working now and Bluetooth hid support
Sent from my Evo on on the Now network from Sprint
oh and duck Apple

If you have adb running, try this for remote control and screencasts

You do need adb running and the USB cable:
http://code.google.com/p/androidscreencast/
Launches off the Web although I assume you need Java.
I was surprised it works with the Tegra since it has the funky video buffers (VNC, for example doesn't like to serve the Tegra screens).
So what can you do with it?
Well, first you can operate the thing with your PC keyboard and mouse which is super handy when you trying to do some maintenance. You can also take screenshots "live" instead of having to get the screen setup and then going to the ADB tool. But what I was really interested in was screencasting:
http://www.youtube.com/watch?v=V06APP-rJZk
The program has a video recording function but I used gtk-recordmydesktop (Linux) to just grab the image off the screen (as far as I can tell the default recording is MOV format and has no audio).
The astute will notice that's VEGAn 5.11's status bar at the top.
A quick search on the gTab forums didn't show anyone reporting this working that I could tell. If its a duplicate, sorry in advance!

Any driver to control the MHL from the PC?

Sorry for my English .. Hello everyone first of all.
I have a HTC Sensation and I like to control from a touch screen, using this connector MHL, I read that in the Ice Cream Sandwich version that I have installed, you can now control is provided through an USB port.
The truth did not know very well where to place this post, but I think the media is the main function and see if you're lucky, the idea is to propose or if anyone knows, the android can control from your PC, as the case Samsung TVs that recognize the application MHL Device Anynet + (post link). The idea is to connect mobile phone to a computer with a touch screen and control it from the screen contenplando the quality of this type of connection and future applications, CarPC, game systems, internet browsers.
So far the closest I've seen is through a remote program or Android QtADB Commander, but they perform a virtualization and graphics functions are very limited (videos, photos, games, etc. ..).
An interesting idea would be that an application for Android was able to control the touch screen driver THROUGH USB host our phones, this topic is more interesting and juicy indeed already been mentioned in some places but unfortunately I guess we have to wait to get the ICS to Partin, do not you think?.
For those interested in the latter is here.
Greetings.

Android TV (Sony Bravia) Webcam support

Hi Guys,
so i bought an Android TV a while ago (Sony Bravia KDL-50W805C) and im quite happy with it.
Now i would like to be using Skype, which unfortunately isnt officially supported. I installed the regular Skype APK manually and the App itself works very well. I then bought a UVC-compatible Webcam which doesnt seem to work properly with any app i tried on TV.
Using Skype, i can establish a connection and the webcam is turned on (can tell from the LED flashing) and the webcams microphone is also working. However, no image is coming. Im guessing its some access restriction. I dont see any technical reason why this would not work.
The Chipset of my TV is some Mediatek ... i can tell you better if this should be of importance. Maybe anyone here is able to help me out or point me in the right direction.
Thanks already!
Same issue here, but maby on something
Hey
I have the same issue as Idle_King, but i have begin to do some research. My tv is a sony bravia w80c and I use a logitech c920 as webcamera.
I installed/side loaded skype from my sony experia z3+ with Ez file explorer. Then i relized that the camera and mic dident work,
My first tought was that the webcam dident support otg, so i insertered my otg cable in my z3+ and connected the camera... Nothing happend
The otg camera app found nothing.
After a bit of investigation i found that is a function that need you to identify the usb device, so when I done that, it showd up in the app, so now I know that the camera works like a otg device
I sideloaded the same app to my bravia tv, and it is the same issue here, so i sideloaded an other app (easy otg checker). Maked a search for otg devices and it found my conected webcamera.
So i think that sony must have some sort of usb identify filter that denies the camera to start/connect. So where should i begin to search? Or is it someone that have a solution to this problem?
melzk said:
Hey
I have the same issue as Idle_King, but i have begin to do some research. My tv is a sony bravia w80c and I use a logitech c920 as webcamera.
I installed/side loaded skype from my sony experia z3+ with Ez file explorer. Then i relized that the camera and mic dident work,
My first tought was that the webcam dident support otg, so i insertered my otg cable in my z3+ and connected the camera... Nothing happend
The otg camera app found nothing.
After a bit of investigation i found that is a function that need you to identify the usb device, so when I done that, it showd up in the app, so now I know that the camera works like a otg device
I sideloaded the same app to my bravia tv, and it is the same issue here, so i sideloaded an other app (easy otg checker). Maked a search for otg devices and it found my conected webcamera.
So i think that sony must have some sort of usb identify filter that denies the camera to start/connect. So where should i begin to search? Or is it someone that have a solution to this problem?
Click to expand...
Click to collapse
hi, i'm having the same problem here, did you solve it?
Hi. looking for the whole forum I came for someone to help me with the same problem but I see that nobody has been able to solve it. I have a samsung smart tv and I can not connect it with Skype. If there is someone who knows the solution, I ask you to help me please.
same webcam issue dark image or no image
same webcam issue dark image or no image
i am using cam of older bravia cam to new bravia (android) ...didnt work1
Don't know if it helps.
BUT
I successfully use a camera called Canyon CNR-WCAM513G1 (1.)
with WhatsApp on a userless Android X86 running on a VM in order to scan QR codes from WhatsAppDesktop
This VM is a device that has WhatsApp Android app installed and connected 24/7 to the internet, so I can use WhatsAppDesktop on all paired computers without messing around with my phone
Good that I do not use WhatsApp at all, maybe now I start using it, lets see. Side effect the picture that is transferred to the main camera of Android on the X86 is mirrored horizontally
Further I found this: The homepage of app Webeecam has the inofficial most complete compatibility list of webcams running on Android:
Reference:
1. https://canyon.eu/product/web-camera-canyon-cnr-wcam513g1/
2. http://blog.webeecam.com/webeecam-android-usb-camera-app/supported-cameras-and-devices/
thank you

Categories

Resources