[libav-devel] [PATCH] FATE: Add test for H.264 MP4->annex.B bitstream filter. This test uses an existing FATE sample (h264/interlaced_crop.mp4).
mike at multimedia.cx
mike at multimedia.cx
Fri Dec 30 20:03:37 CET 2011
From: Mike Melanson <mike at multimedia.cx>
---
tests/fate/h264.mak | 2 ++
tests/ref/fate/bsf_h264_mp4toannexb | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
create mode 100644 tests/ref/fate/bsf_h264_mp4toannexb
diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak
index c519f74..6f4b11e 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-bsf_h264_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-bsf_h264_mp4toannexb: CMD = md5 -i $(SAMPLES)/h264/interlaced_crop.mp4 -vcodec copy -bsf h264_mp4toannexb -f mpeg
diff --git a/tests/ref/fate/bsf_h264_mp4toannexb b/tests/ref/fate/bsf_h264_mp4toannexb
new file mode 100644
index 0000000..6395f24
--- /dev/null
+++ b/tests/ref/fate/bsf_h264_mp4toannexb
@@ -0,0 +1 @@
+503d34ff458a86387ab349c31726f19a
--
1.7.4.1
More information about the libav-devel
mailing list