Tika Flv File ExtractionTo extract flv file, Tika provides FLVParser class. This class is used to extract content and metadata from the .flv file. It is located into the org.apache.tika.parser.video package and contains various constructors and methods that are tabled below. Tika FLVParser Constructor
Tika FLVParser Methods
Tika Flv File Extraction ExampleIn the following example, we are extracting content and metadata from .flv file. See the example. Output: Document Content: Document Metadata: hasVideo: true hasAudio: true framerate: 24.0 audiodatarate: 51.421875 audiocodecid: 2.0 videodatarate: 781.25 audiosamplesize: 16.0 audiosamplerate: 22050.0 filesize: 90580.0 duration: 1.167 videocodecid: 2.0 stereo: false width: 170.0 Content-Type: video/x-flv height: 120.0
Next Topic#
|