aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fate/ffmpeg.mak
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2013-01-01 18:51:38 +0100
committerNicolas George <nicolas.george@normalesup.org>2013-01-02 17:53:12 +0100
commitb252d9e77763dcc1a8568922285722855c0e9dce (patch)
tree27171052ebf4c7d8dd7c9df04d48ebfbf4bf1188 /tests/fate/ffmpeg.mak
parente4f14c32b95adb19109f30fc255c30cc25749099 (diff)
downloadffmpeg-b252d9e77763dcc1a8568922285722855c0e9dce.tar.gz
fate: add sub2video test.
Diffstat (limited to 'tests/fate/ffmpeg.mak')
-rw-r--r--tests/fate/ffmpeg.mak8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/fate/ffmpeg.mak b/tests/fate/ffmpeg.mak
index eb8666f9ea..69b97459a3 100644
--- a/tests/fate/ffmpeg.mak
+++ b/tests/fate/ffmpeg.mak
@@ -19,3 +19,11 @@ fate-force_key_frames: CMD = enc_dec \
"rawvideo -s 352x288 -pix_fmt yuv420p" tests/data/vsynth2.yuv \
avi "-c mpeg4 -g 240 -qscale 10 -force_key_frames 0.5,0:00:01.5" \
framecrc "" "" "-skip_frame nokey"
+
+FATE_SAMPLES_FFMPEG-$(call ALLYES, VOBSUB_DEMUXER DVDSUB_DECODER AVFILTER OVERLAY_FILTER DVDSUB_ENCODER) += fate-sub2video
+fate-sub2video: tests/data/vsynth2.yuv
+fate-sub2video: CMD = framecrc \
+ -f rawvideo -r 5 -s 352x288 -pix_fmt yuv420p -i tests/data/vsynth2.yuv \
+ -ss 132 -i $(SAMPLES)/sub/vobsub.idx \
+ -filter_complex "[0:0]scale=720:480[v];[v][1:0]overlay[v2]" \
+ -map "[v2]" -c:v rawvideo -map 1:s -c:s dvdsub