38 $info = &$this->getid3->info;
40 $info[
'error'][] =
'Bink / Smacker files not properly processed by this version of GetId3Core() [' . $this->getid3->version() .
']';
42 fseek($this->getid3->fp,
$info[
'avdataoffset'], SEEK_SET);
43 $fileTypeID =
fread($this->getid3->fp, 3);
44 switch ($fileTypeID) {
69 $info = &$this->getid3->info;
70 $info[
'fileformat'] =
'bink';
71 $info[
'video'][
'dataformat'] =
'bink';
73 $fileData =
'BIK' .
fread($this->getid3->fp, 13);
82 if ((
$info[
'avdataend'] -
$info[
'avdataoffset']) != (
$info[
'bink'][
'data_size'] + 8)) {
83 $info[
'error'][] =
'Probably truncated file: expecting ' .
$info[
'bink'][
'data_size'] .
' bytes, found ' . (
$info[
'avdataend'] -
$info[
'avdataoffset']);
95 $info = &$this->getid3->info;
96 $info[
'fileformat'] =
'smacker';
97 $info[
'video'][
'dataformat'] =
'smacker';
static PrintHexBytes($string, $hex=true, $spaces=true, $htmlencoding='UTF-8')
GetId3() by James Heinrich info@getid3.org //.
fseek($bytes, $whence=SEEK_SET)
GetId3() by James Heinrich info@getid3.org //.
static LittleEndian2Int($byteword, $signed=false)