|
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
stream properties More...
#include <inputstream.h>
Public Attributes | |
| enum INPUTSTREAM_TYPE | m_streamType |
| uint32_t | m_features |
| uint32_t | m_flags |
| char | m_name [INPUTSTREAM_MAX_STRING_NAME_SIZE] |
| (optional) name of the stream, \0 for default handling | |
| char | m_codecName [INPUTSTREAM_MAX_STRING_CODEC_SIZE] |
| (required) name of codec according to ffmpeg | |
| char | m_codecInternalName [INPUTSTREAM_MAX_STRING_CODEC_SIZE] |
| (optional) internal name of codec (selectionstream info) | |
| enum STREAMCODEC_PROFILE | m_codecProfile |
| (optional) the profile of the codec | |
| unsigned int | m_pID |
| (required) physical index | |
| const uint8_t * | m_ExtraData |
| unsigned int | m_ExtraSize |
| char | m_language [INPUTSTREAM_MAX_STRING_LANGUAGE_SIZE] |
| RFC 5646 language code (empty string if undefined) | |
| unsigned int | m_FpsScale |
| Video stream related data. | |
| unsigned int | m_FpsRate |
| unsigned int | m_Height |
| height of the stream reported by the demuxer | |
| unsigned int | m_Width |
| width of the stream reported by the demuxer | |
| float | m_Aspect |
| display aspect of stream | |
| unsigned int | m_Channels |
| Audio stream related data. | |
| unsigned int | m_SampleRate |
| (required) sample rate | |
| unsigned int | m_BitRate |
| (required) bit rate | |
| unsigned int | m_BitsPerSample |
| (required) bits per sample | |
| unsigned int | m_BlockAlign |
| struct STREAM_CRYPTO_SESSION | m_cryptoSession |
| unsigned int | m_codecFourCC |
| Codec If available, the fourcc code codec. | |
| enum INPUTSTREAM_COLORSPACE | m_colorSpace |
| definition of colorspace | |
| enum INPUTSTREAM_COLORRANGE | m_colorRange |
| color range if available | |
| enum INPUTSTREAM_COLORPRIMARIES | m_colorPrimaries |
| enum INPUTSTREAM_COLORTRC | m_colorTransferCharacteristic |
| struct INPUTSTREAM_MASTERING_METADATA * | m_masteringMetadata |
| mastering static Metadata | |
| struct INPUTSTREAM_CONTENTLIGHT_METADATA * | m_contentLightMetadata |
| content light static Metadata | |
| struct INPUTSTREAM_DVCC_METADATA * | m_dvccMetadata |
| Dolby Vision config metadata (dvcc atom) | |
stream properties
| float INPUTSTREAM_INFO::m_Aspect |
display aspect of stream
| unsigned int INPUTSTREAM_INFO::m_BitRate |
(required) bit rate
| unsigned int INPUTSTREAM_INFO::m_BitsPerSample |
(required) bits per sample
| unsigned int INPUTSTREAM_INFO::m_BlockAlign |
| unsigned int INPUTSTREAM_INFO::m_Channels |
Audio stream related data.
(required) amount of channels
| unsigned int INPUTSTREAM_INFO::m_codecFourCC |
Codec If available, the fourcc code codec.
| char INPUTSTREAM_INFO::m_codecInternalName[INPUTSTREAM_MAX_STRING_CODEC_SIZE] |
(optional) internal name of codec (selectionstream info)
| char INPUTSTREAM_INFO::m_codecName[INPUTSTREAM_MAX_STRING_CODEC_SIZE] |
(required) name of codec according to ffmpeg
| enum STREAMCODEC_PROFILE INPUTSTREAM_INFO::m_codecProfile |
(optional) the profile of the codec
| enum INPUTSTREAM_COLORPRIMARIES INPUTSTREAM_INFO::m_colorPrimaries |
| enum INPUTSTREAM_COLORRANGE INPUTSTREAM_INFO::m_colorRange |
color range if available
| enum INPUTSTREAM_COLORSPACE INPUTSTREAM_INFO::m_colorSpace |
definition of colorspace
| enum INPUTSTREAM_COLORTRC INPUTSTREAM_INFO::m_colorTransferCharacteristic |
| struct INPUTSTREAM_CONTENTLIGHT_METADATA* INPUTSTREAM_INFO::m_contentLightMetadata |
content light static Metadata
| struct STREAM_CRYPTO_SESSION INPUTSTREAM_INFO::m_cryptoSession |
| struct INPUTSTREAM_DVCC_METADATA* INPUTSTREAM_INFO::m_dvccMetadata |
Dolby Vision config metadata (dvcc atom)
| const uint8_t* INPUTSTREAM_INFO::m_ExtraData |
| unsigned int INPUTSTREAM_INFO::m_ExtraSize |
| uint32_t INPUTSTREAM_INFO::m_features |
| uint32_t INPUTSTREAM_INFO::m_flags |
| unsigned int INPUTSTREAM_INFO::m_FpsRate |
| unsigned int INPUTSTREAM_INFO::m_FpsScale |
Video stream related data.
Scale of 1000 and a rate of 29970 will result in 29.97 fps
| unsigned int INPUTSTREAM_INFO::m_Height |
height of the stream reported by the demuxer
| char INPUTSTREAM_INFO::m_language[INPUTSTREAM_MAX_STRING_LANGUAGE_SIZE] |
RFC 5646 language code (empty string if undefined)
| struct INPUTSTREAM_MASTERING_METADATA* INPUTSTREAM_INFO::m_masteringMetadata |
mastering static Metadata
| char INPUTSTREAM_INFO::m_name[INPUTSTREAM_MAX_STRING_NAME_SIZE] |
(optional) name of the stream, \0 for default handling
| unsigned int INPUTSTREAM_INFO::m_pID |
(required) physical index
| unsigned int INPUTSTREAM_INFO::m_SampleRate |
(required) sample rate
| enum INPUTSTREAM_TYPE INPUTSTREAM_INFO::m_streamType |
| unsigned int INPUTSTREAM_INFO::m_Width |
width of the stream reported by the demuxer