I got the same problem when using my device on the mac with EasyCapViewer.orokusaki wrote: Now.. I just get a green stripe at the bottom of my image.. I bet it has something to do with the rest of the code.
Was trying the same making a em2860 device work on a Android Tablet.orokusaki wrote: Got me! Here is the code that allowed me to view an image with SimpleWebCam.apk and chmod 666 /dev/video0 before running it.
int width, height;
width = norm_maxw(dev);
height = norm_maxh(dev) >> 1;
/* Properly setup VBI */
dev->vbi_width = 720;
if (dev->norm & V4L2_STD_525_60)
dev->vbi_height = 18;
dev->vbi_height = 12;
em28xx_accumulator_set(dev, 1, (width - 4) >> 2, 1, (height - 4) >> 2);
Users browsing this forum: No registered users and 5 guests