[FFmpeg-devel] [PATCH] doc: make timespec more precise

Ganesh Ajjanagadde gajjanag at mit.edu
Tue Aug 11 18:45:18 CEST 2015


On Tue, Aug 11, 2015 at 12:32 PM, Marton Balint <cus at passwd.hu> wrote:
>
> 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?

You are right. Will modify accordingly.

>
> Regards,
> Marton
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


More information about the ffmpeg-devel mailing list