Class FLVParser

  • All Implemented Interfaces:
    Serializable, org.apache.tika.parser.Parser

    public class FLVParser
    extends org.apache.tika.parser.AbstractParser

    Parser for metadata contained in Flash Videos (.flv). Resources: http://osflash.org/flv and for AMF: http://download.macromedia.com/pub/labs/amf/amf0_spec_121207.pdf

    This parser is capable of extracting the general metadata from header as well as embedded metadata.

    Known keys for metadata (from file header):

    1. hasVideo: true|false
    2. hasSound: true|false

    In addition to the above values also metadata that is inserted in to the actual stream will be picked. Usually there are keys like: hasKeyframes, lastkeyframetimestamp, audiocodecid, keyframes, filepositions, hasMetadata, audiosamplerate, videodatarate metadatadate, videocodecid, metadatacreator, audiosize, hasVideo, height, audiosamplesize, framerate, hasCuePoints width, cuePoints, lasttimestamp, canSeekToEnd, datasize, duration, videosize, filesize, audiodatarate, hasAudio, stereo audiodelay

    See Also:
    Serialized Form
    • Constructor Detail

      • FLVParser

        public FLVParser()
    • Method Detail

      • getSupportedTypes

        public Set<org.apache.tika.mime.MediaType> getSupportedTypes​(org.apache.tika.parser.ParseContext context)