Re: [FFmpeg-devel] [PATCH] avformat/rtsp: Add -first_rtcp_ntp_time_path option to write the first NTP time to a file.

2019-05-29 Thread Jonathan Viney
On Thu, May 23, 2019 at 8:10 PM Jonathan Viney wrote: > On Thu, May 23, 2019 at 7:14 PM Moritz Barsnick wrote: > >> 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

Re: [FFmpeg-devel] [PATCH] avformat/rtsp: Add -first_rtcp_ntp_time_path option to write the first NTP time to a file.

2019-05-23 Thread Jonathan Viney
On Thu, May 23, 2019 at 7:14 PM Moritz Barsnick wrote: > 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

Re: [FFmpeg-devel] [PATCH] avformat/rtsp: Add -first_rtcp_ntp_time_path option to write the first NTP time to a file.

2019-05-23 Thread Moritz Barsnick
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 > >

Re: [FFmpeg-devel] [PATCH] avformat/rtsp: Add -first_rtcp_ntp_time_path option to write the first NTP time to a file.

2019-05-22 Thread Jonathan Viney
Apologies, here is the patch in text/plain. On Thu, May 23, 2019 at 4:44 PM Jonathan Viney wrote: > 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

[FFmpeg-devel] [PATCH] avformat/rtsp: Add -first_rtcp_ntp_time_path option to write the first NTP time to a file.

2019-05-22 Thread Jonathan Viney
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