summaryrefslogtreecommitdiff
path: root/libavcodec/libaribb24.c
Commit message (Collapse)AuthorAge
* lavc/libaribb24: use integer math to calculate font scalingJan Ekström2019-02-12
|
* lavc/libaribb24: add missing type struct members to AVOptionsJan Ekström2019-02-12
|
* lavc/libaribb24: protect handled value with parenthesis in RGB_TO_BGRJan Ekström2019-02-12
|
* lavc/libaribb24: add error handling to region handlingJan Ekström2019-02-12
| | | | | | | | | | | Fixes some rather embarrassing mistakes that somehow passed my eyes. * Now catches if memory allocation has failed during bprint usage by checking av_bprint_is_complete(). * Now catches if adding an ASS rectangle into an AVSubtitle failed. * Returns AVERROR_INVALIDDATA if we get an invalid region buffer length.
* add libaribb24 ARIB STD-B24 caption decoderJan Ekström2019-02-10
* 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.