#include <StreamInformation.h>
Stream information class.
Definition at line 34 of file StreamInformation.h.
◆ StreamInformation()
ffmpegkit::StreamInformation::StreamInformation |
( |
std::shared_ptr< rapidjson::Value > |
streamInformationValue | ) |
|
◆ getAllProperties()
std::shared_ptr< rapidjson::Value > ffmpegkit::StreamInformation::getAllProperties |
( |
| ) |
|
Returns all stream properties defined.
- Returns
- all stream properties in a Value or nullptr if no properties are defined
Definition at line 123 of file StreamInformation.cpp.
◆ getAverageFrameRate()
std::shared_ptr< std::string > ffmpegkit::StreamInformation::getAverageFrameRate |
( |
| ) |
|
◆ getBitrate()
std::shared_ptr< std::string > ffmpegkit::StreamInformation::getBitrate |
( |
| ) |
|
◆ getChannelLayout()
std::shared_ptr< std::string > ffmpegkit::StreamInformation::getChannelLayout |
( |
| ) |
|
◆ getCodec()
std::shared_ptr< std::string > ffmpegkit::StreamInformation::getCodec |
( |
| ) |
|
◆ getCodecLong()
std::shared_ptr< std::string > ffmpegkit::StreamInformation::getCodecLong |
( |
| ) |
|
Returns stream codec in long format.
- Returns
- stream codec with additional profile and mode information
Definition at line 37 of file StreamInformation.cpp.
◆ getCodecTimeBase()
std::shared_ptr< std::string > ffmpegkit::StreamInformation::getCodecTimeBase |
( |
| ) |
|
◆ getDisplayAspectRatio()
std::shared_ptr< std::string > ffmpegkit::StreamInformation::getDisplayAspectRatio |
( |
| ) |
|
◆ getFormat()
std::shared_ptr< std::string > ffmpegkit::StreamInformation::getFormat |
( |
| ) |
|
◆ getHeight()
std::shared_ptr< int64_t > ffmpegkit::StreamInformation::getHeight |
( |
| ) |
|
◆ getIndex()
std::shared_ptr< int64_t > ffmpegkit::StreamInformation::getIndex |
( |
| ) |
|
◆ getNumberProperty()
std::shared_ptr< int64_t > ffmpegkit::StreamInformation::getNumberProperty |
( |
const char * |
key | ) |
|
Returns the stream property associated with the key.
- Returns
- stream property as number or nullptr if the key is not found
Definition at line 105 of file StreamInformation.cpp.
◆ getProperty()
std::shared_ptr< rapidjson::Value > ffmpegkit::StreamInformation::getProperty |
( |
const char * |
key | ) |
|
Returns the stream property associated with the key.
- Returns
- stream property in a Value or nullptr if the key is not found
Definition at line 113 of file StreamInformation.cpp.
◆ getRealFrameRate()
std::shared_ptr< std::string > ffmpegkit::StreamInformation::getRealFrameRate |
( |
| ) |
|
◆ getSampleAspectRatio()
std::shared_ptr< std::string > ffmpegkit::StreamInformation::getSampleAspectRatio |
( |
| ) |
|
◆ getSampleFormat()
std::shared_ptr< std::string > ffmpegkit::StreamInformation::getSampleFormat |
( |
| ) |
|
◆ getSampleRate()
std::shared_ptr< std::string > ffmpegkit::StreamInformation::getSampleRate |
( |
| ) |
|
◆ getStringProperty()
std::shared_ptr< std::string > ffmpegkit::StreamInformation::getStringProperty |
( |
const char * |
key | ) |
|
Returns the stream property associated with the key.
- Returns
- stream property as string or nullptr if the key is not found
Definition at line 97 of file StreamInformation.cpp.
◆ getTags()
std::shared_ptr< rapidjson::Value > ffmpegkit::StreamInformation::getTags |
( |
| ) |
|
◆ getTimeBase()
std::shared_ptr< std::string > ffmpegkit::StreamInformation::getTimeBase |
( |
| ) |
|
◆ getType()
std::shared_ptr< std::string > ffmpegkit::StreamInformation::getType |
( |
| ) |
|
◆ getWidth()
std::shared_ptr< int64_t > ffmpegkit::StreamInformation::getWidth |
( |
| ) |
|
◆ _streamInformationValue
std::shared_ptr<rapidjson::Value> ffmpegkit::StreamInformation::_streamInformationValue |
|
private |
◆ KeyAverageFrameRate
constexpr const char* ffmpegkit::StreamInformation::KeyAverageFrameRate = "avg_frame_rate" |
|
staticconstexpr |
◆ KeyBitRate
constexpr const char* ffmpegkit::StreamInformation::KeyBitRate = "bit_rate" |
|
staticconstexpr |
◆ KeyChannelLayout
constexpr const char* ffmpegkit::StreamInformation::KeyChannelLayout = "channel_layout" |
|
staticconstexpr |
◆ KeyCodec
constexpr const char* ffmpegkit::StreamInformation::KeyCodec = "codec_name" |
|
staticconstexpr |
◆ KeyCodecLong
constexpr const char* ffmpegkit::StreamInformation::KeyCodecLong = "codec_long_name" |
|
staticconstexpr |
◆ KeyCodecTimeBase
constexpr const char* ffmpegkit::StreamInformation::KeyCodecTimeBase = "codec_time_base" |
|
staticconstexpr |
◆ KeyDisplayAspectRatio
constexpr const char* ffmpegkit::StreamInformation::KeyDisplayAspectRatio = "display_aspect_ratio" |
|
staticconstexpr |
◆ KeyFormat
constexpr const char* ffmpegkit::StreamInformation::KeyFormat = "pix_fmt" |
|
staticconstexpr |
◆ KeyHeight
constexpr const char* ffmpegkit::StreamInformation::KeyHeight = "height" |
|
staticconstexpr |
◆ KeyIndex
constexpr const char* ffmpegkit::StreamInformation::KeyIndex = "index" |
|
staticconstexpr |
◆ KeyRealFrameRate
constexpr const char* ffmpegkit::StreamInformation::KeyRealFrameRate = "r_frame_rate" |
|
staticconstexpr |
◆ KeySampleAspectRatio
constexpr const char* ffmpegkit::StreamInformation::KeySampleAspectRatio = "sample_aspect_ratio" |
|
staticconstexpr |
◆ KeySampleFormat
constexpr const char* ffmpegkit::StreamInformation::KeySampleFormat = "sample_fmt" |
|
staticconstexpr |
◆ KeySampleRate
constexpr const char* ffmpegkit::StreamInformation::KeySampleRate = "sample_rate" |
|
staticconstexpr |
◆ KeyTags
constexpr const char* ffmpegkit::StreamInformation::KeyTags = "tags" |
|
staticconstexpr |
◆ KeyTimeBase
constexpr const char* ffmpegkit::StreamInformation::KeyTimeBase = "time_base" |
|
staticconstexpr |
◆ KeyType
constexpr const char* ffmpegkit::StreamInformation::KeyType = "codec_type" |
|
staticconstexpr |
◆ KeyWidth
constexpr const char* ffmpegkit::StreamInformation::KeyWidth = "width" |
|
staticconstexpr |
The documentation for this class was generated from the following files: