USB OTG goes webcam
Posted on March 19, 2008
Filed Under Maemo, N810, Software, Tutorials, video |
This time in my mini series of testing USB on the N810 tablet - I bring you external webcam. The following video shows mplayer playing v4l stream from the device. See details after the jump.
Nokia N810 + Creative webcam + USB OTG + mplayer on Vimeo.
All you need really, are the basics set up, and some custom modules and mplayer. This mplayer build is based on .24 and has no optimisations whatsoever. So don’t try to use it for anything else.
The module my Creative webcam uses is the ov511. Other modules are available also. Installation from the command prompt:
insmod ov511.ko
Mplayer starts the new video device from command prompt with the following:
mplayer-v4l -cache 128 -tv driver=v4l:width=420:height=240:outfmt=i420:device=/dev/video1 -vc rawi420 -vo xv tv://
Thanks to google and brainwagon fro the syntax.
ps. You might have to try a few times before the video looks right. Sometimes I get only b/w or some weird colors.
Comments
8 Responses to “USB OTG goes webcam”
Leave a Reply
[...] .24 for OS2008 with v4l This build is not optimized in any way. It just has v4l enabled for webcam use. [...]
Looks great. I will try as soon as my F-F USB adaptor tunrs up.
Question, can you record the video? This would be ace!
Ta
Hi, can someone put the mplayer-v4l.tar.gz file on another server somewhere so i can get it. the current link has only worked once for me and then the file was corrupt. the download speed is currently in the bytes per second and then finally drops and needs a restart. Much appreciated as I want to use this on my race car as a helmet cam. Should be great fun!
Try copying the url and removing .nyud.net from it. This disables CoralCDN that I’m using to reduce load on the server.
For some reason CoralCDN doesn’t work for you
I removed the nyud.net….. oh that is soooooo much better. I have actually managed to download the file now. Thanks
By the way the, Kate’s usb-otg-plugin does not work on my N810 but does on my N800. any suggestions to fix?
Your mplayer-v4l also can display the internal webcam, with the following syntax:
mplayer-v4l -cache 128 -tv driver=v4l2 -vo xv tv://
(the v4l2 is v4L2 not v412)
The irony is that -vo xv looks better than -vo nokia770 for some reason. I guess you have to mess around with the parameters or something.
Now, can mplayer do network streaming out?
Has anyone get this working with a Logitech QuickCam Zoom and what module did you load and command line options?