FLV::Body is a flash video file data structure.
This is a subclass of FLV::Base.
Takes a FLV::File instance and extracts the FLV body from the file stream. This method throws exceptions if the stream is not a valid FLV v1.0 or v1.1 file.
There is no return value.
Serializes the in-memory FLV body. If that representation is not complete, this throws an exception via croak(). Returns a boolean indicating whether writing to the file handle was successful.
Returns a hash of FLV metadata. See File::Info for more details.
Returns an array of tag instances.
Returns the number of video tags in the FLV stream.
Returns the number of audio tags in the FLV stream.
Returns the number of meta tags in the FLV stream.
Returns the start timestamp of the last tag, in milliseconds.
These are convenience functions for interacting with an onMetadata tag at time 0, which is a common convention in FLV files. If the 0th tag is not an FLV::MetaTag instance, one is created and prepended to the tag list.
See also get_value and set_value in FLV::MetaTag.