Closed zhenhappy closed 1 year ago
config.json
{ "version": "2.0.0", "resource": { "lists": [ "/video/example_1.mp4", "/video/example_2.mp4" ] }, "output": { "lists": [ { "path": "rtmp://127.0.0.1:1935/push" } ] } }
docker命令 docker run --rm -it --name kplayer -p 1935:1935 -v $PWD/video:/video -v $PWD/config.json:/kplayer/config.json bytelang/kplayer:latest
log
output path 推流地址需要一个可用的推流地址
config.json
docker命令 docker run --rm -it --name kplayer -p 1935:1935 -v $PWD/video:/video -v $PWD/config.json:/kplayer/config.json bytelang/kplayer:latest
log