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: Using QuickTime Decoder(SDK) for decoding H264 stream of other encoders.



Title: Re: Using QuickTime Decoder(SDK) for decoding H264 stream
At 4:33 pm +0530 30/6/2008, shreeranga kamath wrote:
Hi,
I want to use Quicktime decoder sdk for decoding the H264 stream output of NON Quicktime encoder. Is it possible to do that? The output format of the encoder is .264. Any directions in this regard is highly appreciated.

I believe you need to do the following:
* Take the SPS and PPS and put them in a suitably formatted avcC image description extension.
* Replace the 0x00000001 sync markers separating NAL units in the byte stream with big endian 32 bit lengths.
* If you are going to put the video in to a movie you will need to work out any frame dependencies and decode offsets and set the appropriate flags and things when adding samples.

I believe the x264Encoder plugin for QuickTime <http://www003.upp.so-net.ne.jp/mycometg3/> does this sort of thing, so you could look at the source for it.

Glenn.
 _______________________________________________
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: 
 >Using QuickTime Decoder(SDK) for decoding H264 stream of other encoders. (From: "shreeranga kamath" <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.