Comments (3)
You can add a Power button to the pi and write a little script to shutdown when pressing the Button.
from dashcam.
A power button could work but, in essence, it would be accomplishing the same thing as an unplug.
From the README:
The recordings are initially recording with an .h264 extension and once the designated video length is reached the script convert the video to .mp4. This works pretty well but if the Pi is turned off mid-recording, then the latest file will still have that .h264 extension, so take note of that.
If you are using a USB drive, as the project outlines, then simply unplugging the USB drive from the Pi will have the video files there - the only exception being they may be in a .h264 format. This isn't a big deal, since you could use FFmpeg, VLC, or some other converter to get it into a .mp4 format for convenience.
from dashcam.
Oh, I misread @RT3K's comment. Yes a script would be a smart way of doing this.
from dashcam.
Related Issues (3)
- No staellite/ Invalid fix quality HOT 2
- USB or SDCard? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dashcam.