home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / mac / misc / 18955 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  5.3 KB

  1. Path: sparky!uunet!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!news
  2. From: rwb@kurn.VI.RI.CMU.EDU (Robert Berger)
  3. Newsgroups: comp.sys.mac.misc
  4. Subject: Re: semi-technical QuickTime info required...
  5. Message-ID: <BxG1G0.7My.2@cs.cmu.edu>
  6. Date: 9 Nov 92 10:07:11 GMT
  7. Article-I.D.: cs.BxG1G0.7My.2
  8. References: <BxF8nt.5zw@world.std.com>
  9. Sender: news@cs.cmu.edu (Usenet News System)
  10. Organization: School of Computer Science, Carnegie Mellon
  11. Lines: 114
  12. Nntp-Posting-Host: kurn.vi.ri.cmu.edu
  13.  
  14. In article <BxF8nt.5zw@world.std.com> ivanski@world.std.com (Ivan M  
  15. CaveroBelaunde) writes:
  16. > maynard@leah.msc.cornell.edu (Maynard J. Handley) writes:
  17. > >Based on the way Apple and others claim the Apple animation compressor
  18. > >should be used, I would guess that it performs RLE encoding. Does it  
  19. just
  20. > >do the standard PICT RLE encoding? Is this simply along the x  
  21. direction, or
  22. > >is it done along both x and y directions?
  23. > I believe that in lossless mode it is basically the standard PICT RLE
  24. > coding (x-direction only). In lossy mode (which only works on direct  
  25. color
  26. > modes, 16/24/32 bpp) it uses some sort of color difference computation
  27. > (probably RGB, not really sure) to append pixels to the "runs."
  28. > >"None"-encoding. Is this truly none, or does it do the basic PICT
  29. > >compression?
  30. > No, it's truly none.
  31. > >Apple graphics---what gives here? The only thing I know about this is  
  32. that
  33. > >I have yet to find anything for which it works nicely. Does it insist  
  34. on
  35. > >the system pallette? Does it needs globs of the same color?
  36. > I have had generally good results with it. It's optimized for 8-bit
  37. > error-diffused images - should work with any palette.
  38. > >Apple video. Looks like it does the JPEG scheme of blocking, but what  
  39. else.
  40. > >I
  41. > >guess it's not simply JPEG diddled a bit, cause of the speed.
  42. > It's block-based, but I think it has nothing to do with JPEG. The
  43. > algorithm is licensable from Apple, I believe.
  44. > >The new Apple compact video. What's this based on? Wavelets? It  
  45. produced
  46. > >artifacts unlike anything I've seen elsewhere.
  47. > It's a VQ (Vector Quantization) scheme, which is similar to finding an
  48. > optimum CLUT for an image. You basically have a color map (called a
  49. > codebook) and you map each pixel to the closest color in the codebook.
  50. > The codebook then is updated as the color usage statistics change.
  51. > >2) Is ANY form of inter-frame compression performed when making movies?  
  52. I
  53. > >thought that when you gave a key-frame rate, that meant that each  
  54. key-frame
  55. > >was stand-alone, but other frames were based on inter-frame encoding.
  56. > It depends on the compressor (JPEG does not support interframe coding)
  57. > for example.  With photorealistic-type compressors such as Apple Video
  58. > you will not get much from interframe coding unless you lower the
  59. > spatial compression quality setting. There is also a parameter called
  60. > "temporal quality" that controls the sensitivity for interframe coding.
  61. > In Apple's compression dialog, it's generally available by holding
  62. > down the option key and using the same quality slider.
  63. > But you are right as far as what key-frame rate means. If you set
  64. > it really high (3200 frames), then you will only have one full frame and
  65. > then nothing but differences. Random access performance will suck badly,
  66. > but it should play pretty well linearly.
  67. > If you are writing your own code to call the QuickTime routines,
  68. > there are a couple of flags that must be passed to the sequence
  69. > compression calls for them to work properly (UsePrevFrame +  
  70. UsePrevFrameComp
  71. > or some such).
  72. > >I've tried varying the key-frame rate from zero to every frame and in
  73. > >between, and the file size seems to change each time by about 2K, which
  74. > >seems to imply not much is happening. The various key-frame rates also
  75. > >seemed to have no effect on quality of playback, either forwards OR
  76. > >backwards. Is this just a bogus field that will be used in later  
  77. versions
  78. > >of QuickTime?
  79. > They work fine for me; experiment a bit.
  80. > >3) What is the major bottleneck in playback speed? It seemed to me that
  81. > >this would be decompression. However on my SE/30 a (grey-scale 150x200)
  82. > >movie made at
  83. > >15fps plays back rather more smoothly when compressed with either Apple
  84. > >Animation or Apple Compact Video than with no compression, and compact
  85. > >video gave better playback than animation. (At ten fps all three  
  86. schemes
  87. > >were equal so I guess the machine wasn't yet maxed out.) Is this  
  88. because in
  89. > >fact most of the time is data transfer time, and the compressed movie  
  90. have
  91. > >to pull less data off disk? Or is it some effect of grey-scale? I  
  92. haven't
  93. > >yet got around to experimenting seriously with color movies so I don't  
  94. know
  95. > >what would happen there. 
  96. > The main bottleneck will vary. Basically the data has to come in from  
  97. the
  98. > disk, be massaged by the decompressor, and blitted up onto the screen.
  99. > If the time it takes to decompress the image is less than the additional
  100. > time it would take to read the extra uncompressed data from the disk,
  101. > then the disk is the bottleneck. In general, the bottleneck will be the
  102. > disk with a fast CPU, and the decompression on a slow CPU. The
  103. > speed of your graphics display (say, internal VRAM vs Nubus card) may  
  104. also
  105. > be critical.  The only answer is "it depends."
  106. > -Ivan
  107. > ---
  108. > Ivan Cavero Belaunde
  109. > DiVA Corporation
  110.