git clone https://github.com/ossrs/srs.git
cd srs/trunk/research
vi api-server/server.py
# modify srs_ip
vi python-ffmpeg.yml
version: '3'
services:
python-ffmpeg:
restart: always
image: t5750/python-ffmpeg
container_name: python-ffmpeg
hostname: python-ffmpeg
ports:
- 8085:8085
environment:
TZ: Asia/Shanghai
volumes:
- /etc/localtime:/etc/localtime:ro
- ./api-server/server.py:/usr/local/srs/api-server/server.py
docker-compose -f python-ffmpeg.yml up -d
http://localhost:8085/live/livestream-best.png
This project is Open Source software released under the Apache 2.0 license.
Content type
Image
Digest
Size
342 MB
Last updated
over 5 years ago
docker pull t5750/python-ffmpeg