Clotho Advanced Media > FLV-Info > FLV::VideoTag

Download:
FLV-Info-0.17.tgz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  1
View Bugs
Report a bug
Module Version: 0.17   Source   Latest Release: FLV-Info-0.24

NAME ^

FLV::VideoTag - Flash video file data structure

LICENSE ^

Copyright 2006 Clotho Advanced Media, Inc., <cpan@clotho.com>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

METHODS ^

This is a subclass of FLV::Base.

$self->parse($fileinst)

Takes a FLV::File instance and extracts an FLV video tag 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.

Note: this method needs more work to extract the codec specific data.

$self->serialize()

Returns a byte string representation of the tag data. Throws an exception via croak() on error.

$self->get_info()

Returns a hash of FLV metadata. See FLV::Info for more details.

$self->is_keyframe()

Returns a boolean.

AUTHOR ^

Clotho Advanced Media Inc., cpan@clotho.com

Primary developer: Chris Dolan