Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
FLV::Header(3)	      User Contributed Perl Documentation	FLV::Header(3)

NAME
       FLV::Header - Flash video file data structure

LICENSE
       See FLV::Info

METHODS
       This is a subclass of FLV::Base.

       FLV::Header->new()
	   Create a new	instance.

       FLV::Header->create_from_body($body)
	   Given an FLV::Body instance,	construct a new	header.

       $self->parse($fileinst)
	   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.

       $self->clone()
	   Create an independent copy of this instance.

       $self->serialize($filehandle)
	   Serializes the in-memory FLV	header.	 If that representation	is not
	   complete, this throws an exception via croak().  Returns the	number
	   of bytes written.

       $self->has_video()
	   Returns a boolean indicating	if the FLV header predicts that	video
	   data	is enclosed in the stream.

	   This	value is not consulted internally.

       $self->has_audio()
	   Returns a boolean indicating	if the FLV header predicts that	audio
	   data	is enclosed in the stream.

	   This	value is not consulted internally.

AUTHOR
       See FLV::Info

perl v5.32.0			  2009-03-14			FLV::Header(3)

NAME | LICENSE | METHODS | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=FLV::Header&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help