FLV::Header - Flash video file data structure
See FLV::Info
This is a subclass of FLV::Base.
Takes a FLV::File instance and extracts the FLV header from the file stream. This method throws exceptions if the stream is not a valid FLV v1.0 or v1.1 file. The interpretation is a bit stricter than other FLV parsers (for example FLVTool2).
There is no return value.
Serializes the in-memory FLV header. If that representation is not complete, this throws an exception via croak(). Returns the number of bytes written.
Returns a boolean indicating if the FLV header predicts that video data is enclosed in the stream.
This value is not consulted internally.
Returns a boolean indicating if the FLV header predicts that audio data is enclosed in the stream.
To install FLV::Info, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FLV::Info
CPAN shell
perl -MCPAN -e shell install FLV::Info
For more information on module installation, please visit the detailed CPAN module installation guide.