On Wed, Jul 29, 2015 at 05:32:14PM +0200, Michael Niedermayer wrote:
> ffmpeg | branch: master | Michael Niedermayer <mich...@niedermayer.cc> | Mon 
> Jul 27 04:30:26 2015 +0200| [f4ada6dc3ff7a5c4193d2b30151a48de8e219c94] | 
> committer: Michael Niedermayer
> 
> ffmpeg: Implement support for seeking relative to EOF
> 
> Fixes Ticket227
> 
> Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc>
> 
> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f4ada6dc3ff7a5c4193d2b30151a48de8e219c94
> ---
> 
>  doc/ffmpeg.texi |    5 +++++
>  ffmpeg.h        |    1 +
>  ffmpeg_opt.c    |    6 ++++++
>  3 files changed, 12 insertions(+)
> 
> diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
> index 4d73788..3806a12 100644
> --- a/doc/ffmpeg.texi
> +++ b/doc/ffmpeg.texi
> @@ -307,6 +307,11 @@ input until the timestamps reach @var{position}.
>  
>  @var{position} may be either in seconds or in @code{hh:mm:ss[.xxx]} form.
>  
> +@item -sseof @var{position} (@emph{input/output})
> +
> +Like the -ss option but relative to the "end of file". That is negative
> +values are earlier in the file, 0 is at EOF.
> +
[...]

Also, don't you think a better interface would be to specify a negative
seek value?

-- 
Clément B.

Attachment: pgpyfSzYPyJPQ.pgp
Description: PGP signature

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to