[Ffmpeg-devel] [PATCH] ASF Duration

Michael Niedermayer michaelni
Sat Sep 30 22:02:50 CEST 2006


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?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list