[FFmpeg-devel] [FFmpeg-cvslog] ffmpeg: Implement support for seeking relative to EOF
Michael Niedermayer
michael at niedermayer.cc
Wed Jul 29 19:02:44 CEST 2015
On Wed, Jul 29, 2015 at 06:23:02PM +0200, Clément Bœsch wrote:
> On Wed, Jul 29, 2015 at 05:32:14PM +0200, Michael Niedermayer wrote:
> > ffmpeg | branch: master | Michael Niedermayer <michael at 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 <michael at 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.
> >
> > + at 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?
iam not sure but feel free to change it
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150729/227ce609/attachment.sig>
More information about the ffmpeg-devel
mailing list