summaryrefslogtreecommitdiffstats
path: root/tests/ref/fate/sub-srt
Commit message (Collapse)AuthorAgeFilesLines
* lavc/htmlsubtitles: improve handling broken garbageClément Bœsch2017-08-011-7/+7
| | | | | | | | | | | | | | | | | | | | This commit switches off forced correct nesting of tags and only keeps it for font tags. See long explanations in the code for the rationale. This results in various FATE changes which I'll explain here: - various swapping in font attributes, this is mostly noise due to the old reverse stack way of printing them. The new one is more correct as the last attribute takes over the previous ones. - unrecognized tags disappears - invalid tags that were previously displayed aren't anymore (instead, we have a warning). This is better for the end user The main benefit of this commit is to be more tolerant to error, leading to a better handling of badly nested tags or random wrong formatting for the end user.
* avcodec/srtdec: attempt to correct SubRip positioningClément Bœsch2015-05-141-1/+1
| | | | | | | | | | | | | The positioning was completely wrong. First, the coordinates are expressed in ASS playback resolution (which is by default 384x288). Secondly, the coordinates define a drawing rectangle, not a moving area. The previous code was making subtitles move from a random position to another random position. Here we rescale assuming the video resolution is a DVD one (720x480). We can't really do anything better so far, but since this positioning information is often from a DVD rip we can consider them relatively safe.
* avcodec/ass: add FFmpeg signatureClément Bœsch2014-10-151-0/+1
|
* avcodec/ass: output missing fields in AVSubtitles and output filesClément Bœsch2014-10-151-40/+40
| | | | Fixes Ticket #3207
* fate: make subtitles tests output to stdout instead of md5Clément Bœsch2014-10-151-1/+48
| | | | This makes tracking subtitles changes simpler.
* avcodec/ass: move playres parameters below scripttypeClément Bœsch2014-06-181-1/+1
| | | | Suggested-by: wm4
* avcodec/ass: explicit PlayRes[XY]Clément Bœsch2014-06-181-1/+1
| | | | | | | | This avoids the following libass warning when using the subtitles filter: "Neither PlayResX nor PlayResY defined. Assuming 384x288" Subtitles tests change because the output is ASS and the PlayRes[XY] ends up in the output.
* lavc/ass: honor Default style.Clément Bœsch2012-06-291-1/+1
| | | | | | The "Default" style written in the header is ignored unless you explicit it in the Dialogue events (it was valid, just ignored). This requires an update of the SubRip test since the ASS output obviously changes.
* add SubRip decoderAurelien Jacobs2010-12-281-0/+1
Originally committed as revision 26119 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud