mofoo
Posts: 2
Joined: Sat Jan 12, 2013 12:32 am

Re: New features for raspistill command

Sat Nov 23, 2013 2:25 pm

jamesh wrote:
Andybp wrote:I'd like to see an option if setting the time to infinity on raspivid please, rather than having it set to 999999 or whatever.
OK. That's a sensible idea and shoudl be quick to implement.
Any status on this one? Otherwise I'm +1 on this feature :)

Thank you for your great work!

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 20234
Joined: Sat Jul 30, 2011 7:41 pm

Re: New features for raspistill command

Sat Nov 23, 2013 5:06 pm

I cannot remember if I implemented that...I'm sure someone will comment if I did or didn't.

I've been putting information on long exposure in a different thread - got it to about 2s but proving awkward to go further. As for ISO, the lower the better - higher ISO means more analog/digital gain is added, which will increase noise.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.

User avatar
Forrrge
Posts: 120
Joined: Fri Apr 27, 2012 6:07 am
Location: Gateshead, UK.

Re: New features for raspistill command

Mon Nov 25, 2013 12:36 pm

Is there a facility that allows a time lapse video to be created by specifying how often a frame is taken and then a video is automatically created that you can specify how many frames per second that the resultant video plays back at?

Apologies if this has already been discussed.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 20234
Joined: Sat Jul 30, 2011 7:41 pm

Re: New features for raspistill command

Mon Nov 25, 2013 12:41 pm

Forrrge wrote:Is there a facility that allows a time lapse video to be created by specifying how often a frame is taken and then a video is automatically created that you can specify how many frames per second that the resultant video plays back at?

Apologies if this has already been discussed.
Raspistill will take pictures at specified intervals. Then use a different piece of software to make it in to a video (ffmpg/avconv will do that). There are various threads about timelapse around.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.

cmegens
Posts: 28
Joined: Fri May 24, 2013 12:23 pm
Location: Netherlands

Re: New features for raspistill command

Tue Dec 03, 2013 2:50 pm

Is there support for 60 frames yet? If not, I would like to recommend 60fps.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 20234
Joined: Sat Jul 30, 2011 7:41 pm

Re: New features for raspistill command

Tue Dec 03, 2013 2:52 pm

Sorry, simply don't have the time to look at it at the moment. I have three camera modes that really need sorting out - full FOV video; 60fps; 90fps.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.

Danara
Posts: 13
Joined: Mon Dec 31, 2012 8:12 pm
Location: Ottawa Canada

Re: New features for raspistill command

Wed Dec 04, 2013 4:47 pm

jamesh wrote:Sorry, simply don't have the time to look at it at the moment. I have three camera modes that really need sorting out - full FOV video; 60fps; 90fps.
Glad to see full FOV is at (or near) the top of the list. I've had to resort to other using usb webcams while waiting for this to happen, but I'd much prefer to use the camera module. If there is anything I could do to help you on that, I certainly would (as many others have said as well). We can't do it directly, since it is GPU code, but is there a to do list of userland fixes that we could help out with that might free up more of your time for the closed source bits?

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 20234
Joined: Sat Jul 30, 2011 7:41 pm

Re: New features for raspistill command

Wed Dec 04, 2013 5:09 pm

Not really, I think most of the userland side issues are solved. Although there is an issue list on github for anyone who want to take a peak.

I'm busy at work at the moment, so cannot look at either side of the GPU barrier!
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.

cmegens
Posts: 28
Joined: Fri May 24, 2013 12:23 pm
Location: Netherlands

Re: New features for raspistill command

Thu Dec 05, 2013 2:25 pm

Kinda ironic that this type of development is closed of to the crowd, while the raspberry pi leans so heavily on the crowd to exist. Can issues like this be prevented or circumvented in the future with future iterations of the Pi?

poing
Posts: 1131
Joined: Thu Mar 08, 2012 3:32 pm

Re: New features for raspistill command

Thu Dec 05, 2013 2:48 pm

cmegens wrote:Kinda ironic that this type of development is closed of to the crowd, while the raspberry pi leans so heavily on the crowd to exist. Can issues like this be prevented or circumvented in the future with future iterations of the Pi?
You can also look at it from a different perspective: The closed code is a serious asset for the manufacturers which they won't give away. Luckily there's a bloke with access to the code that is willing to waste his free time hacking on user requests.

If I compare that with the likes of Nikon, those guys are totally deaf and blind to the most obvious user-requested features and all you ever get back when you contact them is evasive marketing speak.

I'm not complaining...

towolf
Posts: 421
Joined: Fri Jan 18, 2013 2:11 pm

Re: New features for raspistill command

Thu Dec 05, 2013 2:52 pm

Tell that to the dudes who spent years trying to painstakingly clean-room reverse engineer the Broadcom wireless drivers to write open source kernel drivers.

Then some blokes at Broadcom decided the Android business was worth opening up the driver for. Suddenly the sacred business secrets and regulatory obligations for keeping it closed did not matter anymore.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 20234
Joined: Sat Jul 30, 2011 7:41 pm

Re: New features for raspistill command

Thu Dec 05, 2013 3:03 pm

cmegens wrote:Kinda ironic that this type of development is closed of to the crowd, while the raspberry pi leans so heavily on the crowd to exist. Can issues like this be prevented or circumvented in the future with future iterations of the Pi?
No, not really, unless you know of a open source chip with the same level of capability and price, or a manufacturer of a chip who is willing to put the time and effort in to support it to the level that Broadcom has, even given the closed source nature of the GPU.

Not ironic at all, the Pi doesn't lean that heavily - the Linux OS and its associated software (which is available to anyone, on any board itself been ported to), but the board itself, no crowd input on that. The Pi has never claimed to be an OS platform, although in fact it's probably the most open of the available ARM platforms given the entire ARM side code base is OSS.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 20234
Joined: Sat Jul 30, 2011 7:41 pm

Re: New features for raspistill command

Thu Dec 05, 2013 3:07 pm

towolf wrote:Tell that to the dudes who spent years trying to painstakingly clean-room reverse engineer the Broadcom wireless drivers to write open source kernel drivers.

Then some blokes at Broadcom decided the Android business was worth opening up the driver for. Suddenly the sacred business secrets and regulatory obligations for keeping it closed did not matter anymore.
Not sure what your point is. Broadcom are a business. There came a point where the business benefited from open sourcing the drivers. They open sourced the drivers. It's business. Pure and simple. And the Android business is BIG business.

The fact that people had been reverse engineering them is irrelevant to the business decision. It's a bugger for those that had been doing it (and its quite possible the clean room drivers are better than the manufacturer ones), but it was their decision to do it, in the knowledge there may come a time when they would be released anyway.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.

BPK
Posts: 30
Joined: Mon Jun 04, 2012 10:12 am
Location: Bristol, United Kingdom
Contact: Website

Re: New features for raspistill command

Mon Dec 16, 2013 6:54 pm

Danara wrote:
jamesh wrote:Sorry, simply don't have the time to look at it at the moment. I have three camera modes that really need sorting out - full FOV video; 60fps; 90fps.
Glad to see full FOV is at (or near) the top of the list. I've had to resort to other using usb webcams while waiting for this to happen, but I'd much prefer to use the camera module. If there is anything I could do to help you on that, I certainly would (as many others have said as well). We can't do it directly, since it is GPU code, but is there a to do list of userland fixes that we could help out with that might free up more of your time for the closed source bits?
I'm really glad as well to see FOV is at the top of the list as we're really looking forward to it making our camera projects even better! Luckily I am in a position to offer you a Ferrari* for completing this work. All yours as soon as the firmware is released... Appreciate all the work you have done to date in producing a great product. Have a good Christmas.

* Ferrari Pi-Car
Barnaby Kent
http://www.pi-cars.com
Control your radio controlled car through your Raspberry Pi

cmegens
Posts: 28
Joined: Fri May 24, 2013 12:23 pm
Location: Netherlands

Re: New features for raspistill command

Thu Dec 19, 2013 11:51 pm

Personally waiting more on the 60fps functionality (as you might have guessed :D ) This would make the camera board instantly killer for some sports related projects, as you need more frames to really capture most sports movements. I too will donate a ferrari like BPK for this functionality to arrive, after I fluently capture a high speed drift in 60fps of said Ferrari ;)

ant_thomas
Posts: 115
Joined: Fri May 04, 2012 4:33 pm

Re: New features for raspistill command

Mon Jan 27, 2014 1:38 pm

Would it be possible to add the ability to output the image at two sizes?

For example a full resolution image then a smaller image (640x480) (or whatever the correct aspect ratio is). Using the GPU to do the resizing rather than using something like Imagemagick which is understandably fairly slow on the RPi.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 20234
Joined: Sat Jul 30, 2011 7:41 pm

Re: New features for raspistill command

Mon Jan 27, 2014 2:25 pm

I think the python camera library does something like that. Not sure of the frame rate.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.

msperl
Posts: 325
Joined: Thu Sep 20, 2012 3:40 pm

Re: New features for raspistill command

Fri Feb 07, 2014 1:37 pm

Would it be possible to add on overlay image on top of the camera image.

It can obviously can get done via imagemagik, but the problem there is the CPU overhead for decompression/modification/recompression of the image.

Doing everything inside the GPU should be much faster and then it would be a single compression step.

Also note that the rate of writing PNG (-e png) is much slower than that for JPG - I get the following message all the time (when writing an image every second):

Code: Select all

mmal: Skipping frame 2 to restart at frame 8
Also saving the captured image in multiple sizes would be very welcome...

I assume all of the above would require changes on the firmware side to allow it to work.

Thanks, Martin

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 20234
Joined: Sat Jul 30, 2011 7:41 pm

Re: New features for raspistill command

Fri Feb 07, 2014 1:49 pm

Lots of changes in fact!

PNG is not HW accelerated, so will be slower. Overlays is something on my list, but I have no idea when I will have time to look at them.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.

msperl
Posts: 325
Joined: Thu Sep 20, 2012 3:40 pm

Re: New features for raspistill command

Fri Feb 07, 2014 1:52 pm

P.s: I guess just providing a GPU-api for:
* copy a camera image buffer to a second
* overlay image-Buffer with a second one (maybe different operations)
* Scaling an image buffer
* converting the image buffer to JPEG

And having pycamera call those APIs would be sufficient to implement everything from python (or with other language bindings) with much higher flexibility of what can get done and in what sequence than just extending raspistill...

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 20234
Joined: Sat Jul 30, 2011 7:41 pm

Re: New features for raspistill command

Fri Feb 07, 2014 1:57 pm

msperl wrote:P.s: I guess just providing a GPU-api for:
* copy a camera image buffer to a second
* overlay image-Buffer with a second one (maybe different operations)
* Scaling an image buffer
* converting the image buffer to JPEG

And having pycamera call those APIs would be sufficient to implement everything from python (or with other language bindings) with much higher flexibility of what can get done and in what sequence than just extending raspistill...
All these things are possible. All require quite a bit of code to be written.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.

Honsolgen
Posts: 20
Joined: Mon Nov 25, 2013 8:35 am
Location: Honsolgen - Germany
Contact: Website

Re: New features for raspistill command

Mon Feb 24, 2014 8:18 pm

yesterday I did an rpi-update and it seems the longest exposure time is no longer 1s, but 1/5.

I was using this line and got good results during day and night.
raspistill -t 1000 -ex night -mm average -ifx denoise -o current.jpg
At night images got automatically exposed with 1s.

After the update yesterday I have now raspistill Camera App v1.3.6.
But the maximum exposure time is now reduced 1/5s.

Even using -ss 1000000 does not work anymore :roll:

Why was this changed? Any hints?

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 20234
Joined: Sat Jul 30, 2011 7:41 pm

Re: New features for raspistill command

Mon Feb 24, 2014 8:39 pm

Sorry there was a change to the exposure code in the GPU and raspistill and vid haven't caught up yet. Meant to fx it today but ran out of time. Will do it tomorrow.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.

Honsolgen
Posts: 20
Joined: Mon Nov 25, 2013 8:35 am
Location: Honsolgen - Germany
Contact: Website

Re: New features for raspistill command

Tue Feb 25, 2014 2:47 pm

^ thanks for the follow-up

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 20234
Joined: Sat Jul 30, 2011 7:41 pm

Re: New features for raspistill command

Tue Feb 25, 2014 3:51 pm

Think its OK now, have posted the changes to

https://github.com/JamesH65/userland/tr ... rate_fixes

so please test and comment. If OK, will submit a pull request to the main repo.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.

Return to “Camera board”

Who is online

Users browsing this forum: itsmedoofer, rasp14 and 8 guests