Video-track encoding intention, or Remux without a codec. More...
#include <StormByte/multimedia/pipeline/config/video.hxx>


Public Member Functions | |
| PointerType | Clone () const override |
| Deep copy. | |
| PointerType | Move () override |
| Move into a new pointer. | |
Lifecycle | |
| Video () | |
| Empty video config (Remux until Codec is set). | |
| Video (const Video &other) | |
| Copy constructor. | |
| Video (Video &&other) | |
| Move constructor. | |
| virtual | ~Video () noexcept override |
| Destructor. | |
| Video & | operator= (const Video &other) |
| Copy assignment. | |
| Video & | operator= (Video &&other) noexcept |
| Move assignment. | |
Encode | |
| const StormByte::Multimedia::Codec * | Codec () const noexcept |
| Destination codec. | |
| void | Codec (const StormByte::Multimedia::Codec &codec) noexcept |
| Sets the destination codec (Encode). | |
| const StormByte::Safe::Optional< double > & | CRF () const noexcept |
| CRF/CQ. | |
| void | CRF (double value) |
| Sets CRF/CQ and clears BitRate. | |
| const StormByte::Safe::Optional< std::int64_t > & | BitRate () const noexcept |
| Target bitrate. | |
| void | BitRate (std::int64_t bits_per_second) |
| Sets target bitrate and clears CRF. | |
| const StormByte::Safe::Optional< std::int64_t > & | MaxBitRate () const noexcept |
| VBV ceiling. | |
| void | MaxBitRate (std::int64_t bits_per_second) |
| Sets VBV ceiling. | |
| const StormByte::Safe::Optional< StormByte::Safe::String > & | Preset () const noexcept |
| Encoder preset. | |
| void | Preset (StormByte::Safe::String name) |
| Sets the preset. | |
| const StormByte::Safe::Optional< StormByte::Safe::String > & | Tune () const noexcept |
| Content tune. | |
| void | Tune (StormByte::Safe::String name) |
| Sets the tune. | |
| const StormByte::Safe::Map< StormByte::Safe::String, StormByte::Safe::String > & | FineTune () const noexcept |
| Vendor leftovers. | |
| void | FineTune (StormByte::Safe::Map< StormByte::Safe::String, StormByte::Safe::String > options) noexcept |
| Replaces the vendor dict. | |
| Public Member Functions inherited from StormByte::Multimedia::Pipeline::Config::Base | |
| Base (const Base &other) | |
| Copy constructor. | |
| Base (Base &&other) noexcept | |
| Move constructor. | |
| virtual | ~Base () noexcept override |
| Destructor. | |
| Base & | operator= (const Base &other) |
| Copy assignment. | |
| Base & | operator= (Base &&other) noexcept |
| Move assignment. | |
| constexpr enum StormByte::Multimedia::Type | Type () const noexcept |
| Media stamped by the leaf constructor. | |
| const StormByte::Safe::Optional< StormByte::Safe::String > & | Language () const noexcept |
| Language override. | |
| void | Language (StormByte::Safe::String language) |
| Sets the language override. | |
| void | RemoveLanguage () |
| Writes the track without a language tag, even if the source has one. | |
| const StormByte::Safe::Optional< StormByte::Safe::String > & | Title () const noexcept |
| Title override. | |
| void | Title (StormByte::Safe::String title) |
| Sets the title override. | |
| void | RemoveTitle () |
| Writes the track without a title, even if the source has one. | |
| const StormByte::Safe::Optional< bool > & | Default () const noexcept |
| Default-disposition override. | |
| void | Default (StormByte::Safe::Optional< bool > value) noexcept |
| Sets or clears the default-disposition override. | |
| const StormByte::Safe::Optional< bool > & | Forced () const noexcept |
| Forced-disposition override. | |
| void | Forced (StormByte::Safe::Optional< bool > value) noexcept |
| Sets or clears the forced-disposition override. | |
| const struct Implementation & | Implementation () const noexcept |
| Decoder / encoder pins. | |
| void | Implementation (struct Implementation implementation) noexcept |
| Replaces both pins. | |
| Public Member Functions inherited from StormByte::Safe::Clonable< Base, StormByte::Safe::Unique< Base > > | |
| constexpr | Clonable ()=default |
| constexpr Clonable & | operator= (const Clonable &)=default |
| virtual constexpr | ~Clonable () noexcept=default |
Additional Inherited Members | |
| Public Types inherited from StormByte::Safe::Clonable< Base, StormByte::Safe::Unique< Base > > | |
| typedef SmartPointer | PointerType |
| Static Public Member Functions inherited from StormByte::Safe::Clonable< Base, StormByte::Safe::Unique< Base > > | |
| static PointerType | MakePointer (Args &&... args) |
| Protected Member Functions inherited from StormByte::Multimedia::Pipeline::Config::Base | |
| Base (enum StormByte::Multimedia::Type type) | |
| Empty overrides; media fixed for the leaf lifetime. | |
Video-track encoding intention, or Remux without a codec.
| StormByte::Multimedia::Pipeline::Config::Video::Video | ( | ) |
Empty video config (Remux until Codec is set).
| StormByte::Multimedia::Pipeline::Config::Video::Video | ( | const Video & | other | ) |
Copy constructor.
| other | Source config. |
| StormByte::Multimedia::Pipeline::Config::Video::Video | ( | Video && | other | ) |
Move constructor.
| other | Config to take. |
|
overridevirtualnoexcept |
Destructor.
|
inlinenoexcept |
Target bitrate.
| void StormByte::Multimedia::Pipeline::Config::Video::BitRate | ( | std::int64_t | bits_per_second | ) |
Sets target bitrate and clears CRF.
| bits_per_second | Bits per second. |
|
overridevirtual |
Deep copy.
Implements StormByte::Safe::Clonable< Base, StormByte::Safe::Unique< Base > >.
|
inlinenoexcept |
Destination codec.
|
inlinenoexcept |
|
inlinenoexcept |
CRF/CQ.
Incompatible with BitRate.
| void StormByte::Multimedia::Pipeline::Config::Video::CRF | ( | double | value | ) |
Sets CRF/CQ and clears BitRate.
| value | Quality value. |
|
inlinenoexcept |
Vendor leftovers.
Not CRF / preset / tune / bufsize.
|
noexcept |
Replaces the vendor dict.
| options | Key/value pairs. |
|
inlinenoexcept |
VBV ceiling.
| void StormByte::Multimedia::Pipeline::Config::Video::MaxBitRate | ( | std::int64_t | bits_per_second | ) |
Sets VBV ceiling.
bufsize is derived by the encoder.
| bits_per_second | Max bitrate. |
|
overridevirtual |
Move into a new pointer.
Implements StormByte::Safe::Clonable< Base, StormByte::Safe::Unique< Base > >.
Copy assignment.
| other | Source config. |
|
inlinenoexcept |
Encoder preset.
| void StormByte::Multimedia::Pipeline::Config::Video::Preset | ( | StormByte::Safe::String | name | ) |
Sets the preset.
Empty clears it.
| name | Preset name (medium, p4, …). |
|
inlinenoexcept |
Content tune.
| void StormByte::Multimedia::Pipeline::Config::Video::Tune | ( | StormByte::Safe::String | name | ) |
Sets the tune.
Empty clears it.
| name | Tune name (animation, film, …). |