On Tue, Sep 3, 2019 at 3:01 PM Alejandro Escudero
<[email protected]> wrote:
>
> 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:[email protected]:554/cam/realmonitor?channel=1&subtype=0" 
> –f segment -segment_time 5 -c copy  OUT%d.mp4


Maybe if not mp4 it will use the capture ts?
Maybe -copyts 
https://ffmpeg-user.ffmpeg.narkive.com/fzTrnfHX/getting-precise-start-time-from-wall-clock-for-capture
?
Maybe -use_source_wallclock_as_timestamps
https://lists.ffmpeg.org/pipermail/ffmpeg-user/2016-March/031250.html
Maybe https://stackoverflow.com/questions/51085133/does-pts-have-to-start-at-0
GL!
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to