[FFmpeg-devel] [PATCH] fate: add vobsub/dvdsub test.
Clément Bœsch
ubitux at gmail.com
Fri Dec 7 22:09:52 CET 2012
---
Note: we need to add the dependencies for all these subtitles tests. This one
tests vobsub demuxer, dvdsub decoder and dvdsub encoder.
---
tests/fate/subtitles.mak | 3 +++
tests/ref/fate/sub-dvdsub | 43 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 46 insertions(+)
create mode 100644 tests/ref/fate/sub-dvdsub
diff --git a/tests/fate/subtitles.mak b/tests/fate/subtitles.mak
index d939da9..44a5196 100644
--- a/tests/fate/subtitles.mak
+++ b/tests/fate/subtitles.mak
@@ -28,6 +28,9 @@ fate-sub-subviewer: CMD = md5 -i $(SAMPLES)/sub/SubViewer_capability_tester.sub
FATE_SUBTITLES += fate-sub-webvtt
fate-sub-webvtt: CMD = md5 -i $(SAMPLES)/sub/WebVTT_capability_tester.vtt -f ass
+FATE_SUBTITLES += fate-sub-dvdsub
+fate-sub-dvdsub: CMD = framecrc -i $(SAMPLES)/sub/vobsub.idx -c:s dvdsub
+
FATE_SUBTITLES += $(FATE_SUBTITLES-yes)
FATE_SAMPLES_FFMPEG += $(FATE_SUBTITLES)
diff --git a/tests/ref/fate/sub-dvdsub b/tests/ref/fate/sub-dvdsub
new file mode 100644
index 0000000..538dc79
--- /dev/null
+++ b/tests/ref/fate/sub-dvdsub
@@ -0,0 +1,43 @@
+#tb 0: 1/1000
+0, 132499, 132499, 4960, 1015, 0xe3589bb3, F=0x0
+0, 147355, 147355, 4733, 2094, 0xf95a276b, F=0x0
+0, 180797, 180797, 2560, 2480, 0x8d15f7a6, F=0x0
+0, 183433, 183433, 2366, 3059, 0xc51fa41e, F=0x0
+0, 185919, 185919, 2696, 2095, 0x0aaf2833, F=0x0
+0, 188663, 188663, 1262, 1013, 0xcf42936c, F=0x0
+0, 190014, 190014, 1661, 969, 0xb4d081dd, F=0x0
+0, 199724, 199724, 1365, 844, 0xa04e56d2, F=0x0
+0, 201175, 201175, 1558, 802, 0x6bb4389f, F=0x0
+0, 202819, 202819, 1865, 1709, 0x645ab06c, F=0x0
+0, 204762, 204762, 1968, 2438, 0x25f9d2b1, F=0x0
+0, 206806, 206806, 1831, 2116, 0xccc65302, F=0x0
+0, 208716, 208716, 1262, 1822, 0x9e9fd73d, F=0x0
+0, 210051, 210051, 1524, 987, 0x47268267, F=0x0
+0, 211644, 211644, 2662, 2956, 0xc6ad94e8, F=0x0
+0, 214380, 214380, 2764, 3094, 0xf594d455, F=0x0
+0, 217225, 217225, 2366, 2585, 0x6b711a44, F=0x0
+0, 219652, 219652, 1831, 634, 0xba8d028d, F=0x0
+0, 223531, 223531, 2332, 2080, 0xd2ca2755, F=0x0
+0, 227510, 227510, 3299, 2964, 0x184d80b0, F=0x0
+0, 230872, 230872, 2161, 1875, 0xa6e3020d, F=0x0
+0, 233124, 233124, 4096, 3872, 0x353513b8, F=0x0
+0, 237303, 237303, 2730, 3094, 0xc253c5f5, F=0x0
+0, 240106, 240106, 2059, 2404, 0xd3bfca22, F=0x0
+0, 273556, 273556, 1661, 1088, 0xa46fb338, F=0x0
+0, 295445, 295445, 1331, 339, 0x786e89d4, F=0x0
+0, 300049, 300049, 1900, 1312, 0xc00a1ae3, F=0x0
+0, 304203, 304203, 1695, 1826, 0x5966d819, F=0x0
+0, 305947, 305947, 1934, 1474, 0x8db2486d, F=0x0
+0, 307957, 307957, 1763, 1019, 0x3e789c7e, F=0x0
+0, 321295, 321295, 1968, 1596, 0xbdb6803d, F=0x0
+0, 323356, 323356, 1228, 1517, 0xfc996a0c, F=0x0
+0, 324640, 324640, 1763, 2506, 0x9446ec30, F=0x0
+0, 327193, 327193, 1092, 1074, 0x8289b21e, F=0x0
+0, 328369, 328369, 1524, 1715, 0x6d74b411, F=0x0
+0, 329946, 329946, 1160, 789, 0xcda71ee7, F=0x0
+0, 331230, 331230, 1627, 1846, 0xa1a0d66b, F=0x0
+0, 332924, 332924, 1763, 922, 0xb5157a08, F=0x0
+0, 342600, 342600, 1831, 665, 0xe2950772, F=0x0
+0, 346771, 346771, 1558, 1216, 0x59e0019b, F=0x0
+0, 357640, 357640, 2127, 2133, 0x552b2539, F=0x0
+0, 359834, 359834, 1262, 1264, 0x7037070e, F=0x0
--
1.8.0.1
More information about the ffmpeg-devel
mailing list