Mailing Lists: Apple Mailing Lists

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

Streaming scrambled movies



Hello streaming gurus,

  I'm a little new to the wonderful world of streaming, but there's
something I need to do with the Darwin Streaming Server: stream scrambled
movies. The idea is to scramble the quicktime movie, and feed it to the
streamer as is (we don't want to scramble on the fly). The client would then
have to unscramble the movie on the fly as it is being played.
  The way I've been going so far is to use the sample code for the
packetizer and reassembler and add my scrambling code: the packetizer
scrambles the video stream as it packetizes during the hinting process and
the reassembler does the opposite during the playing process. This is OK
except for a few problems:
  + the original video stream is not scrambled in the quicktime movie file,
the scrambled version is in fact stored in the hint track, so the movie can
be seen directly on the server using a regular client. I have to write my
own app to hint the movie and somehow erase or nullify the original video
track.
  + this only works for the YUV2 video encoding since it is the only format
for which I have a packetizer/reassembler source code

  I've been thinking about another solution however, and this is where the
gurus come in: if I could replace the regular Packet Builder with my own
scrambling packet builder, my solution would be totally independant of the
media (huge plus) and I'm pretty sure I could do this by capturing the
Packet Builder component. But this leaves the problem of the unscrambler on
the client side. Is there an equivalent to the Packet Builder on the client?
That is, a generic component that handles the packets at some point before
they are passed on to the reassembler, a component that has methods that can
easily be rewritten to include the unscrambling treatment?

  Or, is there another simpler solution???

Thanks.

PS: working on NT (unfortunately)

-- Guy Moreillon
-- Software Engineer & Project Manager
-- NagraVision, Kudelski SA
-- Tel: +41 21 732 04 47




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.