[FFmpeg-devel] [PATCH] ffprobe: print start_pts and duration_pts stream information
Stefano Sabatini
stefasab at gmail.com
Wed Sep 12 10:30:57 CEST 2012
On date Wednesday 2012-09-12 00:44:06 +0200, Clément Bœsch encoded:
> On Tue, Sep 11, 2012 at 10:37:39PM +0200, Stefano Sabatini wrote:
> > On date Tuesday 2012-09-11 19:04:29 +0200, Clément Bœsch encoded:
[...]
> > > Why duration wouldn't be expressed in time by default? I mean what's the
> > > purpose? I don't see much point in deprecating something we will likely
> > > never remove (for various reasons you are aware of) and is now duplicated.
> >
> > "duration" is used in packet and frame and is expressed in timebase
> > units (so we have "duration_time" which expresses duration in
> > seconds), so this one will be an exception.
> >
> > I'm not really happy about this, but yes backward compatibility should
> > be favored, but I'd like to be able to remove the inconsistency.
> >
>
> "start time" and "duration" don't sound inconsistent to me; "start" would
> be very evasive without "time", and it sounds pretty obvious to me that
> duration is in "time" unit.
>
> > Patch updated.
>
> Thanks, the patch looks fine to me.
Applied.
--
FFmpeg = F and Fascinating Mysterious Pacific EnGraver
More information about the ffmpeg-devel
mailing list