Coder Social home page Coder Social logo

teslacam-browser's Introduction

TeslaCam Browser

This is a simple browser for TeslaCam recordings. These are the files that are generated by Dashcam and Sentry Mode on Tesla vehicles.

To use this app, simply click the "Open..." button and browse to the TeslaCam folder (either by plugging the TeslaCam USB drive into your PC / Mac, or possibly accessing it as a network share over WiFi if supported). It'll aggregate clips by date and present them on a calendar, and a dropdown list to select individual events on that date.

Basic video playback controls let you view all available cameras side-by-side. Clicking on a video will open a file browser pointing to the source file.

Installation

Installation packages are available on the Releases page.

Running from the command line

While using the installation packages is the simplest option, you can also run the app from the command line (you'll need to ensure Electron is installed first).

cd teslacam-browser
npm install
electron .

Running as a headless server

You can run the app as a standalone headless server, even on a Raspberry Pi:

cd teslacam-browser
npm install
node server.js /path/to/TeslaCam

You can then open the app in a browser by pointing to http://localhost:8088 (replace localhost with address of your server).

HEVC codec

It appears newer Tesla software versions encode video in HEVC / H-265 format, which Chrome seems unable to handle. All you'll see are blank areas where the videos should be, and clicking "Play" will throw an error (shown in a red box). If this occurs, clicking the "Browse" button will attempt to open the app in your default web browser. If it still doesn't work, opening the same address in Safari (macOS) or Edge (Windows) should help.

tesla_dashcam

If you've installed tesla_dashcam, you can use it to merge clips from the command-line using a folder path provided by TeslaCam Browser:

  1. Select the date and event folder you'd like to merge in TeslaCam Browser
  2. Click the "Copy" button; this will copy the folder path into the clipboard
  3. Open a Terminal (macOS) or Command Prompt (Windows) and invoke tesla_dashcam (pasting the file path from the clipboard) > tesla_dashcam "<paste_folder_here>"

License

CC0 1.0 (Public Domain)

Donations

Donate

teslacam-browser's People

Contributors

zeke avatar jlord avatar kevinsawicki avatar bobstrogg avatar dependabot[bot] avatar dependabot-support avatar sebastianschmidt avatar tcyrus avatar codebytere avatar chankruze avatar marshallofsound avatar izuzak avatar shiftkey avatar bratsos avatar louis993546 avatar icodeforbananas avatar nathan-owen avatar haacked avatar richienb avatar sahildua2305 avatar skibit avatar steevedroz avatar zanesterling avatar bokuweb avatar fscherwi avatar icoxfog417 avatar laiso avatar pratu16x7 avatar auchenberg avatar falkendk avatar

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.