|
avcpp 3.1.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
|
Subtitle frames: text and ASS payloads, bitmap rectangles.
#include <string_view>#include <vector>#include "avcompat.h"#include "averror.h"#include "ffmpeg.h"#include "rational.h"#include "timestamp.h"#include <span>#include <libavcodec/avcodec.h>Go to the source code of this file.
Classes | |
| class | av::SubtitleRect |
| Non-owning view over AVSubtitleRect. More... | |
| class | av::SubtitleFrame |
| Owning, move-only subtitle frame. More... | |
Namespaces | |
| namespace | av |
| Root namespace of the library. | |
Functions | |
| std::string_view | av::subtitle::defaultAssHeader () noexcept |
| Returns a built-in ASS/SSA script header accepted by the FFmpeg text subtitle encoders (subrip, webvtt, mov_text, text and ass). | |
|
noexcept |
The value does not depend on the FFmpeg version, unlike the headers generated by the FFmpeg subtitle decoders.