Skip to content

raspitv/bikedashcam

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

bikedashcam

A dashcam for bicycles

Both the bash script delete_oldest_.h264.sh and python 2 file dashcamcorder.py should be located in /home/pi and made executable (chmod +x filename)

If you want it to run on boot, add...

/usr/bin/python /home/pi/dashcamcorder.py &

...to the end of your rc.local file with

sudo nano /etc/rc.local

You could use systemd instead, but then you don't get the same console output which is useful on the bike to see what's happening.

If you're wondering why it's in Python 2, it's because it's an evolution of raspicamcorder which was written in Python 2. It should be relatively easy to make it Python 3, but I'd rather spend my time making it work the way I want than satisfying the fussy requirements people with issues.

To my mind it makes no sense to start a completely new project in Python 2 these days unless it needs to interact with legacy Python 2 stuff. Well this IS legacy Python 2 stuff, not a completely new project.

About

A dashcam for bicycles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published