Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Raspberry Camera module
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Raspberry Camera module
2nd Jun, 2014, 09:11 PM
Post: #4
duno
Unregistered
 
Raspberry Camera module NOIR and motion
(14th Mar, 2014 02:44 AM)DomoJimbo Wrote:  I wonder to know if the Raspberry Camera module can be supported under Xbian ?

Yes.

Try this:

Code:
sudo apt-get install automake autoconf gettext libtool libjpeg62-dev libv4l-dev git gawk g++
git clone git://git.linuxtv.org/v4l-utils.git
cd v4l-utils
autoreconf -vfi
./configure
make
sudo make install

After that, try to test with

Code:
sudo modprobe bcm2835-v4l2
v4l2-ctl --set-fmt-video=width=2592,height=1944,pixelformat=3
v4l2-ctl --stream-mmap=3 --stream-count=1 --stream-to=test1.jpg

I use Xbian 1.0 RC2 with a Raspberry NOIR and it works for me.

Some more informations:
To install the cam as capture device type:
Code:
sudo modprobe bcm2835-v4l2
sudo v4l2-ctl --set-fmt-video=width=1920,height=1080,pixelformat="H264" -d /dev/video0

Then install "motion"
Code:
sudo apt-get install motion

Here is my motion.conf.txt copy it to /etc/motion/motion.conf

Server is running on port 8008 (http://myXbianServer:8008)

If you want to run as daemon
Code:
sudo nano /etc/default/motion

Code:
#start_motion_daemon=no
start_motion_daemon=yes

and in my motion.conf

Code:
# Daemon
############################################################

# Start in daemon (background) mode and release terminal (default: off)

#daemon off
daemon on

1280x720 is working. On 1920x1080 I get an error Sad

To load the module on startup

"sudo nano /etc/modules" and add bcm2835-v4l2


Attached File(s)
.txt  motion.conf.txt (Size: 23.56 KB / Downloads: 15)
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Raspberry Camera module - DomoJimbo - 14th Mar, 2014, 02:44 AM
RE: Raspberry Camera module - IriDium - 14th Mar, 2014, 02:55 AM
RE: Raspberry Camera module - mk01 - 16th Mar, 2014, 08:26 AM
Raspberry Camera module NOIR and motion - duno - 2nd Jun, 2014 09:11 PM
RE: Raspberry Camera module - dkorneel - 13th Aug, 2014, 08:09 AM
RE: Raspberry Camera module - IriDium - 3rd Jun, 2014, 01:23 AM
RE: Raspberry Camera module - duno - 3rd Jun, 2014, 06:05 AM
RE: Raspberry Camera module - uv4l uv4l-raspicam - duno - 6th Jun, 2014, 07:55 AM
RE: Raspberry Camera module - mk01 - 23rd Jun, 2014, 05:55 AM
RE: Raspberry Camera module - Boubou - 10th Jul, 2014, 04:09 AM
RE: Raspberry Camera module - CurlyMo - 13th Aug, 2014, 05:14 PM
RE: Raspberry Camera module - IriDium - 14th Aug, 2014, 12:36 AM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 23rd Jun, 2025, 12:57 AM Powered By MyBB, © 2002-2025 MyBB Group.