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

Michael Glenn Williams michael.glenn.williams at smartblondeco.com
Sat Apr 18 02:38:08 EEST 2020


We have interest in being able to read timestamps in protocol headers also.

Do we have a doc that specifies which protocols in the video stream ffmpeg
supports with a timecode, and what format of the timecode is?

Does anyone have experience which layer  within the network stack has a
timestamp that is accessible, available and reliable?




On Fri, Apr 17, 2020 at 3:59 PM Roger Pack <rogerdpack2 at gmail.com> wrote:

> On Tue, Sep 3, 2019 at 3:01 PM Alejandro Escudero
> <escuderoserrano at hotmail.com> 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:pass at myddns.dyndns.org: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
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list