please choosego to mobile | Continue to access the PC version
View: 8795|Reply: 6

fswebcam for OPI (H3 only)

[Copy link]

8

threads

55

posts

252

credits

Intermediate member

Rank: 3Rank: 3

credits
252
Published in 2016-5-19 21:14:59 | Show all floors |Read mode
I just updated the fswebcam code to be able to set Exposure, Vflip and Hflip contols in case you don't want to gym with kernel.
Grab the code:
git clone https://github.com/avafinger/fswebcam
cd fswebcam
./configure --prefix=/usr --disable-v4l1 --enable-32bit-buffer
make
sudo make install


Some command line samples:
fswebcam --Vflip 1 -r 1600x1200 -p YUV420P - > cam1600x1200_2.jpg
fswebcam --Hflip 1 -r 800x600 -p YUV420P - > cam800x600_1.jpg
fswebcam --exposure 4 -r 640x480 -p YUV420P - > cam640x480_1.jpg


Exposure goes from -4 to 4
Vflip = [0,1] - Flip image Vertically
Hflip = [0,1] - Filp image Horizontally

Enjoy



8

threads

55

posts

252

credits

Intermediate member

Rank: 3Rank: 3

credits
252
 Author| Published in 2016-5-27 20:22:39 | Show all floors
@Armen, @y52,

For UVC and H264 camera you can use the fswebcam stock version, it should work.
This modified version is for the CMOS camera only. (GC2035)

About NVR:
I don't know if fswebcam implements complete NVR, but you can use guvcview that records H264 videos using command line arguments.

3

threads

62

posts

950

credits

Senior member

Rank: 4

credits
950
Published in 2016-5-26 01:32:13 | Show all floors
Hi
Thanks for great work, one question. is it poseble use usb uvc camera, which don't detect like /dev/video0.

Thanks

15

threads

105

posts

387

credits

Intermediate member

Rank: 3Rank: 3

credits
387
Published in 2016-5-26 05:32:36 | Show all floors
I have a H264 camera. How would it be possible to use it with the OPI+ ?
Is there any NVR implementation ?

1

threads

11

posts

59

credits

Registered member

Rank: 2

credits
59
Published in 2016-9-10 11:39:55 | Show all floors
Hi!
What good Cameras exist for the Orange PI Pc's
I would like to buy some and use it with this fswebcam software.
Ideally i want to have if possible 5 Mega Pixel Cameras.

Thanks for any helpful Tips and suggestions regarding good working Cams for the Orange Pi's.

0

threads

12

posts

263

credits

Intermediate member

Rank: 3Rank: 3

credits
263
Published in 2016-9-14 21:11:57 | Show all floors
Edited by gnasch at 2016-9-14 21:14

Hi LinuxPeria

you may want to read this thread, but it is a mixed bag...

http://forum.armbian.com/index.php/topic/1213-ov5640-camera-with-orange-pi/


best, gnasch

1

threads

11

posts

59

credits

Registered member

Rank: 2

credits
59
Published in 2016-9-18 05:38:09 | Show all floors
Edited by LinuXperia at 2016-9-18 05:39
gnasch replied at 2016-9-14 21:11
Hi LinuxPeria

you may want to read this thread, but it is a mixed bag...

Hi Gnasch!
Thank you very much for your helpfull Reply!
Will give then the OV5640 Modules a try in the next Feautre!
Have a great Weekend.

You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list