This program uses ffmpeg to ingest an RTSP feed and turn it into uniform mp4 videos.
Takes a camera address, checks for then creates an empty folder, then records 30 second chunks of video to mp4s. You can interrupt the process by typing 'y,' which will signal to the thread running ffmpeg that this is its last loop.
1: Compile for intended system. 2: Place .exe file where you want the output folder to go. 3: Run the program from command line with the address of your rtmp stream as an additional parameter.
Example: ConsoleApplication.exe rtsp://127.0.0.1:8554/stream
- integrate Azure Blob Storage
- upload blobs to storage
- delete local mp4 chunks