chore: update readme.

This commit is contained in:
Alf
2021-03-18 21:08:11 -07:00
parent 1a173b2031
commit 907e320d26
3 changed files with 8 additions and 2 deletions

View File

@@ -7,6 +7,8 @@
[![Go Report Card](https://goreportcard.com/badge/github.com/alfg/ffmpegd)](https://goreportcard.com/report/github.com/alfg/ffmpegd)
[![Docker Pulls](https://img.shields.io/docker/pulls/alfg/ffmpegd.svg)](https://hub.docker.com/r/alfg/ffmpegd/)
[![Docker Automated build](https://img.shields.io/docker/automated/alfg/ffmpegd.svg)](https://hub.docker.com/r/alfg/ffmpegd/builds/)
[![Docker Image Push](https://github.com/alfg/ffmpegd/actions/workflows/docker.yml/badge.svg)](https://github.com/alfg/ffmpegd/actions/workflows/docker.yml)
[![goreleaser](https://github.com/alfg/ffmpegd/actions/workflows/release.yml/badge.svg)](https://github.com/alfg/ffmpegd/actions/workflows/release.yml)
## How It Works
`ffmpegd` connects [FFmpeg Commander](https://alfg.github.io/ffmpeg-commander) to [ffmpeg](https://www.ffmpeg.org/) by providing a websocket server to send encode tasks and receive realtime progress updates back to the browser. This allows using `ffmpeg-commander` as a GUI for `ffmpeg`.

View File

@@ -1,5 +1,9 @@
# WebSocket Client Demo
To run this demo, start `ffmpegd` and load `http://localhost:8080/demo` in your browser.
To run this demo, build and start `ffmpegd` and load `http://localhost:8080/demo` in your browser.
```
go build -v && ./ffmpegd
```
http://localhost:8080/demo/

View File

@@ -101,7 +101,7 @@
}
function onMessage(evt) {
writeToScreen('<span style="color: blue;">RESPONSE: ' + evt.data+'</span>');
writeToScreen('<span style="color: blue;">RESPONSE: ' + evt.data + '</span>');
}
function onError(evt) {