22 $info = &$this->getid3->info;
24 $this->
error(
'Bink / Smacker files not properly processed by this version of getID3() ['.$this->getid3->version().
']');
27 $fileTypeID = $this->
fread(3);
28 switch ($fileTypeID) {
48 $info = &$this->getid3->info;
49 $info[
'fileformat'] =
'bink';
50 $info[
'video'][
'dataformat'] =
'bink';
52 $fileData =
'BIK'.$this->fread(13);
57 if ((
$info[
'avdataend'] -
$info[
'avdataoffset']) != (
$info[
'bink'][
'data_size'] + 8)) {
58 $this->
error(
'Probably truncated file: expecting '.
$info[
'bink'][
'data_size'].
' bytes, found '.(
$info[
'avdataend'] -
$info[
'avdataoffset']));
65 $info = &$this->getid3->info;
66 $info[
'fileformat'] =
'smacker';
67 $info[
'video'][
'dataformat'] =
'smacker';
static LittleEndian2Int($byteword, $signed=false)
getID3() by James Heinrich info@getid3.org //
static PrintHexBytes($string, $hex=true, $spaces=true, $htmlencoding='UTF-8')
fseek($bytes, $whence=SEEK_SET)