[FFmpeg-devel] [PATCH]FLVmetainjection(similartoFLVTOOLS2butan addon patch for FFMPEG)

Michael Niedermayer michaelni
Wed Aug 15 23:11:29 CEST 2007


Hi

On Wed, Aug 15, 2007 at 06:26:54PM +0000, andrew wrote:
> Is there an easy way to pass the duration of a movie from
> an input movie and pass it into the output movie when
> writing the header? Ive been looking through and not really
> seen any hint of it, but just wanted to make double sure 
> before I abandon this approach.

i think what you want to know is the number of keyframes and
this is practically never known at the time at which the header
is written
the number of frames also is often not known
and even the duration in seconds is not known in many cases
(mpeg-ps/ts and any form of grabing which the user aborts at his
choice ...)

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

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070815/0f688cda/attachment.pgp>



More information about the ffmpeg-devel mailing list