GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
FLV::Tag(3) User Contributed Perl Documentation FLV::Tag(3)

FLV::Tag - Flash video file data structure

See FLV::Info

This is a subclass of FLV::Base.
$self->parse($fileinst)
$self->parse($fileinst, {opt => $optvalue, ...})
Takes a FLV::File instance and extracts an FLV tag from the file stream. This method then multiplexes that tag into one of the subtypes: video, audio or meta. This method throws exceptions if the stream is not a valid FLV v1.0 or v1.1 file.

At the end, this method stores the subtag instance, which can be retrieved with get_payload().

There is no return value.

An option of "record_positions =" 1> causes the byte offset of the tag to be stored in the instance. This is intended for testing and/or debugging, so there is no public accessor for that property.

$self->get_payload()
Returns the subtag instance found by parse(). This will be instance of FLV::VideoTag, FLV::AudioTag or FLV::MetaTag.
$pkg->copy_tag($old_tag, $new_tag)
Perform a generic part of the clone behavior for the tag subtypes.
$pkg->serialize($tag, $filehandle)
$self->serialize($tag, $filehandle)
Serializes the specified video, audio or meta tag. If that representation is not complete, this throws an exception via croak(). Returns a boolean indicating whether writing to the file handle was successful.

See FLV::Info
2009-03-14 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.