Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
MPEG2 muxed frame by frame playback
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MPEG2 muxed frame by frame playback



Title: MPEG2 muxed frame by frame playback

Hello -

I have purchased Apple's MPEG2 playback component and am trying to playback frame by frame a multiplexed (audio/video in one stream) MPEG2 file. In real time. The video interface creates the movie then loops:

                GetMovieNextInterestingTime(pMpgData->QTMovie,flags,0,NULL,GetMovieTime(pMpgData->QTMovie, 0),

                                                                fixed1,&frameTimeMovie,NULL);

                SetMovieTimeValue(pMpgData->QTMovie, frameTimeMovie);

               

                UpdateMovie(pMpgData->QTMovie);

                MoviesTask(pMpgData->QTMovie, 0);

       

                PixMapHandle pmh = GetGWorldPixMap(pMpgData->GWorld);

                char * src_addr = GetPixBaseAddr(pmh);


The video stream does work but comes out slow, halting.

The audio interface creates the movie independently then establishes an audio session (AudioStreamBasicDescription) to read the audio data. All return codes come back OK, but the audio is silent.

Is the above approach feasable? Particularly give the mysterious FAQ about the MPEG playback component

Can I use the MPEG-2 Playback Component to de-multiplex (i.e., de-mux) multiplexed streams?

While multiplexed streams can be played back with the QuickTime MPEG-2 Playback Component, de-multiplexing of these streams is not supported.

Thank you for your time,


Michael Huffaker

BroadcastPix







 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.