Files
monibuca/example/qiaopin/config.yaml
2024-11-08 15:17:22 +08:00

52 lines
1.3 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
global:
loglevel: debug
http: :8080
tcp: :50052
rtsp:
tcp:
listenaddr: :8554
pull:
# live/kqnmg3ikb: rtsp://192.168.4.101:8554/main
live/test: rtsp://localhost:6554/test.mp4
# live/h265: rtsp://localhost:6554/h265.mp4
#
webrtc:
enable: false
rtmp:
tcp:
listenaddr: :11935
logrotate:
level: trace
#formatter: 2006-01-02T15:04 # 分钟
formatter: 2006-01-02T15 # 小时
mp4:
enable: false
delpart: 0 # -1表示不删除0表示第0个1表示第1个比如 live/test 0 就是删除 live以此类推。如果大于分段则不删除
# pull:
# record/test: record/live/test?start=2024-09-12T10:25:00
publish:
delayclosetimeout: 1s
onpub:
record:
^live.*:
fragment: 10s
filepath: record/$0
#
transcode:
onpub:
transform:
live/kqnmg3ikb:
output:
- target: "srt://push.arbor3d.cn:9000?streamid=#!::h=push.arbor3d.cn,r=live/fnewr85ca,txSecret=f5ee9cb891501d63328571c86f279ab0,txTime=68DFF300"
conf: -c:v hevc_nvmpi -b:v 3M -maxrate 4M -bufsize 2M -g 30 -an -s 2560x1280 -r 24
live/test:
input:
mode: rtmp
output:
- target: "rtmp://127.0.0.1:11935/live/xxxx"
conf: -c:v h264 -b:v 3M -maxrate 4M -bufsize 2M -g 30 -an -s 320x240 -r 24