edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiB86fb0f3Tahinli7 days ago3927 commits
| 1 | #!/usr/bin/env bash |
| 2 | # gen-bitmap-sub-fixtures.sh: regenerate the DVD/DVB subtitle fixtures of ec-dvdsub and ec-dvbsub. |
| 3 | # |
| 4 | # A synthetic 720x576 PGS source (scripts/gen-bitmap-sub-fixtures.py, PIL text, four cues at |
| 5 | # 0.5-1.5, 2.0-3.2, 3.5-4.5, 5.0-6.0 s) is encoded by ffmpeg's dvdsub and dvbsub encoders (they |
| 6 | # take bitmaps only). Needs ffmpeg and python3 with PIL. dvd.idx is written by hand from dvd.sub. |
| 7 | |
| 8 | ROOT= |
| 9 | T= |
| 10 | |
| 11 | |
| 12 | S=(-fix_sub_duration -f sup -i "/src.sup") |
| 13 | DVD="/crates/ec-dvdsub/tests/data"; DVB="/crates/ec-dvbsub/tests/data" |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 |