Go to advanced search

by flok
Wed Feb 05, 2014 1:36 pm
Forum: Camera board
Topic: image goes black after a couple of minutes
Replies: 36
Views: 7983

Re: image goes black after a couple of minutes

Ah yes, that looks indeed like an ipv6 problem.

sudo modprobe ipv6

or
echo ipv6 >> /etc/modules
(and reboot)

should fix it.
by flok
Tue Feb 04, 2014 9:37 pm
Forum: Camera board
Topic: image goes black after a couple of minutes
Replies: 36
Views: 7983

Re: image goes black after a couple of minutes

Koudevoeten ( http://www.vanheusden.com/koudevoeten/ ) 0.5 was released to the web! It now retrieves JPEG encoded images directly from the camera/GPU dramatically reducing the CPU load. It has been streaming MJPEG data for a couple of days now from the birdhouse in my garden without any crashes and ...
by flok
Sun Feb 02, 2014 9:26 pm
Forum: Camera board
Topic: image goes black after a couple of minutes
Replies: 36
Views: 7983

Re: image goes black after a couple of minutes

Hi, Regarding the problem with exposure going wrong (e.g. image going black), it looks like this code: if (rpi_workaround) { int sw = 1; if (ioctl(fd, VIDIOC_OVERLAY, &sw) == -1) error_exit(true, "ioctl(VIDIOC_OVERLAY) failed"); } indeed (as you suggested) solves the problem. I've been streaming jpe...
by flok
Sun Feb 02, 2014 8:24 pm
Forum: Camera board
Topic: image goes black after a couple of minutes
Replies: 36
Views: 7983

Re: image goes black after a couple of minutes

Ok, I'll see how can I enable this preview (not sure yet). In the mean time: I did some more experimenting: if I disable auto exposure and set it to e.g. 1500 I get an image but it flickers. Every couple of frames the image gets totally black for a while, then displays the scenery again and then goe...
by flok
Sun Feb 02, 2014 5:30 pm
Forum: Camera board
Topic: image goes black after a couple of minutes
Replies: 36
Views: 7983

Re: image goes black after a couple of minutes

Hi James, The device is constantly open, e.g. I constantly fetch frames from it so it should give an image if it was the issue you described. Also: the device is used in a remote location (birdhouse but friends of mine would like to use it as a security cam) so I cannot run an X environment (for the...
by flok
Sun Feb 02, 2014 5:02 pm
Forum: Camera board
Topic: image goes black after a couple of minutes
Replies: 36
Views: 7983

Re: image goes black after a couple of minutes

Is capturing jpeg frames via video4linux known to be working? Because I get only black frames in valid(!) jpeg format. This is both in the 1280x720 as well as the 1920x1080 resolution. The frames are immediately black, not after a while. This is a console/terminal application without any preview win...
by flok
Tue Jan 28, 2014 4:10 pm
Forum: Camera board
Topic: image goes black after a couple of minutes
Replies: 36
Views: 7983

Re: image goes black after a couple of minutes

thank you
by flok
Tue Jan 28, 2014 3:43 pm
Forum: Camera board
Topic: image goes black after a couple of minutes
Replies: 36
Views: 7983

Re: image goes black after a couple of minutes

jamesh wrote:I think its probably worth using the binned mode for 1080p as well, and just scaling it up a little at the end. Doubt there will be much difference in image quality - less than 100 pixels vertically.
It is not neccessarily quality I miss, but parts of the room I try to monitor which is unfortunate.
by flok
Tue Jan 28, 2014 12:49 pm
Forum: Other projects
Topic: NTP PPS
Replies: 285
Views: 123276

Re: NTP PPS

My first project for the Rpi will be to implement a stratum 1 NTP server for the house using a low cost gps from spark fun. My question is, can the gpio pins be used for the pps signal? It may be a matter of recompiling the ntp source to look at a different pin, which doesnt really scare me. all I ...
by flok
Tue Jan 28, 2014 12:24 pm
Forum: Camera board
Topic: image goes black after a couple of minutes
Replies: 36
Views: 7983

Re: image goes black after a couple of minutes

1920x1080 YUYV will be going through the stills capture path - that'll limit the max capture rate apart from anything else. I can't remember the full detail of how the exposure calcs run during stills capture. James is correct that most of the adjustment happens when preview is running, so multiple...
by flok
Tue Jan 28, 2014 11:54 am
Forum: Camera board
Topic: image goes black after a couple of minutes
Replies: 36
Views: 7983

Re: image goes black after a couple of minutes

Ok. De code is open source by the way: http://www.vanheusden.com/koudevoeten/ (MJPEG, MPNG, still jpg/png and VNC).

Code: Select all

koudevoeten -d /dev/video0 -p 8080 -W 1920 -H 1280 -t lower-right -q 50
and then point your browser to http://localhost:8080/image.jpg
by flok
Tue Jan 28, 2014 11:30 am
Forum: Camera board
Topic: image goes black after a couple of minutes
Replies: 36
Views: 7983

Re: image goes black after a couple of minutes

Hi,

No preview is shown: the program retrieves the yuyv data directly from the camera using the video4linux2 driver included in the kernel which I think is indeed from the raspberry pi foundation.
by flok
Tue Jan 28, 2014 11:15 am
Forum: Camera board
Topic: image goes black after a couple of minutes
Replies: 36
Views: 7983

Re: image goes black after a couple of minutes

This does not happen with raspistill in timelapse mode.

The "koudevoeten" application opens the device once and keeps it open: it constantly loops executing VIDIOC_DQBUF, copying the data and executing VIDIOC_QBUF (e.g. regular video4linux2 frame-grabbing ioctls).
by flok
Mon Jan 27, 2014 10:34 pm
Forum: Camera board
Topic: image goes black after a couple of minutes
Replies: 36
Views: 7983

image goes black after a couple of minutes

Hi, I've connected a IR camera (the regular rpi camera board sold without the ir filter) to a model b (the one with 512MB ram and ethernet). I've installed the latest kernel (3.10.27+) with the video4linux2 driver. When I run "koudevoeten" ( http://www.vanheusden.com/koudevoeten/ ), things work fine...
by flok
Mon Jan 27, 2014 12:06 pm
Forum: Camera board
Topic: Official V4L2 driver
Replies: 558
Views: 468412

Re: Official V4L2 driver

Hi,

Fwiw: "koudevoeten" (yes, that is the name of the software) also works fine with the video4linux driver of the raspberry pi camera.
http://www.vanheusden.com/koudevoeten/

Tested it with kernel 3.10.27+.
by flok
Mon Jun 17, 2013 7:52 pm
Forum: Other projects
Topic: NTP PPS
Replies: 285
Views: 123276

Re: NTP PPS

Hi, Because some people (yes, me) consider cross-compiling (hunting for missing include files, what git repo do I need if I also want f2fs included, etc) to much of a hassle, I wrote a program which lets you sync using NTP and a PPS souce entirely from userspace. No kernel changes required at all. Y...
by flok
Sun May 26, 2013 3:52 pm
Forum: Camera board
Topic: video4linux?
Replies: 2
Views: 920

video4linux?

Hi,

Is it possible to access the camera module as any other video4linux2 video source?
That would make it possible to interface a lot of other software.
by flok
Thu Dec 13, 2012 3:42 pm
Forum: Linux Kernel
Topic: log structured filesystem
Replies: 4
Views: 1301

Re: log structured filesystem

I have heard numerous occasions of SD cards dying in a few weeks.
by flok
Thu Dec 13, 2012 9:50 am
Forum: Linux Kernel
Topic: log structured filesystem
Replies: 4
Views: 1301

log structured filesystem

Hi,

Has anyone looked into a log-structured filesystem for all filesystems on a raspberry pi?
I think such a filesystem might somewhat solve the wear-issues with the SD storagecards as it is an "appending" filesystem (http://en.wikipedia.org/wiki/Log-structured_file_system).

Go to advanced search