Orange Pi, Fedora-22, ZM-28 and a orange Pi camera http://www.aliexpress.com/item/Orange-P ... eb201560_6
using: fswebcam -p UYVY -S10 - > cam.jpg
I get an 800x600 image. Running through all 19 pallets available to fswebcam the following work:
BGR32 - gives 4 small b/w images [ ][ ][ ][ ]
UYVY - gives me a 800x600 color
YUV420P - same
BAYER - 800x600 b/w
SGBRG8 - same
Y16 - like BGR32 but 6 larger frames
GREY = 800x600 b/w
Now to my ZM problem: Local, Monitor etc | /dev/video0, v4l2, [ ??? Device Format ??? ], *UYVY, 1,24,8x6 etc and save
I've tried all of the DevFormats - I get an 800x600 blank image. and the logs say:
Failed to set video format: Operation not permitted
Pointers please. Thanks
OrangePi camera Format
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: OrangePi camera Format
Don't know, but it looks like this guy had to manually load the gc2035 and vfe_v4l2 modules to get it to work with motion:
http://www.cnx-software.com/2015/09/26/ ... th-motion/
It has been a long time since I've messed with a video4linux compatible camera. The last time I did, I recall having to adjust Multi Buffering. If it is on, try to turn it off. If it is off, try to turn it on.
http://www.cnx-software.com/2015/09/26/ ... th-motion/
It has been a long time since I've messed with a video4linux compatible camera. The last time I did, I recall having to adjust Multi Buffering. If it is on, try to turn it off. If it is off, try to turn it on.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
Re: OrangePi camera Format
I'd been to the cnx-sw page before. I followed a new path from it and got motion to work using YUYV at about 1 frame per second (Wooooooo!!!)
I set ZM to PAL, YUYV and I still get "Failed to set video format: Operation not permitted"
zm_local_camera.cpp 728 Wandering back through the code to IOCTL I question if this camera needs to be "setup"/"written-to" before any reading is done and ZM is missing that part. Not sure Op not permit. is ZM saying it can't/won't do it or it the camera saying that ?????
Thanks
I set ZM to PAL, YUYV and I still get "Failed to set video format: Operation not permitted"
zm_local_camera.cpp 728 Wandering back through the code to IOCTL I question if this camera needs to be "setup"/"written-to" before any reading is done and ZM is missing that part. Not sure Op not permit. is ZM saying it can't/won't do it or it the camera saying that ?????
Thanks
Re: OrangePi camera Format
OK, I gave up on the OPI camera module ($5.95+ship) and from what I can see it would be OK for Skype... So I dug out a pair of Venus USB cameras and had them ZMing in about 3 minutes. I also connected a Axis 210. So I've got 3 cameras going and my load is running : 0.81, 0.66, 0.61. Which is pretty much sound asleep ... About an hour later, my wife has named him, "Rick Rack" showed up with a doe she calls "Offa" (the rack) He's about 6-7' from the cam.
(sorry...)
I have a pair of 12meg usb cams in the mail.
I forgot to include before: Orange Pi PC $18 http://www.aliexpress.com/item/Orange-P ... eb201560_6
(sorry...)
I have a pair of 12meg usb cams in the mail.
I forgot to include before: Orange Pi PC $18 http://www.aliexpress.com/item/Orange-P ... eb201560_6
- Attachments
-
- 00041-capture.jpg (34.24 KiB) Viewed 4172 times
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: OrangePi camera Format
Very nice. Glad you found a workaround. Sooner or later, someone will figure out how to get the orangepi camera working in zoneminder.
What kind of box did you put the electronics in? How did you power it?
Are you concerned about leaving the orangepi out in extreme temperatures?
What kind of box did you put the electronics in? How did you power it?
Are you concerned about leaving the orangepi out in extreme temperatures?
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
Re: OrangePi camera Format
Not having an advanced degree in ZM I have to stumble around and do a lot of "Ahhh... Hmmmm... Ahhhh..". fswebcam and motion had no problem but ZM kept saying "Failed to set video format: Operation not permitted" (Huuu?... moment)
Case: http://www.ebay.com/itm/171212844761?ru ... 26_rdc%3D1
I made my own mounting plate and got a box of 101 nylon standoffs (amazon). Right now power is a 5v 10A ps. Seems OPi PC needs more than 2A. (2.1, 2.2 ???) My 5v2a module - the board boots about half way and hangs. A recommend ps on in the mail (aliexpress). Also a new 12mp usb camera on Wed.
Temps: I only worry about summer temps - it's 31f right now and as long at the equip has protection from the elements, rain, snow, hail, avis stercore ... right now for testing my OPi board is laying on the window sill with the camera cables running out the window to a small platform.
Just had the thought: I've got 2 usb cams, and a ip cam under ZM and my load is under 1.00 (0.65) most of the time. The OPi PC is a quad core @ 1.6ghz - wonder how many cameras I could attach? I'm running Fedora 22.
Case: http://www.ebay.com/itm/171212844761?ru ... 26_rdc%3D1
I made my own mounting plate and got a box of 101 nylon standoffs (amazon). Right now power is a 5v 10A ps. Seems OPi PC needs more than 2A. (2.1, 2.2 ???) My 5v2a module - the board boots about half way and hangs. A recommend ps on in the mail (aliexpress). Also a new 12mp usb camera on Wed.
Temps: I only worry about summer temps - it's 31f right now and as long at the equip has protection from the elements, rain, snow, hail, avis stercore ... right now for testing my OPi board is laying on the window sill with the camera cables running out the window to a small platform.
Just had the thought: I've got 2 usb cams, and a ip cam under ZM and my load is under 1.00 (0.65) most of the time. The OPi PC is a quad core @ 1.6ghz - wonder how many cameras I could attach? I'm running Fedora 22.