From 3f15b301fa61547f59f1452b14edf14e5673fdd2 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Wed, 20 Mar 2013 17:44:43 +0100 Subject: fate: add test for cropping h264 to container dimensions Tests the workaround added for 1080 videos created with Canon cameras in 30f515091c323da59c0f1b533703dedca2f4b95d. --- tests/fate/h264.mak | 2 ++ tests/ref/fate/h264-crop-to-container | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 tests/ref/fate/h264-crop-to-container diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak index 90e036be9b..fcecc8f016 100644 --- a/tests/fate/h264.mak +++ b/tests/fate/h264.mak @@ -182,6 +182,7 @@ FATE_H264 := $(FATE_H264:%=fate-h264-conformance-%) \ fate-h264-lossless \ FATE_H264-$(call DEMDEC, H264, H264) += $(FATE_H264) +FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-crop-to-container FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-interlace-crop FATE_H264-$(call ALLYES, MOV_DEMUXER H264_MP4TOANNEXB_BSF) += fate-h264-bsf-mp4toannexb @@ -362,6 +363,7 @@ fate-h264-conformance-sva_nl1_b: CMD = framecrc -i $(SAMPLES)/h fate-h264-conformance-sva_nl2_e: CMD = framecrc -i $(SAMPLES)/h264-conformance/SVA_NL2_E.264 fate-h264-bsf-mp4toannexb: CMD = md5 -i $(SAMPLES)/h264/interlaced_crop.mp4 -vcodec copy -bsf h264_mp4toannexb -f h264 +fate-h264-crop-to-container: CMD = framemd5 -i $(SAMPLES)/h264/crop-to-container-dims-canon.mov fate-h264-extreme-plane-pred: CMD = framemd5 -i $(SAMPLES)/h264/extreme-plane-pred.h264 fate-h264-interlace-crop: CMD = framecrc -i $(SAMPLES)/h264/interlaced_crop.mp4 -vframes 3 fate-h264-lossless: CMD = framecrc -i $(SAMPLES)/h264/lossless.h264 diff --git a/tests/ref/fate/h264-crop-to-container b/tests/ref/fate/h264-crop-to-container new file mode 100644 index 0000000000..5dfa44157c --- /dev/null +++ b/tests/ref/fate/h264-crop-to-container @@ -0,0 +1,2 @@ +#tb 0: 1/30000 +0, 0, 0, 0, 3110400, 43a312e1eebc7dca1bd23456302a44e3 -- cgit v1.2.3