Skip to content

Commit

Permalink
Bump version to 2.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
iizukanao committed Aug 10, 2022
1 parent 576b6ff commit 7686743
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
Change Log
==========

Version 2.0.4 *(2022-08-10)*
----------------------------

- Changed the default values for the following options:
+ `--avcprofile` default is `high` (previously `main`)
+ `-v, --videobitrate` default is `3000000` (previously `4500000`)
- Fixed memory leak. (#175)
- Fixed bug where HLS was not working on 64-bit OS. (#172)

Version 2.0.3 *(2022-07-25)*
----------------------------

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ chmod +x make_dirs.sh
alsamixer

# Install picam binary
wget https://github.com/iizukanao/picam/releases/download/v2.0.3/picam-2.0.3-`uname -m`.tar.xz
tar xvf picam-2.0.3-*.tar.xz
cp picam-2.0.3-*/picam ~/picam/
wget https://github.com/iizukanao/picam/releases/download/v2.0.4/picam-2.0.4-`uname -m`.tar.xz
tar xvf picam-2.0.4-*.tar.xz
cp picam-2.0.4-*/picam ~/picam/

# Run picam
cd ~/picam
Expand Down Expand Up @@ -185,14 +185,14 @@ $ touch hooks/unmute
#### Command options

```txt
picam version 2.0.3
picam version 2.0.4
Usage: picam [options]
Options:
[video]
-w, --width <num> Width in pixels (default: 1920)
-h, --height <num> Height in pixels (default: 1080)
-v, --videobitrate <num> Video bit rate (default: 4500000)
-v, --videobitrate <num> Video bit rate (default: 3000000)
Set 0 to disable rate control
-f, --fps <num> Frame rate (default: 30.0)
-g, --gopsize <num> GOP size (default: same value as fps)
Expand All @@ -204,7 +204,7 @@ Options:
--vflip Flip image vertically
--avcprofile <str> Set AVC/H.264 profile to one of:
constrained_baseline/baseline/main/high
(default: baseline)
(default: high)
--avclevel <value> Set AVC/H.264 level (default: 4.1)
--brightness <num> Adjust image brightness (default: 0.0)
0.0=unchanged / -1.0=darkest / 1.0=brightest
Expand Down
2 changes: 1 addition & 1 deletion picam_option/picam_option.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ extern "C" {
#include "text/text.h"

#define PROGRAM_NAME "picam"
#define PROGRAM_VERSION "2.0.3"
#define PROGRAM_VERSION "2.0.4"

typedef struct white_balance_option {
const char *name;
Expand Down

0 comments on commit 7686743

Please sign in to comment.