summaryrefslogtreecommitdiff
path: root/libavcodec/profiles.c
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2019-01-14 21:52:23 +0200
committerJan Ekström <jeebjp@gmail.com>2019-02-10 03:30:52 +0200
commit100bfac6d6ecb3447dc3ac4b9d2c41085da59a8b (patch)
tree1a30c271740d23967e4bb587107fa37eb616500c /libavcodec/profiles.c
parent5c515b5f7d64fb1fccc3e99cd50f01bfbdd2a794 (diff)
add libaribb24 ARIB STD-B24 caption decoder
* Outputs ASS lines with basic coloring and font scaling for each given region. * Sets the default style to the resolution of the subtitle plane (for example, 960x540 / 36pt font for profile A). * Has options to: * Disable ruby text (which is coded as regions which have half-height text in libaribb24). Enabled by default as without positioning ruby text only confuses as it is usually coded in the beginning of the decoded subtitle line. * Set the working directory, in which libaribb24 will read configuration as well as into which it may save broadcast extra symbols as PNG. Unset by default. The unconventional library check can be explained by the library's current master branch being licensed as LGPLv3, but at the time of writing the latest official release is still licensed under GPLv3. Thus, one either has to wait for the following release, or enable GPLv3.
Diffstat (limited to 'libavcodec/profiles.c')
-rw-r--r--libavcodec/profiles.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/profiles.c b/libavcodec/profiles.c
index e6f937fdb4..eaf0d68d32 100644
--- a/libavcodec/profiles.c
+++ b/libavcodec/profiles.c
@@ -170,4 +170,10 @@ const AVProfile ff_mjpeg_profiles[] = {
{ FF_PROFILE_UNKNOWN }
};
+const AVProfile ff_arib_caption_profiles[] = {
+ { FF_PROFILE_ARIB_PROFILE_A, "Profile A" },
+ { FF_PROFILE_ARIB_PROFILE_C, "Profile C" },
+ { FF_PROFILE_UNKNOWN }
+};
+
#endif /* !CONFIG_SMALL */