GithubHelp home page GithubHelp logo

Shutdown Pi/Stop Recording about dashcam HOT 3 CLOSED

ursius2020 avatar ursius2020 commented on June 3, 2024
Shutdown Pi/Stop Recording

from dashcam.

Comments (3)

RT3K avatar RT3K commented on June 3, 2024

You can add a Power button to the pi and write a little script to shutdown when pressing the Button.

from dashcam.

notchum avatar notchum commented on June 3, 2024

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.

notchum avatar notchum commented on June 3, 2024

Oh, I misread @RT3K's comment. Yes a script would be a smart way of doing this.

from dashcam.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.