Sign inSign up

t5750/python-ffmpeg

By t5750

•Updated over 5 years ago

HttpCallback for SRS Snapshot

Image
0

1.2K

t5750/python-ffmpeg repository overview

⁠HttpCallback for SRS Snapshot

⁠Getting Started

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
⁠Test

http://localhost:8085/live/livestream-best.png⁠

⁠Runtime Environment

⁠References

⁠License

This project is Open Source software released under the Apache 2.0 license⁠.

Tag summary

Content type

Image

Digest

Size

342 MB

Last updated

over 5 years ago

docker pull t5750/python-ffmpeg