- cinder::qtime::MovieBase
- cinder::qtime::MovieGl
QuickTime movie playback as OpenGL textures Textures are always bound to the
GL_TEXTURE_RECTANGLE_ARB
target.
On Mac OS X, the destination CGLContext must be the current context when the
MovieGl
is constructed. If that doesn't mean anything to you, you should be fine. A call to
app::restoreWindowContext()
can be used to force this to be the case.
Show All |
Public Member Functions
-
~MovieGl ()
-
signals::Signal< void()> &getNewFrameSignal ()
-
signals::Signal< void()> &getReadySignal ()
-
signals::Signal< void()> &getCancelledSignal ()
-
signals::Signal< void()> &getEndedSignal ()
-
signals::Signal< void()> &getJumpedSignal ()
-
signals::Signal< void()> &getOutputWasFlushedSignal ()
-
float *getFftData () const
-
uint32_tgetNumFftBands () const
-
uint32_tgetNumFftChannels () const
Static Public Member Functions
-
create (const Url &url)
-
create (const fs::path &path)
-
create (const MovieLoaderRef &loader)
-
create (const fs::path &path)
-
create (const MovieLoaderRef &loader)
-
create (const void *data, size_t dataSize, const std::string &fileNameHint, const std::string &mimeTypeHint="")
-
create (DataSourceRef dataSource, const std::string mimeTypeHint="")
Protected Member Functions
-
MovieGl (const Url &url)
-
MovieGl (const fs::path &path)
-
MovieGl (const MovieLoader &loader)
-
NSDictionary *avPlayerItemOutputDictionary () const override
-
allocateVisualContext () override
-
deallocateVisualContext () override
-
newFrame (CVImageBufferRef cvImage) override
-
releaseFrame () override
-
MovieGl ()
-
MovieGl (const fs::path &path)
-
MovieGl (const class MovieLoader &loader)
-
MovieGl (DataSourceRef dataSource, const std::string mimeTypeHint="")
-
allocateVisualContext ()
-
getObj () const
-
init ()
-
init ()
-
initFromUrl (const Url &url)
-
initFromPath (const fs::path &filePath)
-
initFromPath (const fs::path &filePath)
-
initFromLoader (const MovieLoader &loader)
-
initFromLoader (const class MovieLoader &loader)
-
loadAsset ()
-
updateFrame ()
-
updateFrame ()
-
uint32_tcountFrames () const
-
processAssetTracks (AVAsset *asset)
-
createPlayerItemOutput (const AVPlayerItem *playerItem)
-
lock ()
-
unlock ()
-
removeObservers ()
-
addObservers ()
-
playerReady ()
-
playerItemEnded ()
-
playerItemCancelled ()
-
playerItemJumped ()
-
outputWasFlushed (AVPlayerItemOutput *output)
-
updateLoadState ()
-
setupFft (FourCharCode code, uint32_t bandNum, uint8_t channelNum)
-
TimeValuegetStartTimeOfFirstSample () const
-
initFromMemory (const void *data, size_t dataSize, const std::string &fileNameHint, const std::string &mimeTypeHint)
-
initFromDataSource (DataSourceRef dataSource, const std::string &mimeTypeHint)
-
int32_tcountFrames (::Movie theMovie)
Protected Attributes
-
std::shared_ptr< TextureCache >mTextureCache
-
mTexture
-
std::shared_ptr< Obj >mObj
-
int32_tmWidth
-
int32_tmHeight
-
int32_tmFrameCount
-
floatmFrameRate
-
floatmDuration
-
std::atomic< bool >mAssetLoaded
-
boolmLoaded
-
boolmPlayThroughOk
-
boolmPlayable
-
boolmProtected
-
boolmPlayingForward
-
boolmLoop
-
boolmPalindrome
-
boolmHasAudio
-
boolmHasVideo
-
boolmPlaying
-
AVPlayer *mPlayer
-
AVPlayerItem *mPlayerItem
-
AVURLAsset *mAsset
-
AVPlayerItemVideoOutput *mPlayerVideoOutput
-
std::mutexmMutex
-
signals::Signal< void()>mSignalNewFrame
-
signals::Signal< void()>mSignalReady
-
signals::Signal< void()>mSignalCancelled
-
signals::Signal< void()>mSignalEnded
-
signals::Signal< void()>mSignalJumped
-
signals::Signal< void()>mSignalOutputWasFlushed
-
mResponder
-
MovieDelegate *mPlayerDelegate