FlvInspector
class FlvInspector extends Inspector (View source)
An inspector to process FLV (Flash Video) files.
Methods
array|null
array|null
readFlvHeader(resource $fp)
No description
array|null
readFlvTag(resource $fp, int $tagOffset)
No description
int
parseUI8(string $data)
No description
int
parseUI16(string $data)
No description
int
parseUI24(string $data)
No description
int
parseUI32(string $data)
No description
float
parseDouble(string $data)
IEEE 754.
array|null
extractScriptTagBody(string $data)
No description
mixed
extractScriptDataValue(string $data)
No description
int
extractScriptDataValue_UI16(string $data)
No description
float
extractScriptDataValue_Double(string $data)
No description
bool
extractScriptDataValue_Boolean(string $data)
No description
string
extractScriptDataValue_String(string $data)
No description
array
extractScriptDataValue_ECMAArray(string $data)
No description
Details
inspect(Version $fv)
This method is called when a File\Version class refreshes its attributes.
This can be used to update the File\Version attributes as well as its contents.
array|null
getFlvMetadata(Version $fv)
No description
private resource|null
getStream(Version $fv)
No description
private array|null
readFlvHeader(resource $fp)
No description
private array|null
readFlvTag(resource $fp, int $tagOffset)
No description
private int
parseUI8(string $data)
No description
private int
parseUI16(string $data)
No description
private int
parseUI24(string $data)
No description
private int
parseUI32(string $data)
No description
private float
parseDouble(string $data)
IEEE 754.
private array|null
extractScriptTagBody(string $data)
No description
private mixed
extractScriptDataValue(string $data)
No description
private int
extractScriptDataValue_UI16(string $data)
No description
private float
extractScriptDataValue_Double(string $data)
No description
private bool
extractScriptDataValue_Boolean(string $data)
No description
private string
extractScriptDataValue_String(string $data)
No description
private array
extractScriptDataValue_ECMAArray(string $data)
No description