Private RAII wrappers over libav*. More...
Classes | |
| class | AVChannelLayout |
| RAII ::AVChannelLayout (av_channel_layout_copy / uninit). More... | |
| class | AVFilterGraph |
| RAII AVFilterGraph with a single video or audio in/out. More... | |
| class | AVFrame |
| RAII owner of a libav AVFrame. More... | |
| class | AVPacket |
| RAII owner of a libav AVPacket. More... | |
| class | AVPointer |
| Move-only RAII base for FFmpeg C pointers. More... | |
| class | Exception |
| Base for FFmpeg backend errors. More... | |
| class | BSFError |
| Bitstream filter failure. More... | |
| class | DecoderError |
| Decoder open or process failure. More... | |
| class | EncoderError |
| Encoder open or process failure. More... | |
| class | AVRational |
| Pair {num, den} matching libavutil AVRational. More... | |
Enumerations | |
| enum | OperationResult { Success , EndOfFile , Error , TryAgain } |
| Result of send/receive style FFmpeg calls. More... | |
Functions | |
| std::int64_t | Rescale (std::int64_t ticks, const AVRational &src, const AVRational &dst) noexcept |
| av_rescale_q(ticks, src, dst). | |
| Property::Color | MapColor (const AVFrame &frame, const Property::Color &fallback) noexcept |
| Maps a frame's color tags, retaining fallback values for unspecified tags. | |
| Multimedia::Stream::Properties | MapProperties (const AVStream &stream) noexcept |
| Builds the public property bag from a stream view. | |
| Safe::String | ErrorToString (int errnum) |
| Converts an FFmpeg error code to a string. | |
Variables | |
| constexpr int | TimeBase = 1000000 |
| FFmpeg time-base frequency in microseconds (AV_TIME_BASE). | |
| constexpr AVRational | TimeBaseQ {1, TimeBase} |
| FFmpeg time base (AV_TIME_BASE_Q). | |
| constexpr AVRational | Nanosecond {1, 1000000000} |
| Time base with one-nanosecond ticks. | |
| constexpr std::int64_t | NoPts = std::numeric_limits<std::int64_t>::min() |
| Sentinel for an unavailable timestamp (AV_NOPTS_VALUE). | |
Private RAII wrappers over libav*.
Result of send/receive style FFmpeg calls.
| Enumerator | |
|---|---|
| Success | Completed successfully. |
| EndOfFile | EOF reached. |
| Error | Hard error. |
| TryAgain | EAGAIN: need more input/output. |
| Safe::String StormByte::Multimedia::FFmpeg::ErrorToString | ( | int | errnum | ) |
Converts an FFmpeg error code to a string.
| errnum | Code from av_strerror. |
|
noexcept |
Maps a frame's color tags, retaining fallback values for unspecified tags.
| frame | Native frame adapter. |
| fallback | Previous color description. |
|
noexcept |
Builds the public property bag from a stream view.
| stream | Stream view. |
|
inlinenoexcept |
av_rescale_q(ticks, src, dst).
| ticks | Source ticks. |
| src | Source time base. |
| dst | Destination time base. |
|
inlineconstexpr |
Time base with one-nanosecond ticks.
|
inlineconstexpr |
Sentinel for an unavailable timestamp (AV_NOPTS_VALUE).
|
inlineconstexpr |
FFmpeg time-base frequency in microseconds (AV_TIME_BASE).
|
inlineconstexpr |
FFmpeg time base (AV_TIME_BASE_Q).