I am trying to get a RTSP stream from an IP Camera and save that stream as several MP4 segments, but i need that each file segment name gets the real time stamp of the video stream. (If I use the -strftime 1, it gets the time of the local machine but i need the real rtsp time). How can I get the Real Time Stamp?
I've been using Python to archive my RTSP IP camera footage. This is the
Python code I use to name the file the current date and time. Basically I
have the program terminate and start a new ffmpeg instance every 20
minutes. It would be nice though if ffmpeg could segment and timestamp the
files itself. Not sure how you would do that exactly.