record 5 minutes (300 seconds) video and save it using current date time:-
ffmpeg -i rtsp://admin:admin@192.168.1.231 -t 300 $(date +%F_%H-%M-%S).mp4
record video in 15fps:-
ffmpeg -i rtsp://admin:admin@192.168.1.231 -t 300 -r 15 $(date +%F_%H-%M-%S).mp4
record 1 minute video from 2 / more rtsp address and save it using current date time:-
ffmpeg -i rtsp://192.168.80.107 -t 60 -map 0:v $(date +%F_%H-%M-%S)a.mp4 \-i rtsp://192.168.80.108 -t 60 -map 1:v $(date +%F_%H-%M-%S)b.mp4 \
-i rtsp://192.168.80.109 -t 60 -map 2:v $(date +%F_%H-%M-%S)c.mp4 \
-i rtsp://192.168.80.110 -t 60 -map 3:v -r 15 $(date +%F_%H-%M-%S)d.mp4 \
No comments:
Post a Comment