[FFmpeg-devel] [PATCH] ffprobe: add -ss option
stefasab at gmail.com
Sun Sep 15 20:15:09 CEST 2013
On date Wednesday 2012-10-24 22:27:27 +0200, Michael Niedermayer encoded:
> On Tue, Oct 23, 2012 at 01:41:14AM +0200, Stefano Sabatini wrote:
> > On date Monday 2012-10-22 17:09:01 +0200, Michael Niedermayer encoded:
> > > On Mon, Oct 22, 2012 at 04:02:16PM +0200, Stefano Sabatini wrote:
> > > > This is useful to test seeking on an input file.
> > >
> > > if its for testing seeking, it might be interresting to allow
> > > specifying more than 1 value.
> > > that is seek to X demux for Y duration then seek to Z
> > What about:
> > INTERVAL ::= (START+DURATION)|(START-END)
> > INTERVALS ::= INTERVAL[,INTERVALS]
> > where START, END, and DURATION are duration specifications.
Implemented this (in attachment). Now in ticket:
they ask to implement the equivalent of -frames:SPEC (indeed this
looks like a different feature), but maybe I could extend the syntax
and/or accept the syntax:
to mean to read from the very start of the file (or from the current
position) until the ending point is met. Suggestions are welcome.
For example to read just the first 10 packets, we could specify:
or maybe I could implement a distinct -frames:SPEC option.
FFmpeg = Fast & Formidable Mastodontic Peaceful Emblematic Game
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8597 bytes
Desc: not available
More information about the ffmpeg-devel