mqtt
This commit is contained in:
parent
5cccf42674
commit
94d3120867
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
current_time=$(date +"%Y-%m-%d-%H-%M-%S")
|
||||
ffmpeg -rtsp_transport tcp -i rtsp://admin:123456@192.168.0.123:554/mpeg4 -c:v libx265 -preset fast -crf 31 -c:a aac -vf scale=1920x1280:flags=lanczos -f mp4 segment -segment_time 900 file_$current_time.mp4
|
||||
ffmpeg -rtsp_transport tcp -i rtsp://admin:123456@192.168.0.123:554/mpeg4 -c:v libx265 -preset fast -crf 31 -c:a aac -vf scale=1920x1280:flags=lanczos -f mp4 segment -segment_time 900 /home/pi/mp4/file_$current_time.mp4
|
||||
|
|
Loading…
Reference in New Issue