Public | Automated Build

Last pushed: 2 days ago
Short Description
An Open Source Flash Server written in Java
Full Description

red5

Red5 is an Open Source Flash Server written in Java.

docker-compose.yml

red5:
  image: vimagick/red5
  ports:
    - "1935:1935"
  restart: always

Server Setup

$ docker-compose up -d
$ docker-compose exec red5 bash
>>> vi /opt/red5/conf/red5.properties
>>> exit
$ docker-compose restart

Client Setup

# no watermark
$ ffmpeg -i /dev/video0 -video_size 800x600 -b 512k -f flv rtmp://easypi.pro/live/webcam

# with watermark (top right with 10px padding)
$ ffmpeg -i /dev/video0 -video_size 800x600 -vf "drawtext=fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf:expansion=strftime:text='\%F^L    \%T':fontcolor=white@0.8:x=w-tw-10:y=10" -b 512k -f flv rtmp://easypi.pro/live/webcam

Note: ^L was typed via pressing Ctrl-V + Ctrl-L

Please try easypi/rtmp-client-arm on Raspberry Pi.

Player Setup

# kodi
$ echo 'rtmp://easypi.pro/live/webcam live=1' > ~/Movies/webcam.strm

# ffplay
$ brew reinstall ffmpeg --with-ffplay --with-rtmpdump
$ ffplay 'rtmp://easypi.pro/live/webcam live=1'

references

Docker Pull Command
Owner
vimagick
Source Repository