[FFmpeg-user] ADD REAL TIME STAMP TO RTSP STREAM SEGMENT

Alejandro Escudero escuderoserrano at hotmail.com
Wed Sep 4 00:01:03 EEST 2019


Hi,

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 am suing this command:


ffmpeg -rtsp_transport tcp -i "rtsp://admin:pass@myddns.dyndns.org:554/cam/realmonitor?channel=1&subtype=0" –f segment -segment_time 5 -c copy  OUT%d.mp4



Thanks!


Alejandro

[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  Libre de virus. www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>


More information about the ffmpeg-user mailing list