Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DataCodecCompress and zLib problem (solved)



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



_______________________________________________ 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/email@hidden

This email sent to email@hidden
References: 
 >What compression is DataCodecCompress ? (From: Graham Anderson <email@hidden>)
 >Re: What compression is DataCodecCompress ? (From: Steve Israelson <email@hidden>)
 >Re: What compression is DataCodecCompress ? (From: Graham Anderson <email@hidden>)
 >DataCodecCompress and zLib problem (From: Graham Anderson <email@hidden>)
 >Re: DataCodecCompress and zLib problem (From: Steve Israelson <email@hidden>)
 >Re: DataCodecCompress and zLib problem (From: Graham Anderson <email@hidden>)
 >Re: DataCodecCompress and zLib problem (From: Graham Anderson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.