# videocast

> Send video files to your Chromecast from your CLI, control volume, seek, pause, stop... from your terminal

Latest version **1.2.1** (published 2015-05-13) · ISC license · 0 weekly downloads

## Install

```sh
npm install videocast
pnpm add videocast
yarn add videocast
bun add videocast
```

Provides the command `cast`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.1 |
| Published | 2015-05-13 |
| First published | 2015-04-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Nicolas Chambrier |
| Maintainers | naholyr |

## Links

- npm: https://www.npmjs.com/package/videocast
- Repository: https://github.com/naholyr/videocast
- Issues: https://github.com/naholyr/videocast/issues
- npm.io page: https://npm.io/package/videocast

## Dependencies (3)

- [debug](https://npm.io/package/debug.md) ^2.1.3
- [i-promise](https://npm.io/package/i-promise.md) ^1.1.0
- [chromecast-js](https://npm.io/package/chromecast-js.md) ^0.1.7

## Recent versions

- 1.2.1 (latest) — 2015-05-13
- 1.2.0 — 2015-05-01
- 1.1.0 — 2015-04-30
- 1.0.0 — 2015-04-30

## README

# videocast

For Chromecast owners: stream a local video to your Chromecast from command-line. Controls (volume, seek, pause...) are read from your terminal, and video is hosted and converted on the fly so you don't have to worry about anything!

## Requirements

* Node
* ffmpeg

## Installation

```sh
npm install -g videocast
```

## Usage

```sh
cast /path/to/file
```

### Controls

* Up/Down: increase/decrease volume
* Left/Right: seek -/+ 30 seconds (seems not to be working)
* Space: pause/resume
* Ctrl+C: stop and quit

## This is a work in progress!

### What's working

* Converting and casting to local first Chromecast found (conversion is not a gadget, tested on lots of files, without conversion many have no sound)
* Controls on a Linux terminal

### What's planned

* Find out why 'seek' is not working
* Check other platforms (different key codes? crappy encodings? who knows...)
* CLI options (start time, ffmpeg output)
* Remove dependency to ffmpeg (if possible)
* Why not making a fully working TTY player interface?

### Want to contribute?

Don't hesitate to fork and propose pull requests! When project is cloned, best way to test is using debug:

```sh
npm install
DEBUG=* ./bin/cast.js /path/to/file
```

---
_Source: https://npm.io/package/videocast · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
