aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2011-12-30 11:03:37 -0800
committerRonald S. Bultje <rsbultje@gmail.com>2011-12-30 11:20:20 -0800
commitae51b1a9ba28e6b31d0c40296e4d74eefa75ecf1 (patch)
tree5f54ad01b203117f1862e82bb8d3455c131f49d5 /tests
parent209c44526700b1bac04b9fe97c8a8fdcfbeeba00 (diff)
downloadffmpeg-ae51b1a9ba28e6b31d0c40296e4d74eefa75ecf1.tar.gz
FATE: Add test for H.264 MP4->annex.B bitstream filter.
This test uses an existing FATE sample (h264/interlaced_crop.mp4). Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/h264.mak2
-rw-r--r--tests/ref/fate/h264-bsf-mp4toannexb1
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak
index c519f74a8f..20bfda257b 100644
--- a/tests/fate/h264.mak
+++ b/tests/fate/h264.mak
@@ -175,6 +175,7 @@ FATE_H264 := $(FATE_H264:%=fate-h264-conformance-%) \
fate-h264-interlace-crop \
fate-h264-lossless \
fate-h264-extreme-plane-pred \
+ fate-h264-bsf-mp4toannexb \
FATE_TESTS += $(FATE_H264)
fate-h264: $(FATE_H264)
@@ -355,3 +356,4 @@ fate-h264-conformance-sva_nl2_e: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264-conf
fate-h264-interlace-crop: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264/interlaced_crop.mp4 -vframes 3
fate-h264-lossless: CMD = framecrc -vsync 0 -i $(SAMPLES)/h264/lossless.h264
fate-h264-extreme-plane-pred: CMD = framemd5 -vsync 0 -i $(SAMPLES)/h264/extreme-plane-pred.h264
+fate-h264-bsf-mp4toannexb: CMD = md5 -i $(SAMPLES)/h264/interlaced_crop.mp4 -vcodec copy -bsf h264_mp4toannexb -f mpeg
diff --git a/tests/ref/fate/h264-bsf-mp4toannexb b/tests/ref/fate/h264-bsf-mp4toannexb
new file mode 100644
index 0000000000..6395f2437a
--- /dev/null
+++ b/tests/ref/fate/h264-bsf-mp4toannexb
@@ -0,0 +1 @@
+503d34ff458a86387ab349c31726f19a