Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <EncoderFFmpeg.h>
Public Member Functions | |
CEncoderFFmpeg ()=default | |
~CEncoderFFmpeg () override=default | |
bool | Init () override |
ssize_t | Encode (uint8_t *pbtStream, size_t nNumBytesRead) override |
bool | Close () override |
Public Member Functions inherited from KODI::CDRIP::CEncoder | |
CEncoder () | |
virtual | ~CEncoder () |
bool | EncoderInit (const std::string &strFile, int iInChannels, int iInRate, int iInBits) |
ssize_t | EncoderEncode (uint8_t *pbtStream, size_t nNumBytesRead) |
bool | EncoderClose () |
void | SetComment (const std::string &str) |
void | SetArtist (const std::string &str) |
void | SetTitle (const std::string &str) |
void | SetAlbum (const std::string &str) |
void | SetAlbumArtist (const std::string &str) |
void | SetGenre (const std::string &str) |
void | SetTrack (const std::string &str) |
void | SetTrackLength (int length) |
void | SetYear (const std::string &str) |
Public Member Functions inherited from KODI::CDRIP::IEncoder | |
virtual | ~IEncoder ()=default |
Additional Inherited Members | |
Public Attributes inherited from KODI::CDRIP::IEncoder | |
std::string | m_strComment |
std::string | m_strArtist |
std::string | m_strAlbumArtist |
std::string | m_strTitle |
std::string | m_strAlbum |
std::string | m_strGenre |
std::string | m_strTrack |
std::string | m_strYear |
std::string | m_strFile |
int | m_iTrackLength = 0 |
int | m_iInChannels = 0 |
int | m_iInSampleRate = 0 |
int | m_iInBitsPerSample = 0 |
Protected Member Functions inherited from KODI::CDRIP::CEncoder | |
virtual ssize_t | Write (const uint8_t *pBuffer, size_t iBytes) |
virtual ssize_t | Seek (ssize_t iFilePosition, int iWhence) |
|
default |
|
overridedefault |
|
overridevirtual |
Implements KODI::CDRIP::IEncoder.
Implements KODI::CDRIP::IEncoder.
|
overridevirtual |
Implements KODI::CDRIP::IEncoder.