852 Commits

Author SHA1 Message Date
popcornmix
0d25e71ea5 Merge pull request #113 from JamesH65/bug_fixes
Sets max bitrate for record at 25Mbits/s
2013-10-28 10:15:19 -07:00
popcornmix
b18f61a624 Merge pull request #111 from SnowLeopard71/master
add -D_FILE_OFFSET_BITS=64 to fix 2gb file size limit
2013-10-25 09:16:10 -07:00
SnowLeopard71
cea7c5c6e8 add -D_FILE_OFFSET_BITS=64 to fix 2gb file size limit
Fix 2gb file size limit by adding missing -D_FILE_OFFSET_BITS=64.
Previous pull request applied on 'next' branch instead of 'master'
2013-10-25 12:14:09 -04:00
jamesh
8cf692f899 Sets max bitrate for record at 25Mbits/s
Set shutter speed each loop of multi frame capture (report it loses settings after capture)
Fix bug in raspivid which stopped -t 0 running forever.
Update docs to reflect these changes, plus document a previous checkin (exif, thumb = none)

Also fixed up a print that was being output in non-verbose mode.

Update versions by 0.01
2013-10-23 17:54:16 +01:00
popcornmix
ea297b90e0 Merge pull request #106 from barmaglot27/master
make stills without thumbnails and EXIF tags to minimize jpeg size
2013-10-20 05:17:53 -07:00
popcornmix
74d5a35f9e Merge pull request #105 from JamesH65/shutter_speed
Userland issue #76
2013-10-20 05:17:44 -07:00
barmaglot27
4ad6ca8612 make stills without thumbnails and EXIF tags to minimize jpeg size 2013-10-20 04:14:09 -04:00
JamesH
51669879ec Userland issue #76
Added  option to set the exposure/shutter time.

Needs a change on GPU binary, Brcm ref: 425060 and
a consequent change to
userland/interface/mmal/mmal_parameters_camera.h

There is currently a limitation of about 350ms beyond which
the camera will lock (depending on other settings). This
is being investigated, but is unrelated to this change
i.e. You can get the fault in other ways, not just by setting
the shutter speed.
2013-10-18 17:40:00 +01:00
Dom Cobley
52363807a6 mmal: Add Inline headers option for H264 encoding, plus some other video options. 2013-10-18 17:25:03 +01:00
popcornmix
cc650b9605 Merge pull request #104 from JamesH65/video_pause
Refactored raspivid to allow user to pause and restart captures
2013-10-18 07:28:03 -07:00
JamesH
cbe51332ed Refactored raspivid to allow user to pause and restart captures
to the same file using a timer, keyboard or signals. Camra can be
started in record or pause state.

New options -s, -k, -td, -i

Updated docs to reflect new commands, updated raspivid version to 1.3.3
2013-10-18 15:02:29 +01:00
popcornmix
532902065c Merge pull request #103 from JamesH65/signal_mode2
Added a signal mode to allow initiation of captures from another process...
2013-10-18 06:51:24 -07:00
JamesH
61afe0a512 Added a signal mode to allow initiation of captures from another process.
Waits on SIGUSR1 between captures.

Fixed a possible issue with black frames in timelapse mode where
-tl 0 is used. Ensures the first frame has plenty of time to get its exposure
right.
2013-10-15 12:22:02 +01:00
popcornmix
0ea545c51d Merge pull request #99 from JamesH65/new_capture_loop
Shuffled around the capture loop to provide better updates and re-add the keyboard capture option
2013-10-12 14:07:56 -07:00
jnahughes
e7d21623cd Shuffled around the capture loop to provide better facility
to add new 'fire next capture' options. Makes the looping
easier to understand.

As a consequence have re-added the keypress option which
has gone missing.

Have modified timelapse so a value of 0 tries to take images
as fast as possible (with slight delay to allow exposure to
work)
2013-10-11 15:41:36 +01:00
popcornmix
f65a4eef05 Merge pull request #97 from JamesH65/remove_exposure_off
userland #35 Removed exposure off option
2013-10-05 02:42:31 -07:00
JamesH
ff38458f38 userland #35 Removed exposure off option
This is never going to work as expected, so removing the option
completely.

Updated docs, incremented version by 0.01
2013-10-04 17:47:06 +01:00
popcornmix
77d32cd6b7 Merge pull request #96 from JamesH65/fix_exitcodes
Userland #66 Add exit codes to the camera apps
2013-10-04 08:43:44 -07:00
jnahughes
29167bd769 userland #66
Now returns correct codes on exit(). Good run returns
EX_OK(0), bad command line parameters return ES_USAGE(64),
camera failure EX_SOFTWARE(70).

Codes from sysexits.h were used.

Doesn't yet implement the 'strict' option suggested by a
contributor on github, I'm not convinced that's all that
necessary.

Updates docs files to include all recent changes.
2013-10-04 16:36:07 +01:00
jnahughes
5dc3e15228 userland #66
Now returns correct codes on exit(). Good run returns
EX_OK(0), bad command line parameters return ES_USAGE(64),
camera failure EX_SOFTWARE(70).

Codes from sysexits.h were used.

Doesn't yet implement the 'strict' option suggested by a
contributor on github, I'm not convinced that's all that
necessary.
2013-10-02 22:16:37 +01:00
popcornmix
f496edb2ab Merge pull request #93 from JamesH65/timelapse_fix
Fix for timelapse assertion
2013-10-02 07:52:56 -07:00
JamesH
e1d36801c4 Fixed a problem with some strings not being free'd inside a loop
where they were being used.

No idea how this issue has arisen or why it has not been
reported, perhaps a recent git merge fault?
2013-10-02 15:27:42 +01:00
popcornmix
f43656cdf7 Merge pull request #91 from JamesH65/h264_profile
userland #64 Add support to set H264 profile
2013-09-30 06:04:07 -07:00
JamesH
77437517d4 userland #64
Added ability to set the H264 profile for encoding.

Supports main, baseline and high.

Also needed to shuffle some code around to make some parsing
code available outside raspicamcontrol.c
2013-09-26 14:47:07 +01:00
popcornmix
62b8af787f Merge pull request #90 from JamesH65/exposure_fix4
Userland #80 - fix for exposure setting
2013-09-26 03:52:24 -07:00
JamesH
eb81419910 Userland #80
Fix for bad exposure setting - set ISO to auto on startup
2013-09-26 11:17:05 +01:00
Dom Cobley
41c1db7d46 Update headers from latest firmware 2013-09-23 23:49:43 +01:00
popcornmix
aaf7ba01f7 Merge pull request #85 from lgretton/patch-1
Update RaspiStill.c
2013-09-23 11:15:06 -07:00
lgretton
b9604216c4 Update RaspiStill.c
Date and time of EXIF DateTime fields is now separated by a space instead of a colon, in accordance with EXIF 2.1.
2013-09-15 20:52:04 +01:00
popcornmix
9ed215b005 Merge pull request #82 from dmopalmer/periodic
Periodic timelapse
2013-09-08 02:38:48 -07:00
David M. Palmer
73f5ab956a Periodic timelapse
Timelapse pictures are taken periodicially, i.e. starting the image capture
attempts at fixed time intervals, as opposed to a fixed delay after the
end of the previous image.  As a result, the mean time between images
is closer to the requested time interval, and the effect of individual
slow images (due to e.g. exposure adjustments or delays in file writing.)
does not propagate to subsequent images.

If something causes a delay so that the image would be more than half
a timelapse period late, images are skipped (also skipping
the frame numbers in the filenames) to keep in sync.

As a result, a timelapse sequence with -tl 60000 looking at
a clock would show the second hand in ~the same place in all images
as opposed to the previous code, which would show the second hand
advancing by the cumulative time taken by all the image captures.

Also, a --timeout 0 will cause an unlimited number of images to
be taken.
2013-09-07 12:58:10 -06:00
David M. Palmer
775cf0bb88 Native build
Changes to allow the Raspberry Pi to natively build the userland.
Assumes that any armv6l (as returned by the arch(1) command)
is a Raspberry Pi and changes the compile accordingly.
Fix for issues #2 and #79
2013-09-07 19:28:17 +01:00
Dom Cobley
b58a0498f1 add OMX helpers for DRC 2013-08-29 22:08:52 +01:00
popcornmix
e9bb579ff6 Merge pull request #71 from dmopalmer/master
Adding --link option for latest complete timelapse frame
2013-08-29 13:38:49 -07:00
David M. Palmer
394dd3a603 Use open/write/rename to prevent partial image files.
Added -l/--latest option to provide a link to the latest frame of a time-lapse.
Added -l to the documentation.
2013-08-18 11:54:31 -06:00
popcornmix
23baee6349 Merge pull request #73 from JamesH65/roi4
Added -roi command to allow specification of the area of the sensor to use as input
2013-08-15 06:53:24 -07:00
JamesH
75103431b3 Added -roi command to allow specification of the area of the sensor to use as input
to the ISP. This facilitates zooming (including offcentre)

Also updated the docs to reflect the new command and updated to latest published version.
2013-08-08 17:25:06 +01:00
Dom Cobley
e98e5e48f6 dispmanx: Correct VC_IMAGE_TRANSFORM_T to DISPMANX_TRANFORM_T where appropriate 2013-08-07 18:09:18 +01:00
Dom Cobley
7a6261de5d audio: add support for arbitrary 8x8 channel mixing to be specified from host 2013-08-07 18:08:55 +01:00
popcornmix
5e368c1482 Merge pull request #65 from JamesH65/compile_fix
Fix for compile fault due to mising change in the RaspiPreview.h header ...
2013-07-22 05:05:57 -07:00
JamesH
574bcea5b1 Fix for compile fault due to mising change in the RaspiPreview.h header file. 2013-07-22 13:02:26 +01:00
popcornmix
75731f4bd6 Merge pull request #62 from JamesH65/new_preview
Fix for dark frames in timelapse
2013-07-19 10:17:41 -07:00
popcornmix
0c344ac94e Merge pull request #61 from JamesH65/raw_rgb
Added the option to save the raw data as RGB888.
2013-07-19 10:17:32 -07:00
popcornmix
7e47f7ffcf Merge pull request #58 from JamesH65/iso_fix
Re-enabled ISO setting
2013-07-19 10:17:08 -07:00
JamesH
064c4598ef Fixed up preview mode to use a null sink rather than not connecting
components. Fixes the darkening frames in timelapse mode problem.
2013-07-16 19:23:51 +01:00
JamesH
277cff277e Added the option to save the raw data as RGB888. This requires a change to the firmware. 2013-07-16 18:26:27 +01:00
JamesH
a3b9618551 Re-enabled ISO setting - tests show (in EXIF data of test jpegs) you can set between 100 and 800. 2013-07-05 16:13:58 +01:00
popcornmix
8b271ac3c1 Merge pull request #57 from JamesH65/camera_dev
Fixed up so RAW works for each capture in timelapse mode
2013-07-05 07:11:59 -07:00
JamesH
6612cf362b Fixed up so RAW works for each capture in timelapse mode 2013-07-05 14:05:23 +01:00
Dom Cobley
033b22133a hello_audio: support different sample rates 2013-07-02 17:29:21 +01:00