Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Latest commit

 

History

History
36 lines (29 loc) · 2.2 KB

README.md

File metadata and controls

36 lines (29 loc) · 2.2 KB

This is a toy project. Not even working correctly. Archived.

BDSupReader

Original File Images (converted to APNG) Screen Images (converted to APNG)
🎬 Image Example.png Screen Image Example.png

Intro

A BluRay PGS subtitle (.sup) parser, which is developed as a helper CLI tool to sync PGS subtitles timewise. More features will be considered when the basic requirements are met.

This project is still under development, comments and advices are always appreciated!

Features

  • Acquire all the information that the subtitle carries, please refer to US Patent US 20090185789 A1 for details;
  • Acquire the start and end timestamp for each caption;
  • Acquire and save images of each caption;
  • Acquire and save the screen image, which means not only the images themselves, but also their placements on the screen, of each caption;
  • Convert to a 1D vector based on a certain sample frequency;
  • Shift, scale or transform timestamps;
  • Apply a filter on caption images.

Future Work

  • Convert text format strings to RGBA image;
  • Convert subrip or ASS/SSA subtitles to PGS subtitles;
  • OCR. (Maybe not, for this feature is too heavy)

Known Issues

Please refer to the Open Issues Page.

Reference