AVI Container Decoder which can be fed with small chunks of data. The minimum length must be bigger then the header size! The file structure is documented at https://learn.microsoft.com/en-us/windows/win32/directshow/avi-riff-file-reference.
More...
#include <ContainerAVI.h>
|
| int | id |
| | custom id to be used by application
|
| |
AVI Container Decoder which can be fed with small chunks of data. The minimum length must be bigger then the header size! The file structure is documented at https://learn.microsoft.com/en-us/windows/win32/directshow/avi-riff-file-reference.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ AVIDecoder() [1/2]
◆ AVIDecoder() [2/2]
◆ ~AVIDecoder()
◆ addNotifyAudioChange()
Adds target to be notified about audio changes.
Reimplemented in CodecNOP, EncodedAudioOutput, EncodedAudioStream, AACDecoderFDK, DecoderBasic, CodecChain, MP3DecoderHelix, MP3DecoderMAD, OggContainerDecoder, RTSPClient< TcpClient, UdpSocket >, Pipeline, and Pipeline::ModifyingStreamAdapter.
◆ audioFormat()
Provides the audio_info.wFormatTag.
◆ audioInfo()
|
|
inlineoverridevirtualinherited |
provides the actual input AudioInfo
Implements AudioInfoSupport.
Reimplemented in CodecNOP, DecoderBasic, DSFDecoder, MP3DecoderHelix, MP3DecoderMAD, OpusAudioDecoder, VorbisDecoder, WAVDecoder, WavIMADecoder, OggContainerDecoder, and VorbisDecoder.
◆ audioInfoOut()
provides the actual output AudioInfo: this is usually the same as audioInfo() unless we use a transforming stream
Reimplemented in PureDataStream, PWMAudioOutput, ChannelFormatConverterStreamT< T >, ChannelFormatConverterStream, NumberFormatConverterStreamT< TFrom, TTo >, NumberFormatConverterStream, FormatConverterStream, Pipeline, ResampleStream, and ResampleStreamT< TInterpolator >.
◆ aviAudioInfo()
Provides the audio information.
◆ aviVideoInfo()
Provides the video information.
◆ begin() [1/2]
◆ begin() [2/2]
|
|
inlineoverridevirtualinherited |
◆ cleanupStack()
◆ clearNotifyAudioChange()
◆ consume()
We remove the processed bytes from the beginning of the buffer.
◆ end()
◆ getInt()
Provides the int32 at the indicated byte offset.
◆ getOutput()
◆ getStr()
Provides the string at the indicated byte offset with the indicated length.
◆ isCurrentStreamAudio()
| bool isCurrentStreamAudio |
( |
| ) |
|
|
inlineprotected |
◆ isCurrentStreamVideo()
| bool isCurrentStreamVideo |
( |
| ) |
|
|
inlineprotected |
◆ isMetadataReady()
Returns true if all metadata has been parsed and is available.
◆ isNotifyActive()
Checks if the automatic AudioInfo update is active.
◆ mainHeader()
Provides the information from the main header chunk.
◆ notifyAudioChange()
◆ operator bool()
◆ parse()
◆ parseAVIStreamData()
◆ parseChunk()
We load the indicated chunk from the current data.
◆ parseHeader()
◆ parseList()
We load the indicated list from the current data.
◆ processStack()
◆ removeNotifyAudioChange()
◆ setAudioInfo()
|
|
inlineoverridevirtualinherited |
◆ setCodecConfig()
Some decoders need e.g. a magic cookie to provide the relevant info for decoding.
Reimplemented in DecoderALAC, and MultiDecoder.
◆ setMute()
◆ setNotifyActive()
Deactivate/Reactivate automatic AudioInfo updates: (default is active)
◆ setOutput() [1/3]
◆ setOutput() [2/3]
◆ setOutput() [3/3]
◆ setOutputVideoStream()
◆ setupAudioInfo()
◆ setupVideoInfo()
◆ setValidationCallback()
Register a validation callback which is called after parsing just before playing the audio
◆ setVideoAudioSync()
Replace the synchronization logic with your implementation.
◆ streamHeader()
Provides the information from the stream header chunks.
◆ tryParseChunk() [1/2]
We parse a chunk and provide the FOURCC id and size: No content data is stored
◆ tryParseChunk() [2/2]
We try to parse the indicated chunk and determine the size: No content data is stored
◆ tryParseList() [1/2]
We try to parse the actual state for any list.
◆ tryParseList() [2/2]
◆ videoFormat()
◆ videoSeconds()
Provide the length of the video in seconds.
◆ write()
◆ writeBlocking()
◆ writeData()
◆ audio_info
◆ content_types
◆ copy_decoder
◆ current_pos
◆ current_stream_data
◆ defaultSynch
◆ header_is_avi
◆ id
custom id to be used by application
◆ info
◆ is_metadata_ready
◆ is_mute
◆ is_notify_active
◆ is_parsing_active
◆ main_header
◆ movi_end_pos
◆ notify_vector
◆ object_stack
◆ open_subchunk_len
| long open_subchunk_len = 0 |
|
protected |
◆ p_decoder
◆ p_output_audio
◆ p_output_video
◆ p_print
◆ p_synch
◆ parse_buffer
◆ parse_state
◆ spaces
◆ str
◆ stream_header
◆ stream_header_idx
| int stream_header_idx = -1 |
|
protected |
◆ validation_cb
◆ video_format
| char video_format[5] = {0} |
|
protected |
◆ video_info
◆ video_seconds
The documentation for this class was generated from the following file: