5.2.3.2 flv

FLV files can contain a SCRIPTDATA tag named onMetadata, documented in section E.5 of the FLV and F4V specification. Beginning in Flash version 10, FLV files can also contain XMP metadata. Refer to the above XMP metadata format mapping table for more details. Technical metadata should be taken from the onMetadata tag according to the table below.

MAWGRelationFlash (FLV)How to do the mappingDatatypeXPath
Descriptive Properties (Core Set)
Identification
identifierN/A
Content description
descriptionN/A
Technical Properties
frameSizeexactThe width and height fields from the onMetadata tag. The units are always pixels.DOUBLE, 64-bit IEEE float
compressionNot directly represented. Implicit in the audiocodecid and videocodecid fields from the onMetadata tag.
durationexactThe duration field from the onMetadata tag. The unit is always seconds.DOUBLE, 64-bit IEEE float
formatexactvideo/x-flvstaticMIME type
samplingRateexactThe audiosamplerate field from the onMetadata tag. The unit is always samples per second.DOUBLE, 64-bit IEEE float
frameRateexactThe framerate field from the onMetadata tag. The unit is always frames per second.DOUBLE, 64-bit IEEE float
averageBitRateexactThe sum of the audiodatarate and videodatarate fields from the onMetadata tag. The units are always kilobits per second.DOUBLE, 64-bit IEEE float
numTracksexactFLV files contain at most 1 audio track and at most 1 video track. There are 1-bit flags in the FLV header telling if audio or video are present.