As far as I can tell, it does not :(
the compressed sprite string:
-xúÌW=o”@~c߯[ë π® gœîâDR%"ëh©JÜN4◊¯ö¸qµ-
Ñ@Í¿Ü∫Ú3êÿ$~
*Ô≈gzΩ∏AbD>…~fiØÛsÔ]Nz èZ=¶$@£Çèñ≈÷fi:G^"b{È˙#5ˆÿı…X¯U[q}
áú◊a>b¡ÿñY c^fU9´=4{"Y—wwÓ¡≤afêú•ê€gÛqÓóXbâ%ñXbâˇ+æF≠P
[øæéf≠flÎÏA¶b4S«wwÚÎBu‹fin|˝ˆÂ¡~˝ç§ªü<èí)â(¥ùê⁄}
T2tèÁŸÒgzãå›˚É."jä”ÔÔ¢uµflif?áC0m√0R@*/ÃO\Aøª”˘∏5|
ÖʶÎGπ0R«çįTŒ5gÕÉ-èåû†mπ˛8R&¢≠?èYî´/°~¿R?§;ëè≠†OɃu<)ßΩ!
£DQy`M'ÓË"ó≈”Ñ˛YÈi€ çe˛ ù±Ëb§!
£Q˝émKu≠êEÅR◊∏≤™ƒ,âWÍbæ&◊*>‹MÁÂßû˚gù∫HQ©˜<V–˚¶~…8O]ƒÛû †”F
‚xF˜fl Ì/$ÀH$yÆU∞…çÇ
ΩdC‡D¨Ká•oÚ’dÒ‡aP¿fl‚á–π§ˇó5›RÍÔâ‚∑2òflÂÖ,èÆFW
£ŒÛM‡˜X©Õ˛N¸ï˘E
I ran the above compressed sprite thru gzinflate and gzuncompress
from the zLib library
Both give errors :(
======> Can someone from QT engineering confirm that Apple does not
properly support zlib compression ? <======
If this is true, it could be used to advantage.
Lemonade from lemons.
If Quicktime has a zlib implementation circa 1991, then it might
in theory be pretty hard to hack.
All in all, I'd much rather use MCRYPT.
Dreaming: If QT natively supported MCRYPT then that would be
something! You could buy stuff in QT.
I wonder what iTunes uses ?
here is the php script I am using to try to decrypt the sprite.
<?php
// the compressed sprite hex
$hex
="00000D2D789CED573D6FD340187E63A7AE5B910909B9A82067CF9489014452252291
68A94A864E34D7F89A18FC71B52D128440161B030BEAC08618BAF23390D81102247E0A
2AEFC5677ABDB84162443EC97EDEAFF373EF5D4E7A02208F5A3DA62440A3828F96C5D6
DE3A475E226215117BE9FA2335F6D8F5C958F855115B717D879CD7F0613E62C1D89659
09635E665539AB063D347B2259D17777EEC1B2616690029CA590DB67F371EE97586289
2596586289FF2BBE46AD505BBFBE8E66ADDFEBEC41A6623453C77777F2EB1A4275DCDE
6E037CFDF6E5C17E13FD8DA4BB9F3C0C8F92298928B49DF090DA7D5432748F12E7D9F1
677A1B8B8CDDFB832E226A8AD3EFEF7FA275B5DF690F663F0E8743306DC33052400E03
2A2FCC4F5C0441BFBBD3F9B8357C85E6A6EB47B93052C78D80F854CE3567CD832D8F8C
9EA06DB9FE385226A2AD3F8F5994AB2FA17EC0523FA43B918FAD7FA04F83C4753C29A7
BD21A3445179604D27EEE82297C5D38411FE1D59E969DB098D1365FE099DB1E8621DA4
21A351FD8E6D4B75AD90458152D700B8B2AAC42C8957EA1D1A62BE26D72A3EDC4DE7E5
A79EFB679DBA4851A9F73C56D0FBA67EC91A384F5DC4F39E20A0D30346E2781A460EF7
DF0912ED2F24CB1A1D482479AE55B0C98D820DBD6443E044AC4B87A5076FF21FD564F1
E06150C0DFE2871CD0B9A4FF9735DD52EA16EF89E2B73298DFE5852C8FAE1546570AA3
CE02F34DE0F758A9CDFE4EFC0695F91445";
//convert the hex output to a string
$string = pack("H*", $hex);
echo "the compressed string is:". "\r\n";
echo $string;
//$uncompressed = gzinflate($string);
$uncompressed =gzuncompress($string);
echo "the uncompressed string is:"."\r\n";
echo $uncompressed;
?>
On Oct 27, 2005, at 5:17 PM, Steve Israelson wrote:
See this:
http://developer.apple.com/documentation/QuickTime/APIREF/
datacodeccompress.htm
In summary - It does not use ANY specific compressor, it uses the
one you supply.
Normally one would supply the zlib compressor.
Now does this one do zlib properly? No idea.
On 27-Oct-05, at 4:55 PM, Graham Anderson wrote:
Does DataCodecCompress use zlib for compression ?
If so, is it an apple-specific wacked out version of zlib ;)
I have tried to decompress compressed movie headers with php's
zlib library to no avail :(
anyone know ?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/grahama%
40siren.cc
This email sent to email@hidden