Class for transcoded video stream options.
More...
Public Member Functions |
| TranscodingOptions (const unsigned int width, const unsigned int height) |
| Initializes a new instance of the dvblinkremote::Transcoding class.
|
| ~TranscodingOptions () |
| Destructor for cleaning up allocated memory.
|
unsigned int | GetWidth () |
| Gets the width to be used for transcoding a video stream.
|
void | SetWidth (const unsigned int width) |
| Sets the width to be used for transcoding a video stream.
|
unsigned int | GetHeight () |
| Gets the height to be used for transcoding a video stream.
|
void | SetHeight (const unsigned int height) |
| Sets the height to be used for transcoding a video stream.
|
unsigned int | GetBitrate () |
| Gets the bitrate to be used for transcoding a video stream.
|
void | SetBitrate (const unsigned int bitrate) |
| Sets the bitrate to be used for transcoding a video stream.
|
std::string & | GetAudioTrack () |
| Gets the audio track to be used for transcoding a video stream.
|
void | SetAudioTrack (const std::string &audioTrack) |
| Sets the audio track to be used for transcoding a video stream.
|
Detailed Description
Class for transcoded video stream options.
Constructor & Destructor Documentation
dvblinkremote::TranscodingOptions::TranscodingOptions |
( |
const unsigned int |
width, |
|
|
const unsigned int |
height |
|
) |
| |
Initializes a new instance of the dvblinkremote::Transcoding class.
- Parameters
-
width | a constant unsigned integer representing the width in pixels to use for a transcoded video stream. |
height | a constant unsigned integer representing the height in pixels to use for a transcoded video stream. |
dvblinkremote::TranscodingOptions::~TranscodingOptions |
( |
| ) |
|
Destructor for cleaning up allocated memory.
Member Function Documentation
std::string& dvblinkremote::TranscodingOptions::GetAudioTrack |
( |
| ) |
|
Gets the audio track to be used for transcoding a video stream.
- Returns
- Audio track in ISO-639 language code format.
unsigned int dvblinkremote::TranscodingOptions::GetBitrate |
( |
| ) |
|
Gets the bitrate to be used for transcoding a video stream.
- Returns
- Bitrate in kilobits/sec
unsigned int dvblinkremote::TranscodingOptions::GetHeight |
( |
| ) |
|
Gets the height to be used for transcoding a video stream.
- Returns
- Height in pixels
unsigned int dvblinkremote::TranscodingOptions::GetWidth |
( |
| ) |
|
Gets the width to be used for transcoding a video stream.
- Returns
- Width in pixels
void dvblinkremote::TranscodingOptions::SetAudioTrack |
( |
const std::string & |
audioTrack | ) |
|
Sets the audio track to be used for transcoding a video stream.
- Parameters
-
audioTrack | a constant string reference representing an audio track in ISO-639 language code format to be used for transcoding a video stream. |
void dvblinkremote::TranscodingOptions::SetBitrate |
( |
const unsigned int |
bitrate | ) |
|
Sets the bitrate to be used for transcoding a video stream.
- Parameters
-
bitrate | a constant unsigned integer representing height in pixels to be used for transcoding a video stream. |
void dvblinkremote::TranscodingOptions::SetHeight |
( |
const unsigned int |
height | ) |
|
Sets the height to be used for transcoding a video stream.
- Parameters
-
height | a constant unsigned integer representing height in pixels to be used for transcoding a video stream. |
void dvblinkremote::TranscodingOptions::SetWidth |
( |
const unsigned int |
width | ) |
|
Sets the width to be used for transcoding a video stream.
- Parameters
-
width | a constant unsigned integer representing width in pixels to be used for transcoding a video stream. |