Re: DataCodecCompress and zLib problem (solved)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



DOH!
OK, I was starting at the wrong place in the hex....
I misread the QTFF docs which include two more atoms on the NEXT page:

Four-character code           Atom type
'cmvd'                                    Compressed movie data
Uncompressed size            32-bit integer


The correct output is now:
//-----------------------------------------------------
The uncompressed movie header string is:
trak\tkhd??7???7?X??@$edtselstXnmdia mdhd??7???7?XXH?hdlrmhlrsprtappl? Sprite Animation Media Handlerminf gmhdgmin@??????9hdlrdhlralisappl? Apple Alias Data Handler$dinfdref alis?stbl,stsdzlibsttsXstscstszstco&? code?sean emk
hjkedtligudta
namedrm]udta#?swrMade with LiveStage Proplugmoviename=drm.mov ctypnone play

//-----------------------------------------------------
Compressed in Livestage: the compressed movie header string is:
x??S?n1?l?P?H ՂV"G?q@???T?ppbg????l7Q??z?+??Џ???8Nw??}?x?????.@? Z???^w?????| ?=??9???[?????o??~4???k??e?soo?C7?
??P???7?&Fs???4?ǻ?
?,?u????gU?K?s?ꬲҋld?f^?&;H????J`Z?PK3#?\?A?? Mͷa???oe8?0%?<??????*J2?3??!?܊Y?;?D??O??7?;޸??;?Vr??C??m?R????? ӂ[Cߢ??o???8a\dK??\?3?r??Z?ߋJ??\HA?????ԯ*Sj?A??*0? F?] c?8×?oZ6f p?;-?hM?? fb?A?!?O?9

//-----------------------------------------------------
The zlib version of the uncompressed movie header using gzcompress at level 6 is: x??SMN?@~v?ZZ*uQH@??T?U?m?EU??`?HHٰ??!3??̌??I9K?-8E?8??H?s?qb?EG? 4o???=??:?:ϧ??4?ß?/????D??k??>.-?o????[6F?̏K?N?Y?յ??Ѝ???P??????? 撡?h?̻#?g\Y??LYWXϊB?,Qt?~XX?Erd?f^??M???J`Y?BKsA2?.ez):=????Z?p?aJ:? y??y??U?d.??????@?[q?2?-" ??????'?_??7':S?<?{Η3?b????1Z?/?c?p??? o????;ʹh??̄????h?>?]?Z??b????Fd??(87ɷ???4?$?ZmP?l?Ri#uѝpO_?kô?V? Я??p?.-t???R?,?)?b?Y*?K??-?$??T
????u??n??UarC??,??t_????

//-----------------------------------------------------
the uncompressed zlib movie header string  using gzuncompress is:
trak\tkhd??7???7?X??@$edtselstXnmdia mdhd??7???7?XXH?hdlrmhlrsprtappl? Sprite Animation Media Handlerminf gmhdgmin@??????9hdlrdhlralisappl? Apple Alias Data Handler$dinfdref alis?stbl,stsdzlibsttsXstscstszstco&? code?sean emk
hjkedtligudta
namedrm]udta#?swrMade with LiveStage Proplugmoviename=drm.mov ctypnone play

//-----------------------------------------------------
Here is the attempt to use gzuncompress with the movieheader compressed in Livestage: trak\tkhd??7???7?X??@$edtselstXnmdia mdhd??7???7?XXH?hdlrmhlrsprtappl? Sprite Animation Media Handlerminf gmhdgmin@??????9hdlrdhlralisappl? Apple Alias Data Handler$dinfdref alis?stbl,stsdzlibsttsXstscstszstcoe? code?sean emk
hjkedtligudta
namedrm]udta#?swrMade with LiveStage Proplugmoviename=drm.mov ctypnone play

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux