diff --git a/record.sh b/record.sh index d0a651b..8f7d68d 100755 --- a/record.sh +++ b/record.sh @@ -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