Package com.jogamp.opengl.util.av
Public Audio/Video Utility Package
Disclaimer
We are currently refining and completing this new API and it's implementation. Feel free to comment and help using our public channels.
Revision History
- Early Draft Review, April 17th 2012
-
Interface Summary Interface Description GLMediaPlayer GLMediaPlayer interface specifies aTextureSequence
state machine using a multiplexed audio/video stream as it's source.GLMediaPlayer.GLMediaEventListener As the contract ofGLMediaPlayer.GLMediaFrameListener
andTextureSequence.TexSeqEventListener
requests, implementations ofGLMediaPlayer.GLMediaEventListener
shall: off-load complex orGLMediaPlayer
commands on another thread, or simply changing a volatile state of theirGLEventListener
implementation.GLMediaPlayer.GLMediaFrameListener SubBitmapEvent.TextureOwner To be implemented by theTexture
owner to release the texture.SubtitleEventListener SubtitleEvent
Listener -
Class Summary Class Description GLMediaPlayer.Chapter Chapter meta-data of stream, seeGLMediaPlayer.getChapters()
.GLMediaPlayer.EventMask Changes attributes event maskGLMediaPlayerFactory SubBitmapEvent BitmapTexture
event ofSubtitleEvent
SubEmptyEvent EmptySubtitleEvent
, used for bitmap subtitle signaling end of previousSubBitmapEvent
, e.g.SubTextEvent Text Event Line including ASS/SAA ofSubtitleEvent
SubtitleEvent Generic subtitle event -
Enum Summary Enum Description CodecID FFmpeg/libAV analogAVCodecID
.GLMediaPlayer.EventMask.Bit Attribute change bitsGLMediaPlayer.State See Lifecycle.SubTextEvent.ASSType ASS Formatting TypeSubTextEvent.TextFormat Text formattingSubtitleEvent.Type SubtitleEvent
Implementation TypeVideoPixelFormat FFmpeg/libAV compatible video pixel format -
Exception Summary Exception Description GLMediaPlayer.StreamException A StreamException encapsulates a caught exception in the decoder thread, a.k.a StreamWorker, see See StreamWorker Error Handling.