On Thu, May 23, 2019 at 16:51:16 +1200, Jonathan Viney wrote: > > The NTP time from the first RTCP packet is currently extracted in > > libavformat/rtsp.c and stored in AVFormatContext.start_time_realtime. > > However, there is no way to access this value when using ffmpeg from the > > commandline. > > > > This patch adds an option when using an RTSP input to write the value to a > > file when it is received.
Is this useful for anything? Would it be more useful in a metadata key? (Just wondering, not critisizing.) > + av_strlcatf(buf, sizeof(buf), "%lld", > s->start_time_realtime); start_time_realtime is int64_t, so the format identifier should be '"%" PRIi64'. Moritz _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".