On Tue, 11 Aug 2015, Ganesh Ajjanagadde wrote:

Fixes Ticket4595

Signed-off-by: Ganesh Ajjanagadde <gajjanaga...@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
+@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
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to