https://github.com/jsuereth/streamerz
Playground of Akka Streams and video processing in Scala
https://github.com/jsuereth/streamerz
Last synced: about 1 year ago
JSON representation
Playground of Akka Streams and video processing in Scala
- Host: GitHub
- URL: https://github.com/jsuereth/streamerz
- Owner: jsuereth
- Created: 2015-02-05T14:02:44.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2020-09-25T17:51:15.000Z (over 5 years ago)
- Last Synced: 2025-01-25T10:41:28.574Z (over 1 year ago)
- Language: HTML
- Size: 390 KB
- Stars: 67
- Watchers: 7
- Forks: 14
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Streamerz
A playground of video processing examples in Akka streams and Scala (with some Kafka).
It's always been said that the best way to learn a topic through meme engineering.
This set of libraries enables all the fun you never wanted to have.
## Examples
1. Rendering your webcam to the terminal in Ascii art
```
$ sbt "examples/runMain examples.AsciiWebcam"
```
2. Render video (and audio) to the terminal in Ascii Art
```
$ sbt "examples/runMain examples.AsciiVideo"
```
3. Create a swing video player that can play/pause an mp4
```
$ sbt "examples/runMain examples.VideoPlayer"
```
4. Run a web server that streams your webcam to web browsers in Ascii art
Dependencies:
```
$ brew install kafka
$ brew install zookeper
```
Run in 3 terminals:
```
$ zkServer start
$ kafka-server-start.sh /usr/local/etc/kafka/server.properties
$ sbt "examples/runMain examples.asciiweb.feed.AsciiImageProducer"
$ sbt "examples/runMain examples.asciiweb.ws.Main"
```
You can now check your webcam/drone feed as an Ascii-art animation on `http://localhost:8080`
## License
Apache 2 for all libraries EXCEPT:
- ffmpeg library is LGPL v3 (Xuggler)
- example package is LGPL v3 (viral Xuggler)