Go to advanced search

by ethanol100
Wed Oct 16, 2013 3:29 pm
Forum: Camera board
Topic: New version of Raspistill
Replies: 150
Views: 32023

Re: New version of Raspistill

Then you can try to find the process id manual with "ps -ef | grep raspi". The second column of the line with raspistill is the process id. i.e. "pi 3003 2946 0 15:28 pts/3 00:00:00 raspistill -v" Now you can run "kill -USR1 3003". (It needs to be backticks ` around the pgrep raspistill, because it ...
by ethanol100
Wed Oct 16, 2013 3:03 pm
Forum: Camera board
Topic: New version of Raspistill
Replies: 150
Views: 32023

Re: New version of Raspistill

If you have not edited the buildme script, it has called make install. Then is installed at /opt/vc/bin/raspistill, so just running "raspistill" should use the right version. So you can now try i.e. "raspistill -v -s -t 0 -o test.jpg" and in a new terminal test "kill -USR1 `pgrep raspistill`". If yo...
by ethanol100
Wed Oct 16, 2013 2:04 pm
Forum: Camera board
Topic: New version of Raspistill
Replies: 150
Views: 32023

Re: New version of Raspistill

Hello gordon77, if you start raspistill without arguments the program will output the version in the first output line. (you can run "raspistill 2>&1| head -1" to get only the first line) For the update and upgrade I guess: rapistill is part of the "firmware"(v1.3.3) and it is included in the packag...
by ethanol100
Tue Oct 15, 2013 12:19 pm
Forum: Camera board
Topic: New version of Raspistill
Replies: 150
Views: 32023

Re: New version of Raspistill

Thank you, I think it is a good option, because if we could receive the singal to early or in the wrong moment it could be useful. But I need to apologise, in the mentioned case the problem was me, I have not set -t value and therefore it has just timed out when the wait function was executed after ...
by ethanol100
Tue Oct 15, 2013 9:59 am
Forum: Camera board
Topic: New version of Raspistill
Replies: 150
Views: 32023

Re: New version of Raspistill

Hello James, it seems that there exists a problem if you send a "kill -USR1". When running the program without the -s switch, it receives USR1 and prints "User defined signal 1" and exits the program(without saving an image). If you use the -s switch I can only get 2-3 frames before the program is t...
by ethanol100
Tue Oct 15, 2013 7:20 am
Forum: Camera board
Topic: ffmpeg native build - my experience
Replies: 19
Views: 37878

Re: ffmpeg native build - my experience

Hi,

it should be #ifndef _STRING_H with a space after ifndef.
#1 and #3 only have warnigs and are installing correctly.
by ethanol100
Mon Oct 14, 2013 5:03 pm
Forum: Camera board
Topic: New version of Raspistill
Replies: 150
Views: 32023

Re: New version of Raspistill

Hello, thanks for the new version of raspistill, signal is working for me, but only if I want to capture one image, but I have no success using the signal for the timelapse mode. The program always exit after the first kill -USR1 `pgrep raspistill` So how would I start timelapse mode with signal? I ...
by ethanol100
Fri Oct 11, 2013 5:40 pm
Forum: Camera board
Topic: New version of Raspistill
Replies: 150
Views: 32023

Re: New version of Raspistill

Hi,
you can change your local branch to the remote branch with

Code: Select all

git clone https://github.com/JamesH65/userland
cd userland
git fetch origin
git checkout -b  new_capture_loop origin/new_capture_loop
by ethanol100
Mon Oct 07, 2013 12:32 pm
Forum: Camera board
Topic: taking pictures fastr than 2 seconds
Replies: 42
Views: 9819

Re: taking pictures fastr than 2 seconds

Yup, that's about it - that function causes the main thread (the one that sets up the camera, encoder, pool and connections) to wait until the background thread which does the actual writing signals that it's all done. Thanks for explaining, I had totally overlooked the callback function. I played ...
by ethanol100
Fri Oct 04, 2013 4:06 pm
Forum: Camera board
Topic: taking pictures fastr than 2 seconds
Replies: 42
Views: 9819

Re: taking pictures fastr than 2 seconds

After a quick look at the raspistill source code and have played a bit with vcos_getmicrosecs64 to measure where the bottleneck occurs, i have a question: What exactly does this function do? vcos_semaphore_wait(&callback_data.complete_semaphore); Is it really only the time needed to finish encoding ...
by ethanol100
Thu Oct 03, 2013 10:37 am
Forum: Camera board
Topic: taking pictures fastr than 2 seconds
Replies: 42
Views: 9819

Re: taking pictures fastr than 2 seconds

I have tried it with an old 12GB class 4 Panasonic SD, where I had installed raspbian some time ago. I just did a rpi-update and apt-get update && apt-get dist-upgrade to get up to date. And get 89 fpm again. So it should work with the usual raspistill. But it is really only a silly script and I wou...
by ethanol100
Thu Oct 03, 2013 8:25 am
Forum: Camera board
Topic: taking pictures fastr than 2 seconds
Replies: 42
Views: 9819

Re: taking pictures fastr than 2 seconds

For me it seems to work, but I used raspistill from this post ( http://www.raspberrypi.org/phpBB3/viewtopic.php?p=426025#p426025 ) and the SD card used was a 32GB Class 10 SanDisk Ultra. It also depends on the exposure time, if its too dark, then it starts to skip frames. With ls -ltr *.jpg --full-t...
by ethanol100
Wed Oct 02, 2013 2:59 pm
Forum: Camera board
Topic: taking pictures fastr than 2 seconds
Replies: 42
Views: 9819

Re: taking pictures fastr than 2 seconds

With the option -fp it drops frames even with -tl 900 (each ~15th frame), and for -tl 670 every second or third frame get lost. raspistill shows messages like mmal: Skipping frame 2 to restart at frame 3 mmal: Skipping frame 5 to restart at frame 6 mmal: Skipping frame 8 to restart at frame 9 mmal: ...
by ethanol100
Wed Oct 02, 2013 2:30 pm
Forum: Camera board
Topic: taking pictures fastr than 2 seconds
Replies: 42
Views: 9819

Re: taking pictures fastr than 2 seconds

I can get 89 frames in one minute to be written to SD card. I have used a silly shell script: #!/bin/bash counter=1 while [ $counter -gt 0 ] do sleep 5; mv /run/shm/*.jpg /tmp; done executing before running raspistill -q 50 -tl 670 -t 60000 -o /run/shm/%05d.jpg If -tl is less then 670 I get dropped ...
by ethanol100
Wed Oct 02, 2013 12:53 pm
Forum: Camera board
Topic: taking pictures fastr than 2 seconds
Replies: 42
Views: 9819

Re: taking pictures fastr than 2 seconds

Hi all, I have done a quick test, I have recorded a "stopwatch" and taken the time points from the images. I have saved to /run/shm and used the commandline raspistill -q 50 -tl 1000 -t 60000 -o /run/shm/%05d.jpg I could save 37 pictures before running out of space. http://www2.geo.uni-bonn.de/membe...

Go to advanced search