[FFmpeg-devel] [PATCH] doc: make timespec more precise
Marton Balint
cus at passwd.hu
Tue Aug 11 18:32:27 CEST 2015
On Tue, 11 Aug 2015, Ganesh Ajjanagadde wrote:
> Fixes Ticket4595
>
> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
> ---
> doc/ffmpeg.texi | 11 +++++++----
> doc/ffplay.texi | 12 ++++++++++--
> 2 files changed, 17 insertions(+), 6 deletions(-)
>
[...]
> diff --git a/doc/ffplay.texi b/doc/ffplay.texi
> index 1ee3c30..4c74713 100644
> --- a/doc/ffplay.texi
> +++ b/doc/ffplay.texi
> @@ -47,9 +47,17 @@ Disable video.
> @item -sn
> Disable subtitles.
> @item -ss @var{pos}
> -Seek to a given position in seconds.
> +Seek to @var{pos}. Note that in most formats it is not possible to seek
> +exactly, so @command{ffplay} will seek to the closest seek point before
> + at var{pos}.
Is this actually true? FFplay is using
avformat_seek_file(ic, -1, INT64_MIN, timestamp, INT64_MAX, 0)
for the initial seek, and according to docs this seeks to the keyframe
closest to timestamp, and not to the keyframe before timestamp. Or am I
missing something?
Regards,
Marton
More information about the ffmpeg-devel
mailing list