CCExtractor Development

BUG: Tags are not handled properly.

Background

CCExtractor is a tool that extracts captions from video files and outputs them in a user-specified format. Some of the video files (e.g. EIA608/teletext) store those captions in plain-text instead of images. However, if the user wants to output them as images (by specifying the spupng output format), we will need to generate those images from the texts ourselves.

Task

Tags in closed captions are rendered as-is when using -out=spupng with EIA608/teletext. For example, the images might contain <i>Some texts</i> whereas what we really want is italicized Some texts.

This bug was introduced when I migrate the old implementation into a new one based on FreeType. The task is to implement a parser and style the output images correctly.

See this issue for more description.

File/function that might be relevant: ccx_encoders_spupng.c

Submission

Fix the bug and submit a PR.

Task tags

  • c
  • bug
  • core ccextractor

Students who completed this task

deuteriumoxide

Task type

  • code Code
  • done_all Quality Assurance
close

2019