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 >> >

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_re

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 ac

[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

Re: [FFmpeg-devel] [PATCH] libavformat/keyframes: output keyframe indexes

2015-05-04 Thread Jonathan Viney
| grep -n flags=K | cut -f1 -d: Thanks, -Jonathan. On Mon, May 4, 2015 at 11:01 PM, Michael Niedermayer michae...@gmx.at wrote: On Mon, May 04, 2015 at 02:35:45AM +1200, Jonathan Viney wrote: Hi, First patch here. I wrote this format to be able to get the keyframe indexes faster than seemed

[FFmpeg-devel] [PATCH] libavformat/keyframes: output keyframe indexes

2015-05-03 Thread Jonathan Viney
a/libavformat/keyframes.c b/libavformat/keyframes.c new file mode 100644 index 000..da6e054 --- /dev/null +++ b/libavformat/keyframes.c @@ -0,0 +1,96 @@ +/* + * Output keyframe indexes. + * + * Copyright (c) 2015 Jonathan Viney + * + * This file is part of FFmpeg. + * + * FFmpeg is free software