https://github.com/fjebaker/argus-js
NodeJS and Vue app for synchronised video playback during, e.g. a pandemic lockdown.
https://github.com/fjebaker/argus-js
Last synced: 3 months ago
JSON representation
NodeJS and Vue app for synchronised video playback during, e.g. a pandemic lockdown.
- Host: GitHub
- URL: https://github.com/fjebaker/argus-js
- Owner: fjebaker
- License: gpl-3.0
- Created: 2020-09-10T16:51:46.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-07T21:27:42.000Z (over 5 years ago)
- Last Synced: 2025-07-27T04:37:43.771Z (10 months ago)
- Language: Vue
- Size: 140 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# argus-js
A synchronized video player application, for watching films together with your friends/colleagues.
## Setup
Install dependencies with
```bash
npm install
```
Build the Vue app with
```bash
npm run build
```
which will create a `dist` directory at the root of the project.
### Adding video content
In the current build, the video content must be served as `.m3u8` and `.ts` files. You can convert an `.mp4` into the required format with
```bash
ffmpeg -i [inputfile].mp4 \
-profile:v baseline \
-level 3.0 \
-start_number 0 \
-hls_time 10 \
-hls_list_size 0 \
-f hls \
[outputdir]/index.m3u8
```
The video content must then be in the root directory under `videos`, with each title indexed by subdirectory, such that the overall setup looks along these lines:
```
webapp.js
dist/
videos/
- title1/
- index.m3u8
- index01.ts
- ...
- title2/
- index.m3u8
- index01.ts
- ...
```
### Run
Build and then
```bash
node webapp.js
```
and connect to [localhost:8081](http://localhost:8081).
## ToDo
- configuration files
- more versatile video formats
- tighter interaction
- silly features like reaction buttons