home *** CD-ROM | disk | FTP | other *** search
/ linuxmafia.com 2016 / linuxmafia.com.tar / linuxmafia.com / kb / Apps / AV / mp4 < prev    next >
Text File  |  2006-01-17  |  22KB  |  486 lines

  1. MP4 was developed by a Web content company called Global Music Outlet
  2. (GMO) and based on AT&T's a2b audio compression format. A2b will be part
  3. of MPEG-4, so GMO is essentially appropriating the informally used name
  4. for a proprietary subset of the industry standard.
  5.  
  6. RIAA has even established a Secure Digital Music Initiative (SDMI) to
  7. develop a copyright-protected alternative to MP3. GMO says MP4 is a
  8. "midstep" between MP3 and the SDMI, although pr ecisely what that means
  9. is unclear. Like MP3s, MP4s will be freely downloadable, but a2b
  10. contains copyright protections MP3 does not have. Presumably these will
  11. also be included in MP4.
  12.  
  13. MP3, which many consider a de facto standard given its widespread use,
  14. and now MP4 compete with secure download formats such as a2b, the
  15. product of AT&T Labs' music delivery technology arm a2b Music, and
  16. technology from Liquid Audio. GMO used encoding technologies licensed
  17. from AT&T Labs for copyright protection in its MP4 format.
  18.  
  19. Despite the play on the MP3 name, MP4 technology is different. For one
  20. thing, MP4 is an executable file, meaning that an embedded audio player
  21. is launched when the MP4 file is opened. In contrast, MP3 files use
  22. software called WinAMP to play, and MP3 audio files can be combined with
  23. other MP3 files to create a customized play list.
  24.  
  25.  
  26.  
  27. http://www.5ddesign.com/html/audioS2.html
  28.  
  29.  AAC
  30.  
  31. AAC, or "MPEG-2 Advanced Audio Coding", is originally known as "MPEG-2
  32. NBC" - Non Backwards Compatible). It offers a better compression ratio
  33. than MP3. Formal tests have demonstrated that it is able to provide
  34. better audio quality at 96 kbps than MP3 at 128 kbps. AAC was declared
  35. international standard by MPEG by the end of April 1997.
  36.  
  37. The same Fraunhofer Institute this time cooperated with AT&T, Lucent
  38. Technologies, Sony and Dolby Labs to develop it. Promoted as the Audio
  39. Data Compression for the 21st Century, it has become the native base for
  40. many latest and most sophisticated audio codecs, including a2b, Liquid
  41. Audio, and it will be used for upcoming MP4 format (together with VQF).
  42.  
  43. AAC is being licensed by Dolby Laboratories.
  44.  
  45. There are several derivative forms of AAC codec today - including a2b,
  46. LQT, ISO AAC and Astrid/Quartex ACC versions. We recommend downloading
  47. the Liquid player and listening to the samples encoded with the best of
  48. the AAC family codecs - AAC LQT (see the LQT section below).
  49.  
  50.  
  51. a2b
  52.  
  53. The a2b codec, a AT&T proprietary audio compression algorithm, is based
  54. on AAC and is fully called the "MPEG-2 AAC Low Complexity Profile Audio
  55. Coding ". It delivers higher fidelity than MP3 at faster data rates with
  56. a compression factor of up to 20:1. It uses encryption that limits
  57. playback to one player and restricts the number of plays.
  58.  
  59. With a2b the very first commercial application of AAC was started by
  60. AT&T. a2b player was the first one displaying cover art, lyrics and
  61. credits.
  62.  
  63. No coding software is publicly available for this format - so we can not
  64. make our own sample of a2b on this 5dDesign Audio page.
  65.  
  66. However, you can download free a2b player and check some free music
  67. tracks from AT&T's Downloadable Music Service (
  68. http://www.a2bmusic.com/).
  69.  
  70.  
  71.  MP4
  72.  
  73. MP4 is probably the most confusing audio codec term discussed here:
  74.  
  75.         * it is often wrongly used to mean MS Audio Codec 4.0;
  76.         * the intentional promotional use of the term MP4 to cash on MP3
  77.         * popularity has added confusion to this name. Neither "MP4.com"
  78.         * nor "chaosmusic.com" have any relation to MP4. Companies like
  79.         * "ChaosMusic" and "eMotive.com" call the product "MP4", but it
  80.         * is really an executable player embedded into every AAC file
  81.         * (hardly a great idea in the age of widespread fear of computer
  82.         * viruses). It is interesting that the very same feature is
  83.         * available in the a2b player, while "eMotive" has close
  84.         * relations to AT&T, so it may well be that this confusing "MP4"
  85.         * format is a courtesy of AT&T;
  86.         * sometimes when using this term, people mean MPEG-4 SA
  87.         * (Structured Audio) which is not a compression codec, but
  88.         * rather a new audio synthesis algorithm coming to replace MIDI. 
  89.  
  90. MPEG-4 is a standard currently under development for the delivery of
  91. interactive multimedia across networks. The correct use of the term MP4
  92. should refer to MPEG-4 GA (General Audio) often described as an ACC and
  93. VQF merger. It is expected that MP4 at 96 kbps (stereo) will give about
  94. the same quality as MP3 at 192 kbps (stereo) - thus producing half sized
  95. files for the same quality. There will be no "layers" in MP4. So all
  96. assumptions like "MP4 is MPEG-1 Audio Layer 4" or "at the moment it is
  97. MPEG-4 Audio Layer 1 and the final standard will be MPEG-4 Audio Layer
  98. 3" are nothing but an educated guess.
  99.  
  100. As yet, no players and encoders are available for this format (at least
  101. no fully functional ones; so called "MP4 AAC" encoders are actually
  102. doing the same that ISO AAC coding does - slow encoding and very high
  103. CPU power utilization for decoding).
  104.  
  105.   Back to Contents
  106.  
  107.  
  108.  
  109. http://www.macnn.com/news/22219&startNumber=27
  110.  
  111. Norwegian programmer cracks Apple DRM 
  112.  
  113. The Norwegian programmer who distributed the first widely used tool for
  114. cracking the copy protection technology found on DVDs has turned his
  115. attention to Apple's iTunes. Late last week, programmer Jon Johansen
  116. posted a small program called QTFairUse, which evades the anticopying
  117. technology wrapped around the songs sold by Apple in its iTunes store.
  118. Johansen's program, which works only for the Windows version of iTunes,
  119. is the most recent move in the ongoing struggle digital rights
  120. management technology creators and hackers.
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127. http://www.macrumors.com/pages/2003/11/20031122001549.shtml
  128.  
  129. QTFairUse - iTunes Digital Restrictions Management (DRM) Circumvented?
  130.     
  131. Approved/Edited by arn on Saturday November 22, 2003 12:15 AM
  132. from the rumors dept.
  133.  
  134. A Register.co.uk article reports that the author of DeCSS has written a
  135. small command line Windows utility (QTFairUse) which "will dump the
  136. output of a QuickTime stream to a file". The Quicktime stream in
  137. question are AAC files.
  138.  
  139. While TheRegister tries to explain away the hack as an implementation of
  140. an analog stream-ripper, it appears to be a bit more sophisticated than
  141. that...
  142.  
  143. According to the QTFairUse README:
  144.  
  145.       Usage:
  146.  
  147.       Open and play a MPEG4 AAC file in QuickTime Player. The raw AAC
  148. data will be written to Desktop/QTFairUse.aac
  149.  
  150. The application clearly piggybacks off of Apple's Quicktime player and
  151. patches the "quicktimempeg4.qtx" file of Windows' Quicktime. It then
  152. outputs this "raw AAC data" to a file while the original AAC file plays
  153. under Quicktime. The proposed theory is that the application intercepts
  154. the Decrypted AAC data from Quicktime after authorization has taken
  155. place, and saves out the resultant decrypted (de-DRM'd) AAC data.
  156.  
  157. Based on limited testing from one user with Quicktime 6.4 under
  158. Windows... the application does create DRM-free ".aac" files when
  159. Protected AAC files are played through Quicktime. These output files,
  160. however, are unplayable in their raw form in most players. The reason
  161. for this is that these files represents the true "raw" AAC data that has
  162. been passed through to Quicktime to play. All header information has
  163. been removed. To create playable files, a further packaging of the files
  164. is required to add the appropriate MPEG headers. But the application
  165. does work as suggested -- stripping DRM (RM adds: digital restrictions
  166. management) from your protected AAC files
  167. (though is not of any practical use in its current form).
  168.  
  169. In any case, this is the first public attempt at breaking Apple's
  170. Digital Rights Management format. The potential for abuse and concern
  171. for an application such as this is greater than simple "stream rippers"
  172. in that this would introduce lossless ("perfect") copies of protected
  173. files. 
  174.  
  175.  
  176. http://www.scifihifi.com/weblog/mac/AppleDRMRevisited.html
  177.  
  178.  
  179. Apple DRM Revisited
  180. Posted: 20:54 | Category: [/mac] | Permanent Link: #
  181.  
  182. In a previous post detailing my research into the iTunes Music Stores
  183. digital rights management scheme, I promised to continue hacking away at
  184. the problem and post updates on my progress. In keeping with that
  185. promise, here is an account of my recent hacktivities.
  186.  
  187. The first thing I should mention is that Phil Schillermania Schiller
  188. recently gave an interview to BusinessWeek wherein he, for the first
  189. time, publicly names the ITMSs DRM scheme. It turns out that Apple is
  190. using a system called FairPlay, which was evidently developed by a
  191. company called VeriDisc. Schiller, in keeping with Apples silence on DRM
  192. matters so far, is extremely cagey about discussing the true nature of
  193. the protection. When asked Is there any DRM built into the downloads
  194. themselves or is it all in iTunes 4, Schiller responds:
  195.  
  196.     No, its all built into the [iTunes] system. Our goal is to make it
  197. transparent for the user so that they never have to think about DRM.
  198. Were using a DRM technology under the hood called FairPlay. Its a DRM
  199. technology used by iTunes and QuickTime at the system level. 
  200.  
  201. To which I respond: lies! This is obviously falseif the downloaded files
  202. didnt contain any DRM information you would be able to copy the same
  203. file from computer to computer and iTunes would be none the wiser.
  204.  
  205. Readers who saw my earlier post may remember that I closed with a bit of
  206. speculation as to which part of the AAC file actually contains this DRM
  207. information: the drms atom. The atom name itself strongly suggests this,
  208. and a quick comparison of the relative structure of protected and
  209. unprotected AAC files seems to reinforce the idea (note that the only
  210. obvious difference between the two is that the protected file contains a
  211. drms atom in place of the unprotected files mp4a).
  212.  
  213. This, then, brings to mind an obvious question: would removing the drms
  214. atom and replacing it with an mp4a atom effectively remove the DRM
  215. protection? To find out, I began reworking my original AAC parsing code
  216. so that it could read an entire atom structure into an object hierarchy,
  217. modify it, and then write the whole thing back out to disk.
  218.  
  219. It took awhile to get my code to the point where it could produce files
  220. that didnt crash QuickTime, so you can imagine my elation when I finally
  221. managed to generate a valid, unprotected AAC file (as confirmed by
  222. QuickTimes movie info window).
  223.  
  224. [picture]
  225.  
  226. The original, protected AAC
  227.  
  228. [picture]
  229.  
  230. An AAC output by my code
  231.  
  232. Unfortunately, my elation evaporated as soon as I actually tried to play
  233. the file, only to encounter silence. That is, QuickTime had the length
  234. and all of the file properties (sample rate and so forth) correct, and
  235. would begin playing the file normallyit just wouldnt produce any audio.
  236.  
  237. Further research suggested that I probably needed to preserve the
  238. elementary stream descriptor atom, which always seems to be embedded
  239. within the drms or mp4a atom. With this in mind, I rewrote my code so
  240. that it preserves the files esds atom within the substituted mp4a.
  241. Unfortunately, the results are the samesilence.
  242.  
  243. So, I seem to have reached an impasse. I have produced some pretty nice
  244. code for parsing QuickTime-like files, but I really need to take a break
  245. from my hacking efforts to get some much needed rest and work on other
  246. projects, so Ive decided to publish my latest code and shelf the project
  247. (at least for now). It can be downloaded (as usual) as a Project Builder
  248. project:
  249.  
  250. - AACExperiments2.dmg
  251.  
  252. Once again, I ask anyone who makes progress based on this code to keep
  253. me informed. I would be particularly interested to hear from someone who
  254. might be able to bring a better understanding of MPEG-4 to bear on the
  255. problem (this project has definitely put learn more about MPEG on my To
  256. Do list!).
  257.  
  258.  
  259.  
  260. http://www.ipodlounge.com/forums/archive/topic/17022-1.html
  261.  
  262. Jon Johansen, the Norwegian programmer who created DeCSS, the first
  263. widely used tool for decrypting the copy protection in commercial DVD
  264. movies, announced a similar hack this week for the Digital Rights
  265. Management (DRM) (RM adds: should be corrected to the non-polemical
  266. "digital restrictions management") technology that protects (RM: controls
  267. and obscures, not "protects") songs purchased from Apple
  268. Computer's iTunes Music Store. The hack, which Johansen calls QTFairUse,
  269. casts doubts on Apple's ability to protect the intellectual property
  270. rights of artists who sell music on iTunes Music Store and comes just a
  271. month after the company opened the service to Windows users.
  272.  
  273. Johansen posted QTFairUse to his "So sue me" Web site this past weekend.
  274. QTFairUse is a small command-line utility for Windows that shows
  275. developers how to bypass the security features in Apple's protected
  276. Advanced Audio Coding (AAC) format, which the iTunes Music Store uses.
  277. The utility doesn't create a workable, playable, protection-free music
  278. file, but its source code will help other hackers bypass Apple's DRM
  279. security in their own applications, eventually leading to a complete
  280. breakdown of Apple's licensed DRM system, FairPlay.
  281.  
  282. Critics have long alleged that in the past much of Apple's
  283. software-development advantage came from its small, tightly controlled
  284. market. Now that Apple is pushing DRM-enabled products such as the
  285. iTunes Music Store and the iPod into the wider Windows world, the
  286. company is finding out how difficult it is to control the teeming
  287. masses. This week's iTunes Music Store hack is actually the second time
  288. programmers have hacked the service in the past month and the third time
  289. this year. A tool called MyTunes, released last week, lets Windows users
  290. steal music that other Windows and Macintosh iTunes application users
  291. share for streaming, although it doesn't decode songs purchased from the
  292. iTunes Music Store; Apple patched a similar problem in its Mac version
  293. of the iTunes application earlier this spring.
  294.  
  295. Apple's primary competitor, Microsoft, created its own DRM scheme for
  296. its popular Windows Media Audio (WMA) and Windows Media Video (WMV)
  297. formats but built renewing capabilities into the technology, which helps
  298. Microsoft survive security exploits. Whether Apple's FairPlay technology
  299. supports this renewing functionality is unclear at this point, and Apple
  300. has been characteristically quiet about its DRM use, preferring instead
  301. to foster the impression that the company is more customer-centric than
  302. Microsoft and less beholden to content creators. But the reality of the
  303. situation is that Apple has worked hard to strike deals with the
  304. recording industry and did a fantastic job of jump-starting the concept
  305. of inexpensive, downloadable, legitimate music. Let's hope that this DRM
  306. breach won't cause record companies to reverse their decisions to work
  307. with online music services.
  308.  
  309.  
  310.  
  311.  
  312. http://www.the-gadgeteer.com/itunes-review.html
  313.  
  314. They do however put a few restriction on the music that can be bypassed
  315. if you think about it (*cough* re-rip) You can only record 10 sessions
  316. at a time from a set playlist, but you can move one song, and now you
  317. have 10 more burns. You cannot record the AAC/MP4 (iTunes store bought
  318. music) as files to a disc like you can mp3s, you can only record them as
  319. audio discs. (*cough* re-rip) But this is all small potatoes DRM stuff.
  320. Your original AAC/MP4's can only be on three authorized computers at a
  321. time. (Do I hear someone coughing?) Again - *very* minor inconveniences,
  322. but not enough to take away from the simple pleasure of using this
  323. product.
  324.  
  325. AAC seems to be a nice format. Truthfully - I cannot hear any difference
  326. between AAC, MP3 or a regular CD. (of course - I've been to one too many
  327. concerts over my lifetime too!)
  328.  
  329. [...]
  330.  
  331. As a music store, there are minor DRM issues with iTunes. (NOTHING like
  332. it's competitors draconian DRM practices though.) If you don't have an
  333. iPod, you won't be able to export your store purchased music to your mp3
  334. player unless you burn an audio disc and then re-rip it to mp3. AAC
  335. files purchased from the store are not exportable, but can be burned to
  336. as many audio discs as you want, only having to change their play order
  337. every 10 burns. The iPod does not have these limitations and can easily
  338. store and play any and all songs you can put into the library. AAC files
  339. you burn yourself can be exported and playlists burned as many times as
  340. you want.
  341.  
  342.  
  343.  
  344. http://joi.ito.com/archives/2003/04/29/the_sucking_sound_of_drm_itunes_4.html
  345.  
  346.  The sucking sound of DRM - iTunes 4
  347. 07:13 JST ╗ Intellectual Property - Music
  348.  
  349. I just downloaded iTunes 4, set up my .mac account for the music shop
  350. and started browsing around the music shop. Ooo, I don't have that Orb
  351. CD, "click", I wonder if they have.... "click"... "downloading..."
  352. "hey..." "click".
  353.  
  354. Now maybe I'm not a good sample, but iTunes 4 is to music downloads what
  355. iPod was to mp3 players. Of course you have to download iPod patch to
  356. play the AAC protected music format and you are not downloading sharable
  357. mp3's.
  358.  
  359. My little foray into the DRM'ed music space is really an experiment on
  360. myself to see if a proprietary system can make the experience compelling
  361. enough to make people say, "screw it, I'm going to use DRM." So far, the
  362. experience for me is that actually quickly finding clean copies of music
  363. I'm looking for and having it seamlessly arrive in my iPod is worth the
  364. $.99/song they are charging and the fact that it's protected. THAT'S
  365. SCARY. It's the sucking sound of Hollywood you're hearing here... hmm...
  366.  
  367. Anyway, I'm going to play around with it a bit more before I decide for
  368. sure whether this is a killer service, but I just thought I'd post this
  369. urgent news so you could try it for yourself. ;-p
  370.  
  371. Update: Not nearly as many songs that I want as I initially imagined.
  372. They're like trying to get my to buy the Village People and stuff...
  373. Search seems broken -- it gives me errors. Keeps trying to tell me I
  374. can't use the service because I'm in Japan -- I keep trying to trick it
  375. into thinking I'm in the US. a good roundup on Marc Canter's site.
  376.  
  377. Update 2: BAAAAD news. So I bought a bunch of albums and songs and was
  378. happily downloading them thinking about how much money I had just spent.
  379. Then. "There was a problem with Music Store. Please try again later." I
  380. still have the songs I've downloaded and they are there, but all of the
  381. stuff that was in the queue to be downloaded. Gone. "click" "You already
  382. have a copy of this dumbass, do you want to buy it again?"... fill out
  383. bug report asking whether I can reinstate the downloads or check whether
  384. I've been billed. "thank you for your bug report. We can will not
  385. respond to this request directly, but we appreciate your dumbass
  386. suggestions..." shit... Anyway, I will make sure I check my credit card
  387. bill next month. Until then, I will buy...download...buy... and not
  388. queue up downloads.
  389.  
  390. Update 3: When I restarted iTunes it started download all of the music I
  391. bought. phew...
  392.  
  393.  
  394. all about apple drm:
  395. http://mac.against.org/space/AAC
  396.  
  397.  
  398.  
  399. http://the.taoofmac.com/space/AAC
  400.  
  401. AAC
  402.  
  403. Also known as Advanced Audio Coding, AAC is the MPEG-4 audio standard
  404. that supports, amongst other things, multi-channel audio (as in more
  405. than two).
  406.  
  407.     * Official Site
  408.  
  409. DRM Restrictions
  410.  
  411. Note: More info here, with mentions of Fairplay.
  412.  
  413. (As reported in MacRumors for the Apple implementation - should be
  414. mostly the same for other AAC-related DRM policies):
  415. How it Works
  416.  
  417. Surprisingly few details about the implementation of the AAC DRM have
  418. been revealed. The following represents a list of restrictions and
  419. capabilities for consumers as gathered at this time:
  420.  
  421.     *
  422.  
  423.       Protected AAC files have the extension: .m4p -- ripped AAC files
  424. are .m4a
  425.     *
  426.  
  427.       Unlimited CD Burning of Protected AACs
  428.     *
  429.  
  430.       Only the iPod and Apple's iTunes, and it seems Quicktime?-based
  431. apps currently allow playing of these Protected AAC's.
  432.     *
  433.  
  434.       Up to three computers (at one time) can be authorized to play
  435. Puchased AAC's. Deauthorizing your computer and reauthorzing new
  436. computers is relatively simple (Note: uses the iTunes
  437. "Authorize/Deauthorize Computer" menu, no details as to the transport
  438. mechanism and PKI? employed)
  439.     *
  440.  
  441.       Playlists containing any Protected AAC's can only be burned 10
  442. times. You must change the list manually before you can burn again. Tech
  443. Note
  444.     *
  445.  
  446.       Burning a Protected AAC to a CD strips all encoding and DRM. That
  447. CD can then be used as any CD song is used. The quality of the song on
  448. the CD is identical to the AAC version. However, then ripping the song
  449. into MP3 or AAC will result in loss of some quality. While ripping a
  450. song into any lossy compression format will result in loss of quality --
  451. recompressing these previously compressed songs may exaggerate the
  452. quality loss. Your results will vary depending on the exact piece of
  453. audio. Anecdotal evidence suggests re-ripping into AAC yields better
  454. quality than re-ripping into MP3.
  455.     *
  456.  
  457.       Transcoding from Protected AAC to MP3/AIFF? from iTunes is
  458. prohibited by iTunes.
  459.     *
  460.  
  461.       If you're listening to a shared library or playlist, iTunes skips
  462. any purchased music in the list (if the computer is not authorized to
  463. play the music). To listen to a purchased song in a shared library or
  464. playlist, you need to double-click the song. If your computer is not
  465. authorized to play songs purchased by the person who is sharing the
  466. song, you'll need to enter that person's Apple Account ID and password
  467. to hear the song. Tech Note
  468.     *
  469.  
  470.       According to Apple: iTunes will only play AAC files that are
  471. created by iTunes or downloaded from the Music Store. "Other AAC files
  472. that you find on the Internet or elsewhere will not play in iTunes."
  473. However, Anecdotal evidence does not support this. Users have reported
  474. being able to play AAC files encoded outside of iTunes. Tech Note
  475.     *
  476.  
  477.       AACs you rip from CD yourself (via iTunes) have no restrictions.
  478.     *
  479.  
  480.       Authorization/Deauthorization appears to be based on a central
  481. server model... as Apple claims that "Initializing the drive will not
  482. deauthorize the computer. If you will be initializing the drive,
  483. deauthorize the computer first, then initialize the drive." Tech Note
  484.  
  485.  
  486.