Created
September 27, 2019 06:55
-
-
Save mauron85/8a8d5b865578c962f2e6af54a3808212 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -rtsp_transport tcp \ | |
-analyzeduration 100000 -probesize 100000 \ | |
-i rtsp://guest:[email protected]:554/h264Preview_01_main \ | |
-f segment -segment_time 300 -segment_format mpegts \ | |
-reset_timestamps 1 \ | |
-strftime 1 \ | |
-c copy \ | |
-movflags frag_keyframe /mnt/sda2/rec/cam-%Y%m%d-%H%M%S.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment