[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/ID3/ -> module.audio-video.matroska.php (summary)

Matroska constants

File Size: 2072 lines (112 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

getid3_matroska:: (23 methods):
  Analyze()
  parseEBML()
  EnsureBufferHasEnoughData()
  readEBMLint()
  readEBMLelementData()
  getEBMLelement()
  unhandledElement()
  ExtractCommentsSimpleTag()
  HandleEMBLSimpleTag()
  HandleEMBLClusterBlock()
  EBML2Int()
  EBMLdate2unix()
  TargetTypeValue()
  BlockLacingType()
  CodecIDtoCommonName()
  EBMLidName()
  displayUnit()
  getDefaultStreamInfo()
  playtimeFromMetadata()
  resetParserBuffer()
  scanStartEndForClusters()
  getTimecodeScale()
  calculatePlaytimeFromClusters()


Class: getid3_matroska  - X-Ref


Analyze()   X-Ref

return: bool

parseEBML(&$info)   X-Ref

param: array $info

EnsureBufferHasEnoughData($min_data=1024)   X-Ref

param: int $min_data
return: bool

readEBMLint()   X-Ref

return: int|float|false

readEBMLelementData($length, $check_buffer=false)   X-Ref

param: int  $length
param: bool $check_buffer
return: string|false

getEBMLelement(&$element, $parent_end, $get_data=false)   X-Ref

param: array      $element
param: int        $parent_end
param: array|bool $get_data
return: bool

unhandledElement($type, $line, $element)   X-Ref

param: string $type
param: int    $line
param: array  $element

ExtractCommentsSimpleTag($SimpleTagArray)   X-Ref

param: array $SimpleTagArray
return: bool

HandleEMBLSimpleTag($parent_end)   X-Ref

param: int $parent_end
return: array

HandleEMBLClusterBlock($element, $block_type, &$info)   X-Ref

param: array $element
param: int   $block_type
param: array $info
return: array

EBML2Int($EBMLstring)   X-Ref

param: string $EBMLstring
return: int|float|false

EBMLdate2unix($EBMLdatestamp)   X-Ref

param: int $EBMLdatestamp
return: float

TargetTypeValue($target_type)   X-Ref

param: int $target_type
return: string|int

BlockLacingType($lacingtype)   X-Ref

param: int $lacingtype
return: string|int

CodecIDtoCommonName($codecid)   X-Ref

param: string $codecid
return: string

EBMLidName($value)   X-Ref

param: int $value
return: string

displayUnit($value)   X-Ref

param: int $value
return: string

getDefaultStreamInfo($streams)   X-Ref

param: array $streams
return: array

playtimeFromMetadata(&$info)   X-Ref

param: array $info
return: float|bool Duration when present in metadata or false

resetParserBuffer($offset)   X-Ref

param: int $offset New starting offset for the buffer
return: void

scanStartEndForClusters(&$info)   X-Ref
Scan start and end of file for cluster information when Duration is missing
Only use this if no Duration was found in the Info element and we are not in parse_whole_file mode

param: array $info
return: void

getTimecodeScale(&$info)   X-Ref
Fetch TimecodeScale from Info element

param: array $info
return: int TimecodeScale value

calculatePlaytimeFromClusters(&$info)   X-Ref
Calculate duration from scanned cluster timecodes

param: array $info
return: void



Generated : Sun Jun 14 08:20:09 2026 Cross-referenced by PHPXref