Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Loading...
Searching...
No Matches
Jellyfin::DTO::TranscodingProfile Class Reference

#include <transcodingprofile.h>

Public Member Functions

 TranscodingProfile (DlnaProfileType type, bool estimateContentLength, bool enableMpegtsM2TsMode, TranscodeSeekInfo transcodeSeekInfo, bool copyTimestamps, EncodingContext context, bool enableSubtitlesInManifest, qint32 minSegments, qint32 segmentLength, bool breakOnNonKeyFrames)
 
 TranscodingProfile (const TranscodingProfile &other)
 
void replaceData (TranscodingProfile &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString container () const
 
void setContainer (QString newContainer)
 
bool containerNull () const
 
void setContainerNull ()
 
DlnaProfileType type () const
 
void setType (DlnaProfileType newType)
 
QString videoCodec () const
 
void setVideoCodec (QString newVideoCodec)
 
bool videoCodecNull () const
 
void setVideoCodecNull ()
 
QString audioCodec () const
 
void setAudioCodec (QString newAudioCodec)
 
bool audioCodecNull () const
 
void setAudioCodecNull ()
 
QString protocol () const
 
void setProtocol (QString newProtocol)
 
bool protocolNull () const
 
void setProtocolNull ()
 
bool estimateContentLength () const
 
void setEstimateContentLength (bool newEstimateContentLength)
 
bool enableMpegtsM2TsMode () const
 
void setEnableMpegtsM2TsMode (bool newEnableMpegtsM2TsMode)
 
TranscodeSeekInfo transcodeSeekInfo () const
 
void setTranscodeSeekInfo (TranscodeSeekInfo newTranscodeSeekInfo)
 
bool copyTimestamps () const
 
void setCopyTimestamps (bool newCopyTimestamps)
 
EncodingContext context () const
 
void setContext (EncodingContext newContext)
 
bool enableSubtitlesInManifest () const
 
void setEnableSubtitlesInManifest (bool newEnableSubtitlesInManifest)
 
QString maxAudioChannels () const
 
void setMaxAudioChannels (QString newMaxAudioChannels)
 
bool maxAudioChannelsNull () const
 
void setMaxAudioChannelsNull ()
 
qint32 minSegments () const
 
void setMinSegments (qint32 newMinSegments)
 
qint32 segmentLength () const
 
void setSegmentLength (qint32 newSegmentLength)
 
bool breakOnNonKeyFrames () const
 
void setBreakOnNonKeyFrames (bool newBreakOnNonKeyFrames)
 

Static Public Member Functions

static TranscodingProfile fromJson (QJsonObject source)
 

Protected Attributes

QString m_container
 
DlnaProfileType m_type
 
QString m_videoCodec
 
QString m_audioCodec
 
QString m_protocol
 
bool m_estimateContentLength
 
bool m_enableMpegtsM2TsMode
 
TranscodeSeekInfo m_transcodeSeekInfo
 
bool m_copyTimestamps
 
EncodingContext m_context
 
bool m_enableSubtitlesInManifest
 
QString m_maxAudioChannels
 
qint32 m_minSegments
 
qint32 m_segmentLength
 
bool m_breakOnNonKeyFrames
 

Constructor & Destructor Documentation

◆ TranscodingProfile() [1/2]

Jellyfin::DTO::TranscodingProfile::TranscodingProfile ( DlnaProfileType type,
bool estimateContentLength,
bool enableMpegtsM2TsMode,
TranscodeSeekInfo transcodeSeekInfo,
bool copyTimestamps,
EncodingContext context,
bool enableSubtitlesInManifest,
qint32 minSegments,
qint32 segmentLength,
bool breakOnNonKeyFrames )

◆ TranscodingProfile() [2/2]

Jellyfin::DTO::TranscodingProfile::TranscodingProfile ( const TranscodingProfile & other)

Member Function Documentation

◆ audioCodec()

QString Jellyfin::DTO::TranscodingProfile::audioCodec ( ) const

◆ audioCodecNull()

bool Jellyfin::DTO::TranscodingProfile::audioCodecNull ( ) const

◆ breakOnNonKeyFrames()

bool Jellyfin::DTO::TranscodingProfile::breakOnNonKeyFrames ( ) const

◆ container()

QString Jellyfin::DTO::TranscodingProfile::container ( ) const

◆ containerNull()

bool Jellyfin::DTO::TranscodingProfile::containerNull ( ) const

◆ context()

EncodingContext Jellyfin::DTO::TranscodingProfile::context ( ) const

◆ copyTimestamps()

bool Jellyfin::DTO::TranscodingProfile::copyTimestamps ( ) const

◆ enableMpegtsM2TsMode()

bool Jellyfin::DTO::TranscodingProfile::enableMpegtsM2TsMode ( ) const

◆ enableSubtitlesInManifest()

bool Jellyfin::DTO::TranscodingProfile::enableSubtitlesInManifest ( ) const

◆ estimateContentLength()

bool Jellyfin::DTO::TranscodingProfile::estimateContentLength ( ) const

◆ fromJson()

TranscodingProfile Jellyfin::DTO::TranscodingProfile::fromJson ( QJsonObject source)
static

◆ maxAudioChannels()

QString Jellyfin::DTO::TranscodingProfile::maxAudioChannels ( ) const

◆ maxAudioChannelsNull()

bool Jellyfin::DTO::TranscodingProfile::maxAudioChannelsNull ( ) const

◆ minSegments()

qint32 Jellyfin::DTO::TranscodingProfile::minSegments ( ) const

◆ protocol()

QString Jellyfin::DTO::TranscodingProfile::protocol ( ) const

◆ protocolNull()

bool Jellyfin::DTO::TranscodingProfile::protocolNull ( ) const

◆ replaceData()

void Jellyfin::DTO::TranscodingProfile::replaceData ( TranscodingProfile & other)

Replaces the data being hold by this class with that of the other.

◆ segmentLength()

qint32 Jellyfin::DTO::TranscodingProfile::segmentLength ( ) const

◆ setAudioCodec()

void Jellyfin::DTO::TranscodingProfile::setAudioCodec ( QString newAudioCodec)

◆ setAudioCodecNull()

void Jellyfin::DTO::TranscodingProfile::setAudioCodecNull ( )

◆ setBreakOnNonKeyFrames()

void Jellyfin::DTO::TranscodingProfile::setBreakOnNonKeyFrames ( bool newBreakOnNonKeyFrames)

◆ setContainer()

void Jellyfin::DTO::TranscodingProfile::setContainer ( QString newContainer)

◆ setContainerNull()

void Jellyfin::DTO::TranscodingProfile::setContainerNull ( )

◆ setContext()

void Jellyfin::DTO::TranscodingProfile::setContext ( EncodingContext newContext)

◆ setCopyTimestamps()

void Jellyfin::DTO::TranscodingProfile::setCopyTimestamps ( bool newCopyTimestamps)

◆ setEnableMpegtsM2TsMode()

void Jellyfin::DTO::TranscodingProfile::setEnableMpegtsM2TsMode ( bool newEnableMpegtsM2TsMode)

◆ setEnableSubtitlesInManifest()

void Jellyfin::DTO::TranscodingProfile::setEnableSubtitlesInManifest ( bool newEnableSubtitlesInManifest)

◆ setEstimateContentLength()

void Jellyfin::DTO::TranscodingProfile::setEstimateContentLength ( bool newEstimateContentLength)

◆ setFromJson()

void Jellyfin::DTO::TranscodingProfile::setFromJson ( QJsonObject source)

◆ setMaxAudioChannels()

void Jellyfin::DTO::TranscodingProfile::setMaxAudioChannels ( QString newMaxAudioChannels)

◆ setMaxAudioChannelsNull()

void Jellyfin::DTO::TranscodingProfile::setMaxAudioChannelsNull ( )

◆ setMinSegments()

void Jellyfin::DTO::TranscodingProfile::setMinSegments ( qint32 newMinSegments)

◆ setProtocol()

void Jellyfin::DTO::TranscodingProfile::setProtocol ( QString newProtocol)

◆ setProtocolNull()

void Jellyfin::DTO::TranscodingProfile::setProtocolNull ( )

◆ setSegmentLength()

void Jellyfin::DTO::TranscodingProfile::setSegmentLength ( qint32 newSegmentLength)

◆ setTranscodeSeekInfo()

void Jellyfin::DTO::TranscodingProfile::setTranscodeSeekInfo ( TranscodeSeekInfo newTranscodeSeekInfo)

◆ setType()

void Jellyfin::DTO::TranscodingProfile::setType ( DlnaProfileType newType)

◆ setVideoCodec()

void Jellyfin::DTO::TranscodingProfile::setVideoCodec ( QString newVideoCodec)

◆ setVideoCodecNull()

void Jellyfin::DTO::TranscodingProfile::setVideoCodecNull ( )

◆ toJson()

QJsonObject Jellyfin::DTO::TranscodingProfile::toJson ( ) const

◆ transcodeSeekInfo()

TranscodeSeekInfo Jellyfin::DTO::TranscodingProfile::transcodeSeekInfo ( ) const

◆ type()

DlnaProfileType Jellyfin::DTO::TranscodingProfile::type ( ) const

◆ videoCodec()

QString Jellyfin::DTO::TranscodingProfile::videoCodec ( ) const

◆ videoCodecNull()

bool Jellyfin::DTO::TranscodingProfile::videoCodecNull ( ) const

Member Data Documentation

◆ m_audioCodec

QString Jellyfin::DTO::TranscodingProfile::m_audioCodec
protected

◆ m_breakOnNonKeyFrames

bool Jellyfin::DTO::TranscodingProfile::m_breakOnNonKeyFrames
protected

◆ m_container

QString Jellyfin::DTO::TranscodingProfile::m_container
protected

◆ m_context

EncodingContext Jellyfin::DTO::TranscodingProfile::m_context
protected

◆ m_copyTimestamps

bool Jellyfin::DTO::TranscodingProfile::m_copyTimestamps
protected

◆ m_enableMpegtsM2TsMode

bool Jellyfin::DTO::TranscodingProfile::m_enableMpegtsM2TsMode
protected

◆ m_enableSubtitlesInManifest

bool Jellyfin::DTO::TranscodingProfile::m_enableSubtitlesInManifest
protected

◆ m_estimateContentLength

bool Jellyfin::DTO::TranscodingProfile::m_estimateContentLength
protected

◆ m_maxAudioChannels

QString Jellyfin::DTO::TranscodingProfile::m_maxAudioChannels
protected

◆ m_minSegments

qint32 Jellyfin::DTO::TranscodingProfile::m_minSegments
protected

◆ m_protocol

QString Jellyfin::DTO::TranscodingProfile::m_protocol
protected

◆ m_segmentLength

qint32 Jellyfin::DTO::TranscodingProfile::m_segmentLength
protected

◆ m_transcodeSeekInfo

TranscodeSeekInfo Jellyfin::DTO::TranscodingProfile::m_transcodeSeekInfo
protected

◆ m_type

DlnaProfileType Jellyfin::DTO::TranscodingProfile::m_type
protected

◆ m_videoCodec

QString Jellyfin::DTO::TranscodingProfile::m_videoCodec
protected

The documentation for this class was generated from the following files: