speed camera
create a project
a) new project /path/to/video ./speed_camera new --dir=/path/to/video --file=/path/to/video/file.mp4 b) make a working directory for this project ymdhms_name c) pick all the settings (web UI) ./speed_camera config -d /path/to/video d) extract positions e) render video
Video Formating
If the image file is not detected peroperly:
If it's already h264
ffmpeg -i in.MOV -an -c copy out.m4a
Or to convert to h264
ffmpeg -i in.avi -an -c:v libx264 data/out.m4a
Building
CGO_LDFLAGS="-L/usr/local/opt/libffi/lib -L/usr/local/Cellar/ffmpeg/4.2.2_2/lib" CGO_CFLAGS="-I/usr/local/Cellar/ffmpeg/4.2.2_2/include" go build
export LDFLAGS="-L/usr/local/opt/libffi/lib" export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"
CGO_LDFLAGS="-L/usr/local/opt/libffi/lib" go build
brew install libp11 brew install libffi
export PKG_CONFIG_PATH="/usr/local/Cellar/ffmpeg/4.2.2_2/lib/pkgconfig" export PKG_CONFIG_PATH="/usr/local/Cellar/libffi/3.2.1/lib/pkgconfig"