Hi, 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. Eg: ffmpeg -first_rtcp_ntp_time_path out.mp4.ntp -i rtsp://10.0.0.1/ -c copy out.mp4 Regards, -Jonathan.
0001-avformat-rtsp-add-first_rtcp_ntp_time_path-option-to.patch
Description: Binary data
_______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
