Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-inclu.../ID3
File: module.audio-video.riff.php
'IDIM'=>'dimensions',
[2000] Fix | Delete
'IDIT'=>'digitizationdate',
[2001] Fix | Delete
'IDPI'=>'resolution',
[2002] Fix | Delete
'IDST'=>'distributor',
[2003] Fix | Delete
'IEDT'=>'editor',
[2004] Fix | Delete
'IENG'=>'engineers',
[2005] Fix | Delete
'IFRM'=>'accountofparts',
[2006] Fix | Delete
'IGNR'=>'genre',
[2007] Fix | Delete
'IKEY'=>'keywords',
[2008] Fix | Delete
'ILGT'=>'lightness',
[2009] Fix | Delete
'ILNG'=>'language',
[2010] Fix | Delete
'IMED'=>'orignalmedium',
[2011] Fix | Delete
'IMUS'=>'composer',
[2012] Fix | Delete
'INAM'=>'title',
[2013] Fix | Delete
'IPDS'=>'productiondesigner',
[2014] Fix | Delete
'IPLT'=>'palette',
[2015] Fix | Delete
'IPRD'=>'product',
[2016] Fix | Delete
'IPRO'=>'producer',
[2017] Fix | Delete
'IPRT'=>'part',
[2018] Fix | Delete
'IRTD'=>'rating',
[2019] Fix | Delete
'ISBJ'=>'subject',
[2020] Fix | Delete
'ISFT'=>'software',
[2021] Fix | Delete
'ISGN'=>'secondarygenre',
[2022] Fix | Delete
'ISHP'=>'sharpness',
[2023] Fix | Delete
'ISRC'=>'sourcesupplier',
[2024] Fix | Delete
'ISRF'=>'digitizationsource',
[2025] Fix | Delete
'ISTD'=>'productionstudio',
[2026] Fix | Delete
'ISTR'=>'starring',
[2027] Fix | Delete
'ITCH'=>'encoded_by',
[2028] Fix | Delete
'IWEB'=>'url',
[2029] Fix | Delete
'IWRI'=>'writer',
[2030] Fix | Delete
'____'=>'comment',
[2031] Fix | Delete
);
[2032] Fix | Delete
foreach ($RIFFinfoKeyLookup as $key => $value) {
[2033] Fix | Delete
if (isset($RIFFinfoArray[$key])) {
[2034] Fix | Delete
foreach ($RIFFinfoArray[$key] as $commentid => $commentdata) {
[2035] Fix | Delete
if (!empty($commentdata['data']) && trim($commentdata['data']) != '') {
[2036] Fix | Delete
if (isset($CommentsTargetArray[$value])) {
[2037] Fix | Delete
$CommentsTargetArray[$value][] = trim($commentdata['data']);
[2038] Fix | Delete
} else {
[2039] Fix | Delete
$CommentsTargetArray[$value] = array(trim($commentdata['data']));
[2040] Fix | Delete
}
[2041] Fix | Delete
}
[2042] Fix | Delete
}
[2043] Fix | Delete
}
[2044] Fix | Delete
}
[2045] Fix | Delete
return true;
[2046] Fix | Delete
}
[2047] Fix | Delete
[2048] Fix | Delete
/**
[2049] Fix | Delete
* @param string $WaveFormatExData
[2050] Fix | Delete
*
[2051] Fix | Delete
* @return array
[2052] Fix | Delete
*/
[2053] Fix | Delete
public static function parseWAVEFORMATex($WaveFormatExData) {
[2054] Fix | Delete
// shortcut
[2055] Fix | Delete
$WaveFormatEx = array();
[2056] Fix | Delete
$WaveFormatEx['raw'] = array();
[2057] Fix | Delete
$WaveFormatEx_raw = &$WaveFormatEx['raw'];
[2058] Fix | Delete
[2059] Fix | Delete
$WaveFormatEx_raw['wFormatTag'] = substr($WaveFormatExData, 0, 2);
[2060] Fix | Delete
$WaveFormatEx_raw['nChannels'] = substr($WaveFormatExData, 2, 2);
[2061] Fix | Delete
$WaveFormatEx_raw['nSamplesPerSec'] = substr($WaveFormatExData, 4, 4);
[2062] Fix | Delete
$WaveFormatEx_raw['nAvgBytesPerSec'] = substr($WaveFormatExData, 8, 4);
[2063] Fix | Delete
$WaveFormatEx_raw['nBlockAlign'] = substr($WaveFormatExData, 12, 2);
[2064] Fix | Delete
$WaveFormatEx_raw['wBitsPerSample'] = substr($WaveFormatExData, 14, 2);
[2065] Fix | Delete
if (strlen($WaveFormatExData) > 16) {
[2066] Fix | Delete
$WaveFormatEx_raw['cbSize'] = substr($WaveFormatExData, 16, 2);
[2067] Fix | Delete
}
[2068] Fix | Delete
$WaveFormatEx_raw = array_map('getid3_lib::LittleEndian2Int', $WaveFormatEx_raw);
[2069] Fix | Delete
[2070] Fix | Delete
$WaveFormatEx['codec'] = self::wFormatTagLookup($WaveFormatEx_raw['wFormatTag']);
[2071] Fix | Delete
$WaveFormatEx['channels'] = $WaveFormatEx_raw['nChannels'];
[2072] Fix | Delete
$WaveFormatEx['sample_rate'] = $WaveFormatEx_raw['nSamplesPerSec'];
[2073] Fix | Delete
$WaveFormatEx['bitrate'] = $WaveFormatEx_raw['nAvgBytesPerSec'] * 8;
[2074] Fix | Delete
$WaveFormatEx['bits_per_sample'] = $WaveFormatEx_raw['wBitsPerSample'];
[2075] Fix | Delete
[2076] Fix | Delete
return $WaveFormatEx;
[2077] Fix | Delete
}
[2078] Fix | Delete
[2079] Fix | Delete
/**
[2080] Fix | Delete
* @param string $WavPackChunkData
[2081] Fix | Delete
*
[2082] Fix | Delete
* @return bool
[2083] Fix | Delete
*/
[2084] Fix | Delete
public function parseWavPackHeader($WavPackChunkData) {
[2085] Fix | Delete
// typedef struct {
[2086] Fix | Delete
// char ckID [4];
[2087] Fix | Delete
// long ckSize;
[2088] Fix | Delete
// short version;
[2089] Fix | Delete
// short bits; // added for version 2.00
[2090] Fix | Delete
// short flags, shift; // added for version 3.00
[2091] Fix | Delete
// long total_samples, crc, crc2;
[2092] Fix | Delete
// char extension [4], extra_bc, extras [3];
[2093] Fix | Delete
// } WavpackHeader;
[2094] Fix | Delete
[2095] Fix | Delete
// shortcut
[2096] Fix | Delete
$info = &$this->getid3->info;
[2097] Fix | Delete
$info['wavpack'] = array();
[2098] Fix | Delete
$thisfile_wavpack = &$info['wavpack'];
[2099] Fix | Delete
[2100] Fix | Delete
$thisfile_wavpack['version'] = getid3_lib::LittleEndian2Int(substr($WavPackChunkData, 0, 2));
[2101] Fix | Delete
if ($thisfile_wavpack['version'] >= 2) {
[2102] Fix | Delete
$thisfile_wavpack['bits'] = getid3_lib::LittleEndian2Int(substr($WavPackChunkData, 2, 2));
[2103] Fix | Delete
}
[2104] Fix | Delete
if ($thisfile_wavpack['version'] >= 3) {
[2105] Fix | Delete
$thisfile_wavpack['flags_raw'] = getid3_lib::LittleEndian2Int(substr($WavPackChunkData, 4, 2));
[2106] Fix | Delete
$thisfile_wavpack['shift'] = getid3_lib::LittleEndian2Int(substr($WavPackChunkData, 6, 2));
[2107] Fix | Delete
$thisfile_wavpack['total_samples'] = getid3_lib::LittleEndian2Int(substr($WavPackChunkData, 8, 4));
[2108] Fix | Delete
$thisfile_wavpack['crc1'] = getid3_lib::LittleEndian2Int(substr($WavPackChunkData, 12, 4));
[2109] Fix | Delete
$thisfile_wavpack['crc2'] = getid3_lib::LittleEndian2Int(substr($WavPackChunkData, 16, 4));
[2110] Fix | Delete
$thisfile_wavpack['extension'] = substr($WavPackChunkData, 20, 4);
[2111] Fix | Delete
$thisfile_wavpack['extra_bc'] = getid3_lib::LittleEndian2Int(substr($WavPackChunkData, 24, 1));
[2112] Fix | Delete
for ($i = 0; $i <= 2; $i++) {
[2113] Fix | Delete
$thisfile_wavpack['extras'][] = getid3_lib::LittleEndian2Int(substr($WavPackChunkData, 25 + $i, 1));
[2114] Fix | Delete
}
[2115] Fix | Delete
[2116] Fix | Delete
// shortcut
[2117] Fix | Delete
$thisfile_wavpack['flags'] = array();
[2118] Fix | Delete
$thisfile_wavpack_flags = &$thisfile_wavpack['flags'];
[2119] Fix | Delete
[2120] Fix | Delete
$thisfile_wavpack_flags['mono'] = (bool) ($thisfile_wavpack['flags_raw'] & 0x000001);
[2121] Fix | Delete
$thisfile_wavpack_flags['fast_mode'] = (bool) ($thisfile_wavpack['flags_raw'] & 0x000002);
[2122] Fix | Delete
$thisfile_wavpack_flags['raw_mode'] = (bool) ($thisfile_wavpack['flags_raw'] & 0x000004);
[2123] Fix | Delete
$thisfile_wavpack_flags['calc_noise'] = (bool) ($thisfile_wavpack['flags_raw'] & 0x000008);
[2124] Fix | Delete
$thisfile_wavpack_flags['high_quality'] = (bool) ($thisfile_wavpack['flags_raw'] & 0x000010);
[2125] Fix | Delete
$thisfile_wavpack_flags['3_byte_samples'] = (bool) ($thisfile_wavpack['flags_raw'] & 0x000020);
[2126] Fix | Delete
$thisfile_wavpack_flags['over_20_bits'] = (bool) ($thisfile_wavpack['flags_raw'] & 0x000040);
[2127] Fix | Delete
$thisfile_wavpack_flags['use_wvc'] = (bool) ($thisfile_wavpack['flags_raw'] & 0x000080);
[2128] Fix | Delete
$thisfile_wavpack_flags['noiseshaping'] = (bool) ($thisfile_wavpack['flags_raw'] & 0x000100);
[2129] Fix | Delete
$thisfile_wavpack_flags['very_fast_mode'] = (bool) ($thisfile_wavpack['flags_raw'] & 0x000200);
[2130] Fix | Delete
$thisfile_wavpack_flags['new_high_quality'] = (bool) ($thisfile_wavpack['flags_raw'] & 0x000400);
[2131] Fix | Delete
$thisfile_wavpack_flags['cancel_extreme'] = (bool) ($thisfile_wavpack['flags_raw'] & 0x000800);
[2132] Fix | Delete
$thisfile_wavpack_flags['cross_decorrelation'] = (bool) ($thisfile_wavpack['flags_raw'] & 0x001000);
[2133] Fix | Delete
$thisfile_wavpack_flags['new_decorrelation'] = (bool) ($thisfile_wavpack['flags_raw'] & 0x002000);
[2134] Fix | Delete
$thisfile_wavpack_flags['joint_stereo'] = (bool) ($thisfile_wavpack['flags_raw'] & 0x004000);
[2135] Fix | Delete
$thisfile_wavpack_flags['extra_decorrelation'] = (bool) ($thisfile_wavpack['flags_raw'] & 0x008000);
[2136] Fix | Delete
$thisfile_wavpack_flags['override_noiseshape'] = (bool) ($thisfile_wavpack['flags_raw'] & 0x010000);
[2137] Fix | Delete
$thisfile_wavpack_flags['override_jointstereo'] = (bool) ($thisfile_wavpack['flags_raw'] & 0x020000);
[2138] Fix | Delete
$thisfile_wavpack_flags['copy_source_filetime'] = (bool) ($thisfile_wavpack['flags_raw'] & 0x040000);
[2139] Fix | Delete
$thisfile_wavpack_flags['create_exe'] = (bool) ($thisfile_wavpack['flags_raw'] & 0x080000);
[2140] Fix | Delete
}
[2141] Fix | Delete
[2142] Fix | Delete
return true;
[2143] Fix | Delete
}
[2144] Fix | Delete
[2145] Fix | Delete
/**
[2146] Fix | Delete
* @param string $BITMAPINFOHEADER
[2147] Fix | Delete
* @param bool $littleEndian
[2148] Fix | Delete
*
[2149] Fix | Delete
* @return array
[2150] Fix | Delete
*/
[2151] Fix | Delete
public static function ParseBITMAPINFOHEADER($BITMAPINFOHEADER, $littleEndian=true) {
[2152] Fix | Delete
[2153] Fix | Delete
$parsed = array();
[2154] Fix | Delete
$parsed['biSize'] = substr($BITMAPINFOHEADER, 0, 4); // number of bytes required by the BITMAPINFOHEADER structure
[2155] Fix | Delete
$parsed['biWidth'] = substr($BITMAPINFOHEADER, 4, 4); // width of the bitmap in pixels
[2156] Fix | Delete
$parsed['biHeight'] = substr($BITMAPINFOHEADER, 8, 4); // height of the bitmap in pixels. If biHeight is positive, the bitmap is a 'bottom-up' DIB and its origin is the lower left corner. If biHeight is negative, the bitmap is a 'top-down' DIB and its origin is the upper left corner
[2157] Fix | Delete
$parsed['biPlanes'] = substr($BITMAPINFOHEADER, 12, 2); // number of color planes on the target device. In most cases this value must be set to 1
[2158] Fix | Delete
$parsed['biBitCount'] = substr($BITMAPINFOHEADER, 14, 2); // Specifies the number of bits per pixels
[2159] Fix | Delete
$parsed['biSizeImage'] = substr($BITMAPINFOHEADER, 20, 4); // size of the bitmap data section of the image (the actual pixel data, excluding BITMAPINFOHEADER and RGBQUAD structures)
[2160] Fix | Delete
$parsed['biXPelsPerMeter'] = substr($BITMAPINFOHEADER, 24, 4); // horizontal resolution, in pixels per metre, of the target device
[2161] Fix | Delete
$parsed['biYPelsPerMeter'] = substr($BITMAPINFOHEADER, 28, 4); // vertical resolution, in pixels per metre, of the target device
[2162] Fix | Delete
$parsed['biClrUsed'] = substr($BITMAPINFOHEADER, 32, 4); // actual number of color indices in the color table used by the bitmap. If this value is zero, the bitmap uses the maximum number of colors corresponding to the value of the biBitCount member for the compression mode specified by biCompression
[2163] Fix | Delete
$parsed['biClrImportant'] = substr($BITMAPINFOHEADER, 36, 4); // number of color indices that are considered important for displaying the bitmap. If this value is zero, all colors are important
[2164] Fix | Delete
$parsed = array_map('getid3_lib::'.($littleEndian ? 'Little' : 'Big').'Endian2Int', $parsed);
[2165] Fix | Delete
[2166] Fix | Delete
$parsed['fourcc'] = substr($BITMAPINFOHEADER, 16, 4); // compression identifier
[2167] Fix | Delete
[2168] Fix | Delete
return $parsed;
[2169] Fix | Delete
}
[2170] Fix | Delete
[2171] Fix | Delete
/**
[2172] Fix | Delete
* @param string $DIVXTAG
[2173] Fix | Delete
* @param bool $raw
[2174] Fix | Delete
*
[2175] Fix | Delete
* @return array
[2176] Fix | Delete
*/
[2177] Fix | Delete
public static function ParseDIVXTAG($DIVXTAG, $raw=false) {
[2178] Fix | Delete
// structure from "IDivX" source, Form1.frm, by "Greg Frazier of Daemonic Software Group", email: gfrazier@icestorm.net, web: http://dsg.cjb.net/
[2179] Fix | Delete
// source available at http://files.divx-digest.com/download/c663efe7ef8ad2e90bf4af4d3ea6188a/on0SWN2r/edit/IDivX.zip
[2180] Fix | Delete
// 'Byte Layout: '1111111111111111
[2181] Fix | Delete
// '32 for Movie - 1 '1111111111111111
[2182] Fix | Delete
// '28 for Author - 6 '6666666666666666
[2183] Fix | Delete
// '4 for year - 2 '6666666666662222
[2184] Fix | Delete
// '3 for genre - 3 '7777777777777777
[2185] Fix | Delete
// '48 for Comments - 7 '7777777777777777
[2186] Fix | Delete
// '1 for Rating - 4 '7777777777777777
[2187] Fix | Delete
// '5 for Future Additions - 0 '333400000DIVXTAG
[2188] Fix | Delete
// '128 bytes total
[2189] Fix | Delete
[2190] Fix | Delete
static $DIVXTAGgenre = array(
[2191] Fix | Delete
0 => 'Action',
[2192] Fix | Delete
1 => 'Action/Adventure',
[2193] Fix | Delete
2 => 'Adventure',
[2194] Fix | Delete
3 => 'Adult',
[2195] Fix | Delete
4 => 'Anime',
[2196] Fix | Delete
5 => 'Cartoon',
[2197] Fix | Delete
6 => 'Claymation',
[2198] Fix | Delete
7 => 'Comedy',
[2199] Fix | Delete
8 => 'Commercial',
[2200] Fix | Delete
9 => 'Documentary',
[2201] Fix | Delete
10 => 'Drama',
[2202] Fix | Delete
11 => 'Home Video',
[2203] Fix | Delete
12 => 'Horror',
[2204] Fix | Delete
13 => 'Infomercial',
[2205] Fix | Delete
14 => 'Interactive',
[2206] Fix | Delete
15 => 'Mystery',
[2207] Fix | Delete
16 => 'Music Video',
[2208] Fix | Delete
17 => 'Other',
[2209] Fix | Delete
18 => 'Religion',
[2210] Fix | Delete
19 => 'Sci Fi',
[2211] Fix | Delete
20 => 'Thriller',
[2212] Fix | Delete
21 => 'Western',
[2213] Fix | Delete
),
[2214] Fix | Delete
$DIVXTAGrating = array(
[2215] Fix | Delete
0 => 'Unrated',
[2216] Fix | Delete
1 => 'G',
[2217] Fix | Delete
2 => 'PG',
[2218] Fix | Delete
3 => 'PG-13',
[2219] Fix | Delete
4 => 'R',
[2220] Fix | Delete
5 => 'NC-17',
[2221] Fix | Delete
);
[2222] Fix | Delete
[2223] Fix | Delete
$parsed = array();
[2224] Fix | Delete
$parsed['title'] = trim(substr($DIVXTAG, 0, 32));
[2225] Fix | Delete
$parsed['artist'] = trim(substr($DIVXTAG, 32, 28));
[2226] Fix | Delete
$parsed['year'] = intval(trim(substr($DIVXTAG, 60, 4)));
[2227] Fix | Delete
$parsed['comment'] = trim(substr($DIVXTAG, 64, 48));
[2228] Fix | Delete
$parsed['genre_id'] = intval(trim(substr($DIVXTAG, 112, 3)));
[2229] Fix | Delete
$parsed['rating_id'] = ord(substr($DIVXTAG, 115, 1));
[2230] Fix | Delete
//$parsed['padding'] = substr($DIVXTAG, 116, 5); // 5-byte null
[2231] Fix | Delete
//$parsed['magic'] = substr($DIVXTAG, 121, 7); // "DIVXTAG"
[2232] Fix | Delete
[2233] Fix | Delete
$parsed['genre'] = (isset($DIVXTAGgenre[$parsed['genre_id']]) ? $DIVXTAGgenre[$parsed['genre_id']] : $parsed['genre_id']);
[2234] Fix | Delete
$parsed['rating'] = (isset($DIVXTAGrating[$parsed['rating_id']]) ? $DIVXTAGrating[$parsed['rating_id']] : $parsed['rating_id']);
[2235] Fix | Delete
[2236] Fix | Delete
if (!$raw) {
[2237] Fix | Delete
unset($parsed['genre_id'], $parsed['rating_id']);
[2238] Fix | Delete
foreach ($parsed as $key => $value) {
[2239] Fix | Delete
if (empty($value)) {
[2240] Fix | Delete
unset($parsed[$key]);
[2241] Fix | Delete
}
[2242] Fix | Delete
}
[2243] Fix | Delete
}
[2244] Fix | Delete
[2245] Fix | Delete
foreach ($parsed as $tag => $value) {
[2246] Fix | Delete
$parsed[$tag] = array($value);
[2247] Fix | Delete
}
[2248] Fix | Delete
[2249] Fix | Delete
return $parsed;
[2250] Fix | Delete
}
[2251] Fix | Delete
[2252] Fix | Delete
/**
[2253] Fix | Delete
* @param string $tagshortname
[2254] Fix | Delete
*
[2255] Fix | Delete
* @return string
[2256] Fix | Delete
*/
[2257] Fix | Delete
public static function waveSNDMtagLookup($tagshortname) {
[2258] Fix | Delete
$begin = __LINE__;
[2259] Fix | Delete
[2260] Fix | Delete
/** This is not a comment!
[2261] Fix | Delete
[2262] Fix | Delete
©kwd keywords
[2263] Fix | Delete
©BPM bpm
[2264] Fix | Delete
©trt tracktitle
[2265] Fix | Delete
©des description
[2266] Fix | Delete
©gen category
[2267] Fix | Delete
©fin featuredinstrument
[2268] Fix | Delete
©LID longid
[2269] Fix | Delete
©bex bwdescription
[2270] Fix | Delete
©pub publisher
[2271] Fix | Delete
©cdt cdtitle
[2272] Fix | Delete
©alb library
[2273] Fix | Delete
©com composer
[2274] Fix | Delete
[2275] Fix | Delete
*/
[2276] Fix | Delete
[2277] Fix | Delete
return getid3_lib::EmbeddedLookup($tagshortname, $begin, __LINE__, __FILE__, 'riff-sndm');
[2278] Fix | Delete
}
[2279] Fix | Delete
[2280] Fix | Delete
/**
[2281] Fix | Delete
* @param int $wFormatTag
[2282] Fix | Delete
*
[2283] Fix | Delete
* @return string
[2284] Fix | Delete
*/
[2285] Fix | Delete
public static function wFormatTagLookup($wFormatTag) {
[2286] Fix | Delete
[2287] Fix | Delete
$begin = __LINE__;
[2288] Fix | Delete
[2289] Fix | Delete
/** This is not a comment!
[2290] Fix | Delete
[2291] Fix | Delete
0x0000 Microsoft Unknown Wave Format
[2292] Fix | Delete
0x0001 Pulse Code Modulation (PCM)
[2293] Fix | Delete
0x0002 Microsoft ADPCM
[2294] Fix | Delete
0x0003 IEEE Float
[2295] Fix | Delete
0x0004 Compaq Computer VSELP
[2296] Fix | Delete
0x0005 IBM CVSD
[2297] Fix | Delete
0x0006 Microsoft A-Law
[2298] Fix | Delete
0x0007 Microsoft mu-Law
[2299] Fix | Delete
0x0008 Microsoft DTS
[2300] Fix | Delete
0x0010 OKI ADPCM
[2301] Fix | Delete
0x0011 Intel DVI/IMA ADPCM
[2302] Fix | Delete
0x0012 Videologic MediaSpace ADPCM
[2303] Fix | Delete
0x0013 Sierra Semiconductor ADPCM
[2304] Fix | Delete
0x0014 Antex Electronics G.723 ADPCM
[2305] Fix | Delete
0x0015 DSP Solutions DigiSTD
[2306] Fix | Delete
0x0016 DSP Solutions DigiFIX
[2307] Fix | Delete
0x0017 Dialogic OKI ADPCM
[2308] Fix | Delete
0x0018 MediaVision ADPCM
[2309] Fix | Delete
0x0019 Hewlett-Packard CU
[2310] Fix | Delete
0x0020 Yamaha ADPCM
[2311] Fix | Delete
0x0021 Speech Compression Sonarc
[2312] Fix | Delete
0x0022 DSP Group TrueSpeech
[2313] Fix | Delete
0x0023 Echo Speech EchoSC1
[2314] Fix | Delete
0x0024 Audiofile AF36
[2315] Fix | Delete
0x0025 Audio Processing Technology APTX
[2316] Fix | Delete
0x0026 AudioFile AF10
[2317] Fix | Delete
0x0027 Prosody 1612
[2318] Fix | Delete
0x0028 LRC
[2319] Fix | Delete
0x0030 Dolby AC2
[2320] Fix | Delete
0x0031 Microsoft GSM 6.10
[2321] Fix | Delete
0x0032 MSNAudio
[2322] Fix | Delete
0x0033 Antex Electronics ADPCME
[2323] Fix | Delete
0x0034 Control Resources VQLPC
[2324] Fix | Delete
0x0035 DSP Solutions DigiREAL
[2325] Fix | Delete
0x0036 DSP Solutions DigiADPCM
[2326] Fix | Delete
0x0037 Control Resources CR10
[2327] Fix | Delete
0x0038 Natural MicroSystems VBXADPCM
[2328] Fix | Delete
0x0039 Crystal Semiconductor IMA ADPCM
[2329] Fix | Delete
0x003A EchoSC3
[2330] Fix | Delete
0x003B Rockwell ADPCM
[2331] Fix | Delete
0x003C Rockwell Digit LK
[2332] Fix | Delete
0x003D Xebec
[2333] Fix | Delete
0x0040 Antex Electronics G.721 ADPCM
[2334] Fix | Delete
0x0041 G.728 CELP
[2335] Fix | Delete
0x0042 MSG723
[2336] Fix | Delete
0x0050 MPEG Layer-2 or Layer-1
[2337] Fix | Delete
0x0052 RT24
[2338] Fix | Delete
0x0053 PAC
[2339] Fix | Delete
0x0055 MPEG Layer-3
[2340] Fix | Delete
0x0059 Lucent G.723
[2341] Fix | Delete
0x0060 Cirrus
[2342] Fix | Delete
0x0061 ESPCM
[2343] Fix | Delete
0x0062 Voxware
[2344] Fix | Delete
0x0063 Canopus Atrac
[2345] Fix | Delete
0x0064 G.726 ADPCM
[2346] Fix | Delete
0x0065 G.722 ADPCM
[2347] Fix | Delete
0x0066 DSAT
[2348] Fix | Delete
0x0067 DSAT Display
[2349] Fix | Delete
0x0069 Voxware Byte Aligned
[2350] Fix | Delete
0x0070 Voxware AC8
[2351] Fix | Delete
0x0071 Voxware AC10
[2352] Fix | Delete
0x0072 Voxware AC16
[2353] Fix | Delete
0x0073 Voxware AC20
[2354] Fix | Delete
0x0074 Voxware MetaVoice
[2355] Fix | Delete
0x0075 Voxware MetaSound
[2356] Fix | Delete
0x0076 Voxware RT29HW
[2357] Fix | Delete
0x0077 Voxware VR12
[2358] Fix | Delete
0x0078 Voxware VR18
[2359] Fix | Delete
0x0079 Voxware TQ40
[2360] Fix | Delete
0x0080 Softsound
[2361] Fix | Delete
0x0081 Voxware TQ60
[2362] Fix | Delete
0x0082 MSRT24
[2363] Fix | Delete
0x0083 G.729A
[2364] Fix | Delete
0x0084 MVI MV12
[2365] Fix | Delete
0x0085 DF G.726
[2366] Fix | Delete
0x0086 DF GSM610
[2367] Fix | Delete
0x0088 ISIAudio
[2368] Fix | Delete
0x0089 Onlive
[2369] Fix | Delete
0x0091 SBC24
[2370] Fix | Delete
0x0092 Dolby AC3 SPDIF
[2371] Fix | Delete
0x0093 MediaSonic G.723
[2372] Fix | Delete
0x0094 Aculab PLC Prosody 8kbps
[2373] Fix | Delete
0x0097 ZyXEL ADPCM
[2374] Fix | Delete
0x0098 Philips LPCBB
[2375] Fix | Delete
0x0099 Packed
[2376] Fix | Delete
0x00FF AAC
[2377] Fix | Delete
0x0100 Rhetorex ADPCM
[2378] Fix | Delete
0x0101 IBM mu-law
[2379] Fix | Delete
0x0102 IBM A-law
[2380] Fix | Delete
0x0103 IBM AVC Adaptive Differential Pulse Code Modulation (ADPCM)
[2381] Fix | Delete
0x0111 Vivo G.723
[2382] Fix | Delete
0x0112 Vivo Siren
[2383] Fix | Delete
0x0123 Digital G.723
[2384] Fix | Delete
0x0125 Sanyo LD ADPCM
[2385] Fix | Delete
0x0130 Sipro Lab Telecom ACELP NET
[2386] Fix | Delete
0x0131 Sipro Lab Telecom ACELP 4800
[2387] Fix | Delete
0x0132 Sipro Lab Telecom ACELP 8V3
[2388] Fix | Delete
0x0133 Sipro Lab Telecom G.729
[2389] Fix | Delete
0x0134 Sipro Lab Telecom G.729A
[2390] Fix | Delete
0x0135 Sipro Lab Telecom Kelvin
[2391] Fix | Delete
0x0140 Windows Media Video V8
[2392] Fix | Delete
0x0150 Qualcomm PureVoice
[2393] Fix | Delete
0x0151 Qualcomm HalfRate
[2394] Fix | Delete
0x0155 Ring Zero Systems TUB GSM
[2395] Fix | Delete
0x0160 Microsoft Audio 1
[2396] Fix | Delete
0x0161 Windows Media Audio V7 / V8 / V9
[2397] Fix | Delete
0x0162 Windows Media Audio Professional V9
[2398] Fix | Delete
0x0163 Windows Media Audio Lossless V9
[2399] Fix | Delete
0x0200 Creative Labs ADPCM
[2400] Fix | Delete
0x0202 Creative Labs Fastspeech8
[2401] Fix | Delete
0x0203 Creative Labs Fastspeech10
[2402] Fix | Delete
0x0210 UHER Informatic GmbH ADPCM
[2403] Fix | Delete
0x0220 Quarterdeck
[2404] Fix | Delete
0x0230 I-link Worldwide VC
[2405] Fix | Delete
0x0240 Aureal RAW Sport
[2406] Fix | Delete
0x0250 Interactive Products HSX
[2407] Fix | Delete
0x0251 Interactive Products RPELP
[2408] Fix | Delete
0x0260 Consistent Software CS2
[2409] Fix | Delete
0x0270 Sony SCX
[2410] Fix | Delete
0x0300 Fujitsu FM Towns Snd
[2411] Fix | Delete
0x0400 BTV Digital
[2412] Fix | Delete
0x0401 Intel Music Coder
[2413] Fix | Delete
0x0450 QDesign Music
[2414] Fix | Delete
0x0680 VME VMPCM
[2415] Fix | Delete
0x0681 AT&T Labs TPC
[2416] Fix | Delete
0x08AE ClearJump LiteWave
[2417] Fix | Delete
0x1000 Olivetti GSM
[2418] Fix | Delete
0x1001 Olivetti ADPCM
[2419] Fix | Delete
0x1002 Olivetti CELP
[2420] Fix | Delete
0x1003 Olivetti SBC
[2421] Fix | Delete
0x1004 Olivetti OPR
[2422] Fix | Delete
0x1100 Lernout & Hauspie Codec (0x1100)
[2423] Fix | Delete
0x1101 Lernout & Hauspie CELP Codec (0x1101)
[2424] Fix | Delete
0x1102 Lernout & Hauspie SBC Codec (0x1102)
[2425] Fix | Delete
0x1103 Lernout & Hauspie SBC Codec (0x1103)
[2426] Fix | Delete
0x1104 Lernout & Hauspie SBC Codec (0x1104)
[2427] Fix | Delete
0x1400 Norris
[2428] Fix | Delete
0x1401 AT&T ISIAudio
[2429] Fix | Delete
0x1500 Soundspace Music Compression
[2430] Fix | Delete
0x181C VoxWare RT24 Speech
[2431] Fix | Delete
0x1FC4 NCT Soft ALF2CD (www.nctsoft.com)
[2432] Fix | Delete
0x2000 Dolby AC3
[2433] Fix | Delete
0x2001 Dolby DTS
[2434] Fix | Delete
0x2002 WAVE_FORMAT_14_4
[2435] Fix | Delete
0x2003 WAVE_FORMAT_28_8
[2436] Fix | Delete
0x2004 WAVE_FORMAT_COOK
[2437] Fix | Delete
0x2005 WAVE_FORMAT_DNET
[2438] Fix | Delete
0x674F Ogg Vorbis 1
[2439] Fix | Delete
0x6750 Ogg Vorbis 2
[2440] Fix | Delete
0x6751 Ogg Vorbis 3
[2441] Fix | Delete
0x676F Ogg Vorbis 1+
[2442] Fix | Delete
0x6770 Ogg Vorbis 2+
[2443] Fix | Delete
0x6771 Ogg Vorbis 3+
[2444] Fix | Delete
0x7A21 GSM-AMR (CBR, no SID)
[2445] Fix | Delete
0x7A22 GSM-AMR (VBR, including SID)
[2446] Fix | Delete
0xFFFE WAVE_FORMAT_EXTENSIBLE
[2447] Fix | Delete
0xFFFF WAVE_FORMAT_DEVELOPMENT
[2448] Fix | Delete
[2449] Fix | Delete
*/
[2450] Fix | Delete
[2451] Fix | Delete
return getid3_lib::EmbeddedLookup('0x'.str_pad(strtoupper(dechex($wFormatTag)), 4, '0', STR_PAD_LEFT), $begin, __LINE__, __FILE__, 'riff-wFormatTag');
[2452] Fix | Delete
}
[2453] Fix | Delete
[2454] Fix | Delete
/**
[2455] Fix | Delete
* @param string $fourcc
[2456] Fix | Delete
*
[2457] Fix | Delete
* @return string
[2458] Fix | Delete
*/
[2459] Fix | Delete
public static function fourccLookup($fourcc) {
[2460] Fix | Delete
[2461] Fix | Delete
$begin = __LINE__;
[2462] Fix | Delete
[2463] Fix | Delete
/** This is not a comment!
[2464] Fix | Delete
[2465] Fix | Delete
swot http://developer.apple.com/qa/snd/snd07.html
[2466] Fix | Delete
____ No Codec (____)
[2467] Fix | Delete
_BIT BI_BITFIELDS (Raw RGB)
[2468] Fix | Delete
_JPG JPEG compressed
[2469] Fix | Delete
_PNG PNG compressed W3C/ISO/IEC (RFC-2083)
[2470] Fix | Delete
_RAW Full Frames (Uncompressed)
[2471] Fix | Delete
_RGB Raw RGB Bitmap
[2472] Fix | Delete
_RL4 RLE 4bpp RGB
[2473] Fix | Delete
_RL8 RLE 8bpp RGB
[2474] Fix | Delete
3IV1 3ivx MPEG-4 v1
[2475] Fix | Delete
3IV2 3ivx MPEG-4 v2
[2476] Fix | Delete
3IVX 3ivx MPEG-4
[2477] Fix | Delete
AASC Autodesk Animator
[2478] Fix | Delete
ABYR Kensington ?ABYR?
[2479] Fix | Delete
AEMI Array Microsystems VideoONE MPEG1-I Capture
[2480] Fix | Delete
AFLC Autodesk Animator FLC
[2481] Fix | Delete
AFLI Autodesk Animator FLI
[2482] Fix | Delete
AMPG Array Microsystems VideoONE MPEG
[2483] Fix | Delete
ANIM Intel RDX (ANIM)
[2484] Fix | Delete
AP41 AngelPotion Definitive
[2485] Fix | Delete
ASV1 Asus Video v1
[2486] Fix | Delete
ASV2 Asus Video v2
[2487] Fix | Delete
ASVX Asus Video 2.0 (audio)
[2488] Fix | Delete
AUR2 AuraVision Aura 2 Codec - YUV 4:2:2
[2489] Fix | Delete
AURA AuraVision Aura 1 Codec - YUV 4:1:1
[2490] Fix | Delete
AVDJ Independent JPEG Group\'s codec (AVDJ)
[2491] Fix | Delete
AVRN Independent JPEG Group\'s codec (AVRN)
[2492] Fix | Delete
AYUV 4:4:4 YUV (AYUV)
[2493] Fix | Delete
AZPR Quicktime Apple Video (AZPR)
[2494] Fix | Delete
BGR Raw RGB32
[2495] Fix | Delete
BLZ0 Blizzard DivX MPEG-4
[2496] Fix | Delete
BTVC Conexant Composite Video
[2497] Fix | Delete
BINK RAD Game Tools Bink Video
[2498] Fix | Delete
BT20 Conexant Prosumer Video
[2499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function