[Libav-user] FLV logic question
mark39518 at cesinst.com
Thu Jun 20 16:16:56 CEST 2013
Thanks for the quick reply, Hendrik. But you say that the data is
*already* stored somewhere: I just don't see how that is possible. When
you open a random FLV clip file, the first thing you usually encounter
is the Metadata packet. How can you know what codec is being used, the
height/width, etc. without parsing that metadata? I mean, isn't that
why it's put there at the start of the file?
Or does FFMPEG rely on elaborate probing methods to deduce that metadata
in the case where no header is present, and so, for consistency, it just
ignores the header metadata if it *is* present?
On 6/20/2013 6:59 AM, Hendrik Leppkes wrote:
> On Thu, Jun 20, 2013 at 3:55 PM, Mark Stevans <mark39518 at cesinst.com> wrote:
>> Frankly, I'm baffled by lines 445-457 of the trunk version of
>> "libavformat/flvdec.c". Can anyone explain their purpose? Thanks!
> These metadata properties are already stored in the codec/stream
> config structures, so it doesn't make any sense to duplicate them into
> the metadata, and are therefor skipped.
> Libav-user mailing list
> Libav-user at ffmpeg.org
More information about the Libav-user