lot_manager/conf/push_stream.conf

9 lines
411 B
Plaintext

[program:push_stream]
directory=/home/lihai/PycharmProjects/pythonProject/lot_manager
command=/usr/bin/ffmpeg -rtsp_transport tcp -re -i rtsp://admin:123456@192.168.0.123:554/mpeg4 -c:v copy -c:a aac -preset ultrafast -r 20 -flvflags no_duration_filesize -f rtsp -rtsp_transport tcp rstp://127.0.0.1:554/live/test
user=lihai
autostart=false
autorestart=true
redirect_stderr=true
stopsignal=TERM
stopasgroup=True