Skip to content

v0.0.9

Compare
Choose a tag to compare
@brutella brutella released this 02 Jul 13:48
· 36 commits to master since this release

This release improves the video stream quality by setting the video resolution to 720p and providing an option to set the minimum video bit rate.

The pre-configured Raspbian image sets the video resolution via v4l2-ctl in the /etc/sv/hkcam/run script.
The minimum bit rate is not specified but you can set it with the --min_video_bitrate argument.

A run script with a minimum bit rate of 500kbps might look like this

#!/bin/sh -e
exec 2>&1
v4l2-ctl --set-fmt-video=width=1280,height=720,pixelformat=YU12
exec hkcam --min_video_bitrate=500 --data_dir=/var/lib/hkcam/data --verbose=true

Note: Setting a minimum video bitrate might break streaming to Apple Watch.