[Ffmpeg-devel] [PATCH] ASF Duration

Guillaume POIRIER poirierg
Sun Oct 1 18:54:50 CEST 2006


Hi,

On 9/30/06, Michael Niedermayer <michaelni at gmx.at> wrote:
> Hi
>
> On Fri, Sep 29, 2006 at 05:49:58PM -0500, Brian Brice wrote:
> > Hello.
> > I've found that encoding with the ASF output format always gave a
> > duration that was off by 2 seconds.  For example, I transcode 30
> > seconds worth to an ASF file, and the result file has a reported
> > duration of 28.5 seconds.  The duration written in the ASF header
> > does not take into account the preroll of 2 seconds.  To find the
> > duration of an ASF clip, the play duration has the preroll subtracted
> > from it.  In this case, it would always be off by 2 seconds.  This
> > patch takes the preroll into account.  Thanks!
>
> looks ok except that it doesnt update the regession checksums or dont
> they change?

They do change. Attached patch adds the new checksum. I will apply it
in a few minutes since you OKed the original patch.

Guillaume

-- 
With DADVSI (http://en.wikipedia.org/wiki/DADVSI), France finally has
a lead on USA on selling out individuals right to corporations!
Vive la France!




More information about the ffmpeg-devel mailing list