ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Public Member Functions | |
getid3_mp3 (&$fd, &$ThisFileInfo) | |
GuessEncoderOptions (&$ThisFileInfo) | |
decodeMPEGaudioHeader ($fd, $offset, &$ThisFileInfo, $recursivesearch=true, $ScanAsCBR=false, $FastMPEGheaderScan=false) | |
RecursiveFrameScanning (&$fd, &$ThisFileInfo, &$offset, &$nextframetestoffset, $ScanAsCBR) | |
FreeFormatFrameLength ($fd, $offset, &$ThisFileInfo, $deepscan=false) | |
getOnlyMPEGaudioInfoBruteForce ($fd, &$ThisFileInfo) | |
getOnlyMPEGaudioInfo ($fd, &$ThisFileInfo, $avdataoffset, $BitrateHistogram=false) | |
MPEGaudioVersionArray () | |
MPEGaudioLayerArray () | |
MPEGaudioBitrateArray () | |
MPEGaudioFrequencyArray () | |
MPEGaudioChannelModeArray () | |
MPEGaudioModeExtensionArray () | |
MPEGaudioEmphasisArray () | |
MPEGaudioHeaderBytesValid ($head4, $allowBitrate15=false) | |
MPEGaudioHeaderValid ($rawarray, $echoerrors=false, $allowBitrate15=false) | |
MPEGaudioHeaderDecode ($Header4Bytes) | |
MPEGaudioFrameLength (&$bitrate, &$version, &$layer, $padding, &$samplerate) | |
ClosestStandardMP3Bitrate ($bitrate) | |
XingVBRidOffset ($version, $channelmode) | |
LAMEvbrMethodLookup ($VBRmethodID) | |
LAMEmiscStereoModeLookup ($StereoModeID) | |
LAMEmiscSourceSampleFrequencyLookup ($SourceSampleFrequencyID) | |
LAMEsurroundInfoLookup ($SurroundInfoID) | |
LAMEpresetUsedLookup ($LAMEtag) | |
Analyze () | |
GuessEncoderOptions () | |
decodeMPEGaudioHeader ($offset, &$info, $recursivesearch=true, $ScanAsCBR=false, $FastMPEGheaderScan=false) | |
RecursiveFrameScanning (&$offset, &$nextframetestoffset, $ScanAsCBR) | |
FreeFormatFrameLength ($offset, $deepscan=false) | |
getOnlyMPEGaudioInfoBruteForce () | |
getOnlyMPEGaudioInfo ($avdataoffset, $BitrateHistogram=false) | |
![]() | |
__construct (getID3 $getid3, $call_module=null) | |
Analyze () | |
AnalyzeString ($string) | |
setStringMode ($string) | |
saveAttachment ($name, $offset, $length, $image_mime=null) | |
Static Public Member Functions | |
static | MPEGaudioVersionArray () |
static | MPEGaudioLayerArray () |
static | MPEGaudioBitrateArray () |
static | MPEGaudioFrequencyArray () |
static | MPEGaudioChannelModeArray () |
static | MPEGaudioModeExtensionArray () |
static | MPEGaudioEmphasisArray () |
static | MPEGaudioHeaderBytesValid ($head4, $allowBitrate15=false) |
static | MPEGaudioHeaderValid ($rawarray, $echoerrors=false, $allowBitrate15=false) |
static | MPEGaudioHeaderDecode ($Header4Bytes) |
static | MPEGaudioFrameLength (&$bitrate, &$version, &$layer, $padding, &$samplerate) |
static | ClosestStandardMP3Bitrate ($bit_rate) |
static | XingVBRidOffset ($version, $channelmode) |
static | LAMEvbrMethodLookup ($VBRmethodID) |
static | LAMEmiscStereoModeLookup ($StereoModeID) |
static | LAMEmiscSourceSampleFrequencyLookup ($SourceSampleFrequencyID) |
static | LAMEsurroundInfoLookup ($SurroundInfoID) |
static | LAMEpresetUsedLookup ($LAMEtag) |
Data Fields | |
$allow_bruteforce = false | |
Additional Inherited Members | |
![]() | |
ftell () | |
fread ($bytes) | |
fseek ($bytes, $whence=SEEK_SET) | |
feof () | |
isDependencyFor ($module) | |
error ($text) | |
warning ($text) | |
notice ($text) | |
![]() | |
$getid3 | |
$data_string_flag = false | |
$data_string = '' | |
$data_string_position = 0 | |
$data_string_length = 0 | |
Definition at line 24 of file module.audio.mp3.php.
getid3_mp3::Analyze | ( | ) |
Definition at line 30 of file module.audio.mp3.php.
References $info, getid3_handler\fread(), getid3_handler\fseek(), getOnlyMPEGaudioInfo(), getOnlyMPEGaudioInfoBruteForce(), and GuessEncoderOptions().
getid3_mp3::ClosestStandardMP3Bitrate | ( | $bitrate | ) |
Definition at line 1785 of file module.audio.mp3.php.
Referenced by decodeMPEGaudioHeader().
|
static |
Definition at line 1873 of file module.audio.mp3.php.
getid3_mp3::decodeMPEGaudioHeader | ( | $fd, | |
$offset, | |||
& | $ThisFileInfo, | ||
$recursivesearch = true , |
|||
$ScanAsCBR = false , |
|||
$FastMPEGheaderScan = false |
|||
) |
Definition at line 401 of file module.audio.mp3.php.
References getid3_lib\BigEndian2Int(), ClosestStandardMP3Bitrate(), getid3_handler\fread(), FreeFormatFrameLength(), getid3_handler\fseek(), LAMEmiscSourceSampleFrequencyLookup(), LAMEmiscStereoModeLookup(), LAMEpresetUsedLookup(), LAMEsurroundInfoLookup(), LAMEvbrMethodLookup(), getid3_lib\LittleEndian2Float(), MPEGaudioBitrateArray(), MPEGaudioChannelModeArray(), MPEGaudioEmphasisArray(), MPEGaudioFrameLength(), MPEGaudioFrequencyArray(), MPEGaudioHeaderDecode(), MPEGaudioHeaderValid(), MPEGaudioLayerArray(), MPEGaudioModeExtensionArray(), MPEGaudioVersionArray(), RecursiveFrameScanning(), getid3_lib\RGADadjustmentLookup(), getid3_lib\RGADamplitude2dB(), getid3_lib\RGADnameLookup(), getid3_lib\RGADoriginatorLookup(), and XingVBRidOffset().
Referenced by getid3_mpeg\getid3_mpeg(), getOnlyMPEGaudioInfo(), and RecursiveFrameScanning().
getid3_mp3::decodeMPEGaudioHeader | ( | $offset, | |
& | $info, | ||
$recursivesearch = true , |
|||
$ScanAsCBR = false , |
|||
$FastMPEGheaderScan = false |
|||
) |
Definition at line 408 of file module.audio.mp3.php.
References $info, getid3_lib\BigEndian2Int(), getid3_handler\fread(), FreeFormatFrameLength(), getid3_handler\fseek(), getid3_handler\isDependencyFor(), getid3_lib\LittleEndian2Float(), RecursiveFrameScanning(), getid3_lib\RGADadjustmentLookup(), getid3_lib\RGADamplitude2dB(), getid3_lib\RGADnameLookup(), getid3_lib\RGADoriginatorLookup(), and getid3_handler\warning().
getid3_mp3::FreeFormatFrameLength | ( | $fd, | |
$offset, | |||
& | $ThisFileInfo, | ||
$deepscan = false |
|||
) |
Definition at line 1108 of file module.audio.mp3.php.
References getid3_handler\fread(), getid3_handler\fseek(), and getid3_lib\PrintHexBytes().
Referenced by decodeMPEGaudioHeader().
getid3_mp3::FreeFormatFrameLength | ( | $offset, | |
$deepscan = false |
|||
) |
Definition at line 1131 of file module.audio.mp3.php.
References $info, getid3_handler\fread(), getid3_handler\fseek(), and getid3_lib\PrintHexBytes().
getid3_mp3::getid3_mp3 | ( | & | $fd, |
& | $ThisFileInfo | ||
) |
Definition at line 29 of file module.audio.mp3.php.
References getid3_handler\fread(), getid3_handler\fseek(), getOnlyMPEGaudioInfo(), getOnlyMPEGaudioInfoBruteForce(), and GuessEncoderOptions().
getid3_mp3::getOnlyMPEGaudioInfo | ( | $fd, | |
& | $ThisFileInfo, | ||
$avdataoffset, | |||
$BitrateHistogram = false |
|||
) |
Definition at line 1319 of file module.audio.mp3.php.
References $header, decodeMPEGaudioHeader(), getid3_handler\feof(), getid3_handler\fread(), getid3_handler\fseek(), GETID3_FREAD_BUFFER_SIZE, MPEGaudioBitrateArray(), MPEGaudioLayerArray(), and MPEGaudioVersionArray().
Referenced by Analyze(), getid3_mp3(), getid3_quicktime\getid3_quicktime(), and getid3_riff\ParseRIFF().
getid3_mp3::getOnlyMPEGaudioInfo | ( | $avdataoffset, | |
$BitrateHistogram = false |
|||
) |
Definition at line 1356 of file module.audio.mp3.php.
References $header, $info, getid3_lib\CastAsInt(), decodeMPEGaudioHeader(), getid3_handler\feof(), getid3_handler\fread(), getid3_handler\fseek(), getid3_handler\ftell(), and getid3_lib\safe_inc().
getid3_mp3::getOnlyMPEGaudioInfoBruteForce | ( | $fd, | |
& | $ThisFileInfo | ||
) |
Definition at line 1183 of file module.audio.mp3.php.
References getid3_lib\array_max(), getid3_handler\fread(), getid3_handler\fseek(), getid3_handler\ftell(), MPEGaudioBitrateArray(), MPEGaudioChannelModeArray(), MPEGaudioEmphasisArray(), MPEGaudioFrameLength(), MPEGaudioFrequencyArray(), MPEGaudioHeaderDecode(), MPEGaudioHeaderValid(), MPEGaudioLayerArray(), MPEGaudioModeExtensionArray(), and MPEGaudioVersionArray().
getid3_mp3::getOnlyMPEGaudioInfoBruteForce | ( | ) |
Definition at line 1208 of file module.audio.mp3.php.
References $info, getid3_lib\array_max(), getid3_handler\fread(), getid3_handler\fseek(), getid3_handler\ftell(), and getid3_lib\safe_inc().
Referenced by Analyze(), and getid3_mp3().
getid3_mp3::GuessEncoderOptions | ( | & | $ThisFileInfo | ) |
Definition at line 158 of file module.audio.mp3.php.
getid3_mp3::GuessEncoderOptions | ( | ) |
Definition at line 164 of file module.audio.mp3.php.
References $info.
Referenced by Analyze(), getid3_mp3(), and getid3_riff\getid3_riff().
getid3_mp3::LAMEmiscSourceSampleFrequencyLookup | ( | $SourceSampleFrequencyID | ) |
Definition at line 1862 of file module.audio.mp3.php.
Referenced by decodeMPEGaudioHeader().
|
static |
Definition at line 1949 of file module.audio.mp3.php.
getid3_mp3::LAMEmiscStereoModeLookup | ( | $StereoModeID | ) |
Definition at line 1848 of file module.audio.mp3.php.
Referenced by decodeMPEGaudioHeader().
|
static |
Definition at line 1935 of file module.audio.mp3.php.
getid3_mp3::LAMEpresetUsedLookup | ( | $LAMEtag | ) |
Definition at line 1882 of file module.audio.mp3.php.
Referenced by decodeMPEGaudioHeader().
|
static |
Definition at line 1969 of file module.audio.mp3.php.
getid3_mp3::LAMEsurroundInfoLookup | ( | $SurroundInfoID | ) |
Definition at line 1872 of file module.audio.mp3.php.
Referenced by decodeMPEGaudioHeader().
|
static |
Definition at line 1959 of file module.audio.mp3.php.
getid3_mp3::LAMEvbrMethodLookup | ( | $VBRmethodID | ) |
Definition at line 1832 of file module.audio.mp3.php.
Referenced by decodeMPEGaudioHeader().
|
static |
Definition at line 1919 of file module.audio.mp3.php.
getid3_mp3::MPEGaudioBitrateArray | ( | ) |
Definition at line 1558 of file module.audio.mp3.php.
Referenced by decodeMPEGaudioHeader(), getOnlyMPEGaudioInfo(), getOnlyMPEGaudioInfoBruteForce(), and MPEGaudioHeaderValid().
|
static |
Definition at line 1646 of file module.audio.mp3.php.
getid3_mp3::MPEGaudioChannelModeArray | ( | ) |
Definition at line 1589 of file module.audio.mp3.php.
Referenced by decodeMPEGaudioHeader(), getOnlyMPEGaudioInfoBruteForce(), and MPEGaudioHeaderValid().
|
static |
Definition at line 1677 of file module.audio.mp3.php.
getid3_mp3::MPEGaudioEmphasisArray | ( | ) |
Definition at line 1606 of file module.audio.mp3.php.
Referenced by decodeMPEGaudioHeader(), getOnlyMPEGaudioInfoBruteForce(), and MPEGaudioHeaderValid().
|
static |
Definition at line 1694 of file module.audio.mp3.php.
getid3_mp3::MPEGaudioFrameLength | ( | & | $bitrate, |
& | $version, | ||
& | $layer, | ||
$padding, | |||
& | $samplerate | ||
) |
Definition at line 1724 of file module.audio.mp3.php.
Referenced by decodeMPEGaudioHeader(), and getOnlyMPEGaudioInfoBruteForce().
|
static |
Definition at line 1812 of file module.audio.mp3.php.
getid3_mp3::MPEGaudioFrequencyArray | ( | ) |
Definition at line 1577 of file module.audio.mp3.php.
Referenced by decodeMPEGaudioHeader(), getOnlyMPEGaudioInfoBruteForce(), and MPEGaudioHeaderValid().
|
static |
Definition at line 1665 of file module.audio.mp3.php.
getid3_mp3::MPEGaudioHeaderBytesValid | ( | $head4, | |
$allowBitrate15 = false |
|||
) |
Definition at line 1611 of file module.audio.mp3.php.
References MPEGaudioHeaderDecode(), and MPEGaudioHeaderValid().
Referenced by getid3_riff\ParseRIFF().
|
static |
Definition at line 1699 of file module.audio.mp3.php.
getid3_mp3::MPEGaudioHeaderDecode | ( | $Header4Bytes | ) |
Definition at line 1687 of file module.audio.mp3.php.
References getid3_lib\BigEndian2Int().
Referenced by decodeMPEGaudioHeader(), getid3_quicktime\getid3_quicktime(), getOnlyMPEGaudioInfoBruteForce(), and MPEGaudioHeaderBytesValid().
|
static |
Definition at line 1775 of file module.audio.mp3.php.
References getid3_lib\BigEndian2Int().
getid3_mp3::MPEGaudioHeaderValid | ( | $rawarray, | |
$echoerrors = false , |
|||
$allowBitrate15 = false |
|||
) |
Definition at line 1615 of file module.audio.mp3.php.
References MPEGaudioBitrateArray(), MPEGaudioChannelModeArray(), MPEGaudioEmphasisArray(), MPEGaudioFrequencyArray(), MPEGaudioLayerArray(), MPEGaudioModeExtensionArray(), and MPEGaudioVersionArray().
Referenced by decodeMPEGaudioHeader(), getid3_quicktime\getid3_quicktime(), getOnlyMPEGaudioInfoBruteForce(), and MPEGaudioHeaderBytesValid().
|
static |
Definition at line 1703 of file module.audio.mp3.php.
getid3_mp3::MPEGaudioLayerArray | ( | ) |
Definition at line 1553 of file module.audio.mp3.php.
Referenced by decodeMPEGaudioHeader(), getOnlyMPEGaudioInfo(), getOnlyMPEGaudioInfoBruteForce(), and MPEGaudioHeaderValid().
|
static |
Definition at line 1641 of file module.audio.mp3.php.
getid3_mp3::MPEGaudioModeExtensionArray | ( | ) |
Definition at line 1594 of file module.audio.mp3.php.
Referenced by decodeMPEGaudioHeader(), getOnlyMPEGaudioInfoBruteForce(), and MPEGaudioHeaderValid().
|
static |
Definition at line 1682 of file module.audio.mp3.php.
getid3_mp3::MPEGaudioVersionArray | ( | ) |
Definition at line 1548 of file module.audio.mp3.php.
Referenced by decodeMPEGaudioHeader(), getOnlyMPEGaudioInfo(), getOnlyMPEGaudioInfoBruteForce(), and MPEGaudioHeaderValid().
|
static |
Definition at line 1636 of file module.audio.mp3.php.
getid3_mp3::RecursiveFrameScanning | ( | & | $fd, |
& | $ThisFileInfo, | ||
& | $offset, | ||
& | $nextframetestoffset, | ||
$ScanAsCBR | |||
) |
Definition at line 1070 of file module.audio.mp3.php.
References decodeMPEGaudioHeader(), and GETID3_MP3_VALID_CHECK_FRAMES.
Referenced by decodeMPEGaudioHeader().
getid3_mp3::RecursiveFrameScanning | ( | & | $offset, |
& | $nextframetestoffset, | ||
$ScanAsCBR | |||
) |
Definition at line 1085 of file module.audio.mp3.php.
References $info, decodeMPEGaudioHeader(), and GETID3_MP3_VALID_CHECK_FRAMES.
getid3_mp3::XingVBRidOffset | ( | $version, | |
$channelmode | |||
) |
Definition at line 1806 of file module.audio.mp3.php.
Referenced by decodeMPEGaudioHeader().
|
static |
Definition at line 1893 of file module.audio.mp3.php.
getid3_mp3::$allow_bruteforce = false |
Definition at line 27 of file module.audio.mp3.php.