[FFmpeg-devel] Short last frame with movenc
Michael Niedermayer
michaelni at gmx.at
Sat Oct 6 05:13:09 CEST 2012
On Thu, Sep 20, 2012 at 04:41:51PM +0100, Al Crate wrote:
> Hi, I`m trying to encoded a prores movie into a mov container.
>
> This works fine with
>
> time_base.den = 24
> time_base.num = 1
>
> But if I try
>
> time_base.den = 600
> time_base.num = 25
>
> I get problems with moveenc setting the duration of the last frame
> to 1, instead of 25.
>
> It looks like oformat->write_header() which is called in
> avformat_write_header is setting the AVStream time_base to 600:1
> instead of 600:25.
>
> Can some one reproduce this, I did a packet dump and the durations
> are all 0.0002, whereas using 24/1 they come out with the correct
> duration of 0.042.
can you provide the input file you used and the command line so it
can be reproduced ?
i had no luck with a quick try with a random file
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121006/ef7d1a7a/attachment.asc>
More information about the ffmpeg-devel
mailing list