GitHunt
JA

janhalama/docker-ffmpeg-pipe

ffmpeg-pipe

Docker image comes with installed FFmpeg. FFmpeg is configured to stream video from ENV $INPUT_STREAM to $OUTPUT_STREAM no video stream conversions are applied.

Built on Alpine Linux.

  • ffmpeg 4.2.1

Docker Stars
Docker Pulls
Docker Automated build
Build Status

Build

To build Docker image use following command:

docker build -t ffmpeg-pipe .

Usage

Run standalone ffmpeg video pipe

  • Clone repo
  • Pull docker image
  • Run docker
git clone https://github.com/janhalama/docker-ffmpeg-pipe.git
cd docker-ffmpeg-pipe
docker pull janhalama/ffmpeg-pipe
docker run -it -e "INPUT_STREAM=<your input stream (rtsp,...)>" -e "OUTPUT_STREAM=<your output rtmp stream>"

Example integration with nginx-rtmp docker service

  • Clone repo
  • Run docker compose script
git clone https://github.com/janhalama/docker-ffmpeg-pipe.git
cd docker-ffmpeg-pipe
docker-compose up
  • Now HLS stream is available on http:\localhost:80\live\test

Resources

Languages

Dockerfile95.1%Shell4.9%

Contributors

GNU General Public License v3.0
Created December 6, 2019
Updated December 9, 2019
janhalama/docker-ffmpeg-pipe | GitHunt