fate/subtitles: Add PGS remux test

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2022-09-10 21:43:33 +02:00
parent 3a783fc8cb
commit f6448133e7
2 changed files with 20 additions and 0 deletions

View File

@ -50,6 +50,11 @@ fate-sub-mpsub: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/MPSub_capability_te
FATE_SUBTITLES_ASS-$(call DEMDEC, MPSUB, TEXT) += fate-sub-mpsub-frames
fate-sub-mpsub-frames: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/MPSub_capability_tester_frames.sub
# FIXME?: The dts in the input file are not monotonous and so the
# timestamps of the remuxed file have been fixed up.
FATE_SUBTITLES-$(call REMUX, SUP) += fate-sub-pgs-remux
fate-sub-pgs-remux: CMD = transcode sup $(TARGET_SAMPLES)/sub/pgs_sub.sup sup "-copyts -c:s copy" "-copyts -c:s copy"
FATE_SUBTITLES_ASS-$(call DEMDEC, PJS, PJS) += fate-sub-pjs
fate-sub-pjs: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/PJS_capability_tester.pjs

View File

@ -0,0 +1,15 @@
cf306b7bc30122effc6429e35364f640 *tests/data/fate/sub-pgs-remux.sup
49382 tests/data/fate/sub-pgs-remux.sup
#tb 0: 1/90000
#media_type 0: subtitle
#codec_id 0: hdmv_pgs_subtitle
0, 6072, 6072, 0, 30, 0x32b303ec
0, 6072, 6072, 0, 22, 0x27510416
0, 6072, 6072, 0, 160, 0xe2024133
0, 6072, 6072, 0, 22943, 0xc011fe0e
0, 6072, 6072, 0, 2969, 0x35604c6f
0, 6072, 6072, 0, 3, 0x01800080
0, 35426, 36102, 0, 30, 0x2db303ac
0, 35426, 35862, 0, 22, 0x27510416
0, 35426, 35426, 0, 160, 0xe2024133
0, 35426, 35862, 0, 22943, 0xc011fe0e