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