Go to advanced search

by kaos
Thu Aug 15, 2013 8:42 am
Forum: Camera board
Topic: How do you wrap/encode the .h264 video files into mp4
Replies: 14
Views: 12499

Re: How do you wrap/encode the .h264 video files into mp4

MP4Box wraps an h264 file in an mp4 container. $ sudo apt-get install gpac once installed: $ MP4Box -add inputvideo.h264 outputvideo.mp4 You should, however, also specify the framerate like this: MP4Box -fps 30 -add inputvideo.h264 outputvideo.mp4 If you specified a framerate for raspivid, you shou...
by kaos
Fri Aug 09, 2013 9:45 pm
Forum: Camera board
Topic: Time Lapse - open ended
Replies: 6
Views: 2658

Re: Time Lapse - open ended

How do i get the date and time to appear in the file name of the image? This should do it: date = datetime.datetime.fromtimestamp(time.time()).strftime("%Y-%m-%d_%H-%M-%S") os.system("raspistill -o images_" + date + ".jpg") This should give you something like "images_2013-08-09_21-38-16.jpg". Note ...
by kaos
Wed Aug 07, 2013 9:22 am
Forum: Camera board
Topic: outdoor enclosure for RPi + camera?
Replies: 11
Views: 34260

Re: outdoor enclosure for RPi + camera?

My DIY solution was to us an 80mm acrylic pipe + endcaps for 75mm PVC drainpipes. I found a rubber endcap that would stretch over the 80mm pipe, and which is secured with a hose clamp. Inside that, I used a standard PVC endcap with some tape wound around it to make it fit, as mounting point. At the ...
by kaos
Tue Aug 06, 2013 9:25 pm
Forum: Camera board
Topic: Time Lapse - open ended
Replies: 6
Views: 2658

Re: Time Lapse - open ended

I've just been doing something similar as a part of my project. I'm a Python noob myself, so you may know all about the following already, but in case it's of use: To execute raspistill and raspivid (and indeed pretty much any linux command) you can use the subprocess.call command. You will have to ...
by kaos
Tue Aug 06, 2013 8:06 pm
Forum: Camera board
Topic: What is the FOV?
Replies: 3
Views: 2637

Re: What is the FOV?

The answer to my next question I think will be a 'no' but just in case! Can the lens be changed out... Actually, yes. The lens can be unscrewed after removing some adhesive/threadlock. Unfortunately, lenses for this mount seem to be hard to find, but someone has made and is/was selling adapters for...
by kaos
Thu Jun 06, 2013 11:14 pm
Forum: Python
Topic: RPIO.PWM incompatible with camera module software
Replies: 7
Views: 2096

Re: RPIO.PWM incompatible with camera module software

Just got back and can confirm that the motor turns as expected when picture taking is commented out. Also discovered my bug with the add_channel_pulse method; a trifling matter of a factor of ten in the pulse length :oops: . Now both methods deliver the same results, as expected.

--
Regards, Kári.
by kaos
Thu Jun 06, 2013 8:06 pm
Forum: Python
Topic: RPIO.PWM incompatible with camera module software
Replies: 7
Views: 2096

Re: RPIO.PWM incompatible with camera module software

Just realized; I have remote access to my setup, so could do some checks. #1, PWM.Setup is sufficient to cause the program to exit when the picture is taken. #2, The program loops and seems to work correctly using the PWM.Servo() object, if the picture taking is commented out. I am getting an error ...
by kaos
Thu Jun 06, 2013 7:46 pm
Forum: Python
Topic: RPIO.PWM incompatible with camera module software
Replies: 7
Views: 2096

Re: RPIO.PWM incompatible with camera module software

I forgot to say that I have already tried commenting out the servo commands. I can do "from RPIO import PWM" as long as I don't init pwm, and the script loops and takes pictures. If, however, I create a PWM.servo() object, it exits on the first picture, even if I didn't start any pwm output. I haven...
by kaos
Thu Jun 06, 2013 1:30 pm
Forum: Python
Topic: RPIO.PWM incompatible with camera module software
Replies: 7
Views: 2096

RPIO.PWM incompatible with camera module software

I am trying to build a motorized (panning) IP camera, using the new CSI camera module and a servo. The camera module is working, and I can use RPIO.PWM to control the motor, but when I try to combine the two in one program I have problems. The program is supposed to pan the camera to a specified pos...
by kaos
Tue Jun 04, 2013 1:10 pm
Forum: Camera board
Topic: streaming video problem
Replies: 3
Views: 932

Re: streaming video problem

That is supposed to be a dash, not em-dash. Command line characters are always (at least, I hope never to come across an exception) limited to 7-bit ascii, where there is no such thing as an em-dash, and where dash is the same as minus is the same as ascii code 45 (decimal). I notice that in the com...
by kaos
Mon Jun 03, 2013 11:00 pm
Forum: Camera board
Topic: Help with prog. RPi Camera seems slow for object detection?
Replies: 11
Views: 9565

Re: Help with prog. RPi Camera seems slow for object detecti

As for running the timelapse mode asynchronously I'm not sure where to put the '&' in the command, do you mean os.system("....&") or os.system("...)&? The reference I found was for the actual command line. If os.system() accepts all the same characters and switches as the shell, I would have though...
by kaos
Sat Jun 01, 2013 9:44 am
Forum: Camera board
Topic: Help with prog. RPi Camera seems slow for object detection?
Replies: 11
Views: 9565

Re: Help with prog. RPi Camera seems slow for object detecti

Four methods I can think of. First is the one already proposed by codyrigney92, run your code from a modified raspistill command. Second, an extension to the official raspistill has been suggested to do that, so you can specify a command to be called after each capture. That, however, is not ready y...
by kaos
Wed May 29, 2013 8:51 am
Forum: Camera board
Topic: RAW output information
Replies: 236
Views: 92928

Re: RAW output information

I've also been playing around with the raw output to jpg since receiving my camera.. but trying to get it to output timelapse with intervals close to what would equal 24fps video. Unfortunately, its immediately clear once you enable the raw flag with timelapse mode that only the first frame of the ...
by kaos
Mon May 27, 2013 10:46 pm
Forum: Camera board
Topic: STICKY: New features for raspistill command
Replies: 106
Views: 116277

Re: New features for raspistill command

Note that when you using a sensible -t value (i.e. one that give the system time to stabilise - t 0 is not a good idea), it should be correctly exposed when you fire the capture which should happen with 1 or 2 frames. So for example, in time lapse mode the captures will generally be exactly when as...
by kaos
Mon May 27, 2013 10:08 pm
Forum: Camera board
Topic: Bad focus on RPi camera Rev 1.3
Replies: 19
Views: 8304

Re: Bad focus on RPi camera Rev 1.3

The box it arrived in says "Made In United Kingdom", but I suspect that's just the carrier board. I would be rather surprised if the actual camera module didn't hail from China, as most cheap consumer items and their components seem to. Edit: Actually, calling it carrier board may be misleading. The...
by kaos
Mon May 27, 2013 9:33 pm
Forum: Camera board
Topic: Auto exposure is off?
Replies: 10
Views: 2174

Re: Auto exposure is off?

It depends on the scene. If the scene matches matches what ever current exposure is set to its doesn't have to use too many frames to decide its right, whereas if its a long way off it needs more frames to get its exposure right. (IIRC - i'm no expert on the grim details) Yes, I expected the actual...
by kaos
Mon May 27, 2013 9:24 pm
Forum: Camera board
Topic: STICKY: New features for raspistill command
Replies: 106
Views: 116277

Re: New features for raspistill command

Auto exposure lock feedback and standard input triggering . The second item was originally posted elsethread by someone else, but I'm repeating it here so it will get into the feature request list, and also partly because it might dovetail with the AEL feedback suggestion. This could be a new comma...
by kaos
Mon May 27, 2013 10:13 am
Forum: Camera board
Topic: Auto exposure is off?
Replies: 10
Views: 2174

Re: Auto exposure is off?

@JamesH: Has a minimum worst-case time needed for the auto exposure to "lock" been figured out? Is there some feedback available from the MMAL interface to indicate such "lock"? (Will obviously need modified raspistill command to be useful). Oh, and btw, thanks for all your work on this little gem! ...
by kaos
Fri May 24, 2013 9:39 pm
Forum: Camera board
Topic: Anyone who ordered from RS get their camera yet?
Replies: 49
Views: 6256

Re: Anyone who ordered from RS get their camera yet?

Got mine today. Ordered 14th, and dispatched 16th. Given that, a) this was international delivery, b) the local postal service usually take two working days to deliver mail from Reykjavík to where I live, and c) last monday was a national holiday, I'm satisfied. They do, however, need to improve the...
by kaos
Thu May 23, 2013 9:13 pm
Forum: Camera board
Topic: Durability of camera cable
Replies: 6
Views: 2264

Re: Durability of camera cable

Thanks everyone, for your replies. I guess I will play it safe and pan the Raspi and camera together as a single unit. I'm also interested in the temperature stability of the cable. I intend to use the camera in my outdoors weather station, so it would need to withstand temperatures from ~-10 to +40...
by kaos
Wed May 22, 2013 11:06 pm
Forum: Camera board
Topic: Durability of camera cable
Replies: 6
Views: 2264

Durability of camera cable

So, when I get my camera I want to build a motorized (panning) IP camera. I think I can arrange the cable so that the (repeated) bend radius will be over 3 cm at it's narrowest, but I'm wondering whether it will stand the constant bending and unbending, even at that radius. Of course, it looks much ...
by kaos
Sun May 19, 2013 11:17 am
Forum: Camera board
Topic: Flashing band across video
Replies: 41
Views: 16717

Re: Flashing band across video

I had the flashing and swapped camera to another RPI - same SD card /PSU but everthign else different and no flashing Don't know what it was Rpi/ Possibly. Did both of them have C2 (the capacitor near the micro-usb connector) intact? Wifi dongle/ That's actually a very interesting possibility that ...
by kaos
Sat May 18, 2013 11:11 am
Forum: Camera board
Topic: Default still image size is not using the whole sensor
Replies: 16
Views: 8595

Re: Default still image size is not using the whole sensor

jbeale wrote: kaos wrote: The sensor, however, seems to be 16:9 widescreen, so you can increase the aspect ratio to that point without loosing any vertical resolution. Go any further and the camera will start discarding information top and bottom to achieve the asked for aspect ratio, and as a resu...
by kaos
Sat May 18, 2013 10:55 am
Forum: Camera board
Topic: Flashing band across video
Replies: 41
Views: 16717

Re: Flashing band across video

Good point about the power cable. Note that if the cable was not bundled with the power supply, it may be too thin to carry this much current, as the standard USB spec. calls for 500mA max. And a bundled cable may be no guarantee either; given the horror stories we have seen about some cheap power s...
by kaos
Fri May 17, 2013 1:15 pm
Forum: Camera board
Topic: Default still image size is not using the whole sensor
Replies: 16
Views: 8595

Re: Default still image size is not using the whole sensor

Sounds like the default output is 4:3, which is the old school non-widescreen TV/video standard, and also used by some still cameras (e.g. the four-thirds and micro-four-thirds systems used by Olympus and Panasonic). The sensor, however, seems to be 16:9 widescreen, so you can increase the aspect ra...

Go to advanced search