![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <transcodingprofile.h>
Public Member Functions | |
| TranscodingProfile (QString container, DlnaProfileType type, QString videoCodec, QString audioCodec, MediaStreamProtocol protocol, std::optional< bool > estimateContentLength, std::optional< bool > enableMpegtsM2TsMode, TranscodeSeekInfo transcodeSeekInfo, std::optional< bool > copyTimestamps, EncodingContext context, std::optional< bool > enableSubtitlesInManifest, std::optional< qint32 > minSegments, std::optional< qint32 > segmentLength, std::optional< bool > breakOnNonKeyFrames, QList< ProfileCondition > conditions, std::optional< bool > enableAudioVbrEncoding) | |
| TranscodingProfile (const TranscodingProfile &other) | |
| void | replaceData (TranscodingProfile &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QString | container () const |
| Gets or sets the container. | |
| void | setContainer (QString newContainer) |
| Gets or sets the container. | |
| DlnaProfileType | type () const |
| void | setType (DlnaProfileType newType) |
| QString | videoCodec () const |
| Gets or sets the video codec. | |
| void | setVideoCodec (QString newVideoCodec) |
| Gets or sets the video codec. | |
| QString | audioCodec () const |
| Gets or sets the audio codec. | |
| void | setAudioCodec (QString newAudioCodec) |
| Gets or sets the audio codec. | |
| MediaStreamProtocol | protocol () const |
| void | setProtocol (MediaStreamProtocol newProtocol) |
| std::optional< bool > | estimateContentLength () const |
| Gets or sets a value indicating whether the content length should be estimated. | |
| void | setEstimateContentLength (std::optional< bool > newEstimateContentLength) |
| Gets or sets a value indicating whether the content length should be estimated. | |
| std::optional< bool > | enableMpegtsM2TsMode () const |
| Gets or sets a value indicating whether M2TS mode is enabled. | |
| void | setEnableMpegtsM2TsMode (std::optional< bool > newEnableMpegtsM2TsMode) |
| Gets or sets a value indicating whether M2TS mode is enabled. | |
| TranscodeSeekInfo | transcodeSeekInfo () const |
| void | setTranscodeSeekInfo (TranscodeSeekInfo newTranscodeSeekInfo) |
| std::optional< bool > | copyTimestamps () const |
| Gets or sets a value indicating whether timestamps should be copied. | |
| void | setCopyTimestamps (std::optional< bool > newCopyTimestamps) |
| Gets or sets a value indicating whether timestamps should be copied. | |
| EncodingContext | context () const |
| void | setContext (EncodingContext newContext) |
| std::optional< bool > | enableSubtitlesInManifest () const |
| Gets or sets a value indicating whether subtitles are allowed in the manifest. | |
| void | setEnableSubtitlesInManifest (std::optional< bool > newEnableSubtitlesInManifest) |
| Gets or sets a value indicating whether subtitles are allowed in the manifest. | |
| QString | maxAudioChannels () const |
| Gets or sets the maximum audio channels. | |
| void | setMaxAudioChannels (QString newMaxAudioChannels) |
| Gets or sets the maximum audio channels. | |
| bool | maxAudioChannelsNull () const |
| void | setMaxAudioChannelsNull () |
| std::optional< qint32 > | minSegments () const |
| Gets or sets the minimum amount of segments. | |
| void | setMinSegments (std::optional< qint32 > newMinSegments) |
| Gets or sets the minimum amount of segments. | |
| std::optional< qint32 > | segmentLength () const |
| Gets or sets the segment length. | |
| void | setSegmentLength (std::optional< qint32 > newSegmentLength) |
| Gets or sets the segment length. | |
| std::optional< bool > | breakOnNonKeyFrames () const |
| Gets or sets a value indicating whether breaking the video stream on non-keyframes is supported. | |
| void | setBreakOnNonKeyFrames (std::optional< bool > newBreakOnNonKeyFrames) |
| Gets or sets a value indicating whether breaking the video stream on non-keyframes is supported. | |
| QList< ProfileCondition > | conditions () const |
| Gets or sets the profile conditions. | |
| void | setConditions (QList< ProfileCondition > newConditions) |
| Gets or sets the profile conditions. | |
| std::optional< bool > | enableAudioVbrEncoding () const |
| Gets or sets a value indicating whether variable bitrate encoding is supported. | |
| void | setEnableAudioVbrEncoding (std::optional< bool > newEnableAudioVbrEncoding) |
| Gets or sets a value indicating whether variable bitrate encoding is supported. | |
Static Public Member Functions | |
| static TranscodingProfile | fromJson (QJsonObject source) |
Protected Attributes | |
| QString | m_container |
| DlnaProfileType | m_type |
| QString | m_videoCodec |
| QString | m_audioCodec |
| MediaStreamProtocol | m_protocol |
| std::optional< bool > | m_estimateContentLength = std::nullopt |
| std::optional< bool > | m_enableMpegtsM2TsMode = std::nullopt |
| TranscodeSeekInfo | m_transcodeSeekInfo |
| std::optional< bool > | m_copyTimestamps = std::nullopt |
| EncodingContext | m_context |
| std::optional< bool > | m_enableSubtitlesInManifest = std::nullopt |
| QString | m_maxAudioChannels |
| std::optional< qint32 > | m_minSegments = std::nullopt |
| std::optional< qint32 > | m_segmentLength = std::nullopt |
| std::optional< bool > | m_breakOnNonKeyFrames = std::nullopt |
| QList< ProfileCondition > | m_conditions |
| std::optional< bool > | m_enableAudioVbrEncoding = std::nullopt |
| Jellyfin::DTO::TranscodingProfile::TranscodingProfile | ( | QString | container, |
| DlnaProfileType | type, | ||
| QString | videoCodec, | ||
| QString | audioCodec, | ||
| MediaStreamProtocol | protocol, | ||
| std::optional< bool > | estimateContentLength, | ||
| std::optional< bool > | enableMpegtsM2TsMode, | ||
| TranscodeSeekInfo | transcodeSeekInfo, | ||
| std::optional< bool > | copyTimestamps, | ||
| EncodingContext | context, | ||
| std::optional< bool > | enableSubtitlesInManifest, | ||
| std::optional< qint32 > | minSegments, | ||
| std::optional< qint32 > | segmentLength, | ||
| std::optional< bool > | breakOnNonKeyFrames, | ||
| QList< ProfileCondition > | conditions, | ||
| std::optional< bool > | enableAudioVbrEncoding ) |
| Jellyfin::DTO::TranscodingProfile::TranscodingProfile | ( | const TranscodingProfile & | other | ) |
| QString Jellyfin::DTO::TranscodingProfile::audioCodec | ( | ) | const |
Gets or sets the audio codec.
| std::optional< bool > Jellyfin::DTO::TranscodingProfile::breakOnNonKeyFrames | ( | ) | const |
Gets or sets a value indicating whether breaking the video stream on non-keyframes is supported.
| QList< ProfileCondition > Jellyfin::DTO::TranscodingProfile::conditions | ( | ) | const |
Gets or sets the profile conditions.
| QString Jellyfin::DTO::TranscodingProfile::container | ( | ) | const |
Gets or sets the container.
| EncodingContext Jellyfin::DTO::TranscodingProfile::context | ( | ) | const |
| std::optional< bool > Jellyfin::DTO::TranscodingProfile::copyTimestamps | ( | ) | const |
Gets or sets a value indicating whether timestamps should be copied.
| std::optional< bool > Jellyfin::DTO::TranscodingProfile::enableAudioVbrEncoding | ( | ) | const |
Gets or sets a value indicating whether variable bitrate encoding is supported.
| std::optional< bool > Jellyfin::DTO::TranscodingProfile::enableMpegtsM2TsMode | ( | ) | const |
Gets or sets a value indicating whether M2TS mode is enabled.
| std::optional< bool > Jellyfin::DTO::TranscodingProfile::enableSubtitlesInManifest | ( | ) | const |
Gets or sets a value indicating whether subtitles are allowed in the manifest.
| std::optional< bool > Jellyfin::DTO::TranscodingProfile::estimateContentLength | ( | ) | const |
Gets or sets a value indicating whether the content length should be estimated.
|
static |
| QString Jellyfin::DTO::TranscodingProfile::maxAudioChannels | ( | ) | const |
Gets or sets the maximum audio channels.
| bool Jellyfin::DTO::TranscodingProfile::maxAudioChannelsNull | ( | ) | const |
| std::optional< qint32 > Jellyfin::DTO::TranscodingProfile::minSegments | ( | ) | const |
Gets or sets the minimum amount of segments.
| MediaStreamProtocol Jellyfin::DTO::TranscodingProfile::protocol | ( | ) | const |
| void Jellyfin::DTO::TranscodingProfile::replaceData | ( | TranscodingProfile & | other | ) |
Replaces the data being hold by this class with that of the other.
| std::optional< qint32 > Jellyfin::DTO::TranscodingProfile::segmentLength | ( | ) | const |
Gets or sets the segment length.
| void Jellyfin::DTO::TranscodingProfile::setAudioCodec | ( | QString | newAudioCodec | ) |
Gets or sets the audio codec.
| void Jellyfin::DTO::TranscodingProfile::setBreakOnNonKeyFrames | ( | std::optional< bool > | newBreakOnNonKeyFrames | ) |
Gets or sets a value indicating whether breaking the video stream on non-keyframes is supported.
| void Jellyfin::DTO::TranscodingProfile::setConditions | ( | QList< ProfileCondition > | newConditions | ) |
Gets or sets the profile conditions.
| void Jellyfin::DTO::TranscodingProfile::setContainer | ( | QString | newContainer | ) |
Gets or sets the container.
| void Jellyfin::DTO::TranscodingProfile::setContext | ( | EncodingContext | newContext | ) |
| void Jellyfin::DTO::TranscodingProfile::setCopyTimestamps | ( | std::optional< bool > | newCopyTimestamps | ) |
Gets or sets a value indicating whether timestamps should be copied.
| void Jellyfin::DTO::TranscodingProfile::setEnableAudioVbrEncoding | ( | std::optional< bool > | newEnableAudioVbrEncoding | ) |
Gets or sets a value indicating whether variable bitrate encoding is supported.
| void Jellyfin::DTO::TranscodingProfile::setEnableMpegtsM2TsMode | ( | std::optional< bool > | newEnableMpegtsM2TsMode | ) |
Gets or sets a value indicating whether M2TS mode is enabled.
| void Jellyfin::DTO::TranscodingProfile::setEnableSubtitlesInManifest | ( | std::optional< bool > | newEnableSubtitlesInManifest | ) |
Gets or sets a value indicating whether subtitles are allowed in the manifest.
| void Jellyfin::DTO::TranscodingProfile::setEstimateContentLength | ( | std::optional< bool > | newEstimateContentLength | ) |
Gets or sets a value indicating whether the content length should be estimated.
| void Jellyfin::DTO::TranscodingProfile::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::TranscodingProfile::setMaxAudioChannels | ( | QString | newMaxAudioChannels | ) |
Gets or sets the maximum audio channels.
| void Jellyfin::DTO::TranscodingProfile::setMaxAudioChannelsNull | ( | ) |
| void Jellyfin::DTO::TranscodingProfile::setMinSegments | ( | std::optional< qint32 > | newMinSegments | ) |
Gets or sets the minimum amount of segments.
| void Jellyfin::DTO::TranscodingProfile::setProtocol | ( | MediaStreamProtocol | newProtocol | ) |
| void Jellyfin::DTO::TranscodingProfile::setSegmentLength | ( | std::optional< qint32 > | newSegmentLength | ) |
Gets or sets the segment length.
| void Jellyfin::DTO::TranscodingProfile::setTranscodeSeekInfo | ( | TranscodeSeekInfo | newTranscodeSeekInfo | ) |
| void Jellyfin::DTO::TranscodingProfile::setType | ( | DlnaProfileType | newType | ) |
| void Jellyfin::DTO::TranscodingProfile::setVideoCodec | ( | QString | newVideoCodec | ) |
Gets or sets the video codec.
| QJsonObject Jellyfin::DTO::TranscodingProfile::toJson | ( | ) | const |
| TranscodeSeekInfo Jellyfin::DTO::TranscodingProfile::transcodeSeekInfo | ( | ) | const |
| DlnaProfileType Jellyfin::DTO::TranscodingProfile::type | ( | ) | const |
| QString Jellyfin::DTO::TranscodingProfile::videoCodec | ( | ) | const |
Gets or sets the video codec.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |