[Libav-user] FLV logic question

Hendrik Leppkes h.leppkes at gmail.com
Thu Jun 20 16:31:06 CEST 2013


On Thu, Jun 20, 2013 at 4:16 PM, Mark Stevans <mark39518 at cesinst.com> wrote:
> 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?
>
>

Please don't top post on this mailing list.

Regarding your question, the metadata that is being skipped here is
processed in the block above.
It is used to set the various properties in the acodec and vcodec
structures, so there is no need to put it into the generic metadata
anymore.


More information about the Libav-user mailing list