[FFmpeg-devel] [PATCH v6 2/3] fate: Add tests for hevc_mp4annexb bsf

Andriy Gelman andriy.gelman at gmail.com
Wed Oct 16 05:50:40 EEST 2019


From: Andriy Gelman <andriy.gelman at gmail.com>

Test hevc-mp4annexb-pps:
Test contains 64 PPS that are signalled in extradata.
Different PPS are referenced by the VCL nal units during the mp4 to
annexb conversion.

Test hevc-mp4annexb-sps:
Access units contain PPS that reference different cached SPS nal
units.
---
 tests/fate/hevc.mak | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/tests/fate/hevc.mak b/tests/fate/hevc.mak
index 4f812b0834..3209d581cd 100644
--- a/tests/fate/hevc.mak
+++ b/tests/fate/hevc.mak
@@ -240,6 +240,28 @@ fate-hevc-bsf-mp4toannexb: CMD = md5 -i $(TARGET_PATH)/tests/data/hevc-mp4.mov -
 fate-hevc-bsf-mp4toannexb: CMP = oneline
 fate-hevc-bsf-mp4toannexb: REF = 3c9d998a3aa2b9e0fb1c1f434952bf8b
 
+tests/data/hevc-pps-mp4.mov: TAG = GEN
+tests/data/hevc-pps-mp4.mov: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
+	$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
+	-i $(TARGET_SAMPLES)/hevc-conformance/PPS_A_qualcomm_7.bit -c copy -flags +bitexact $(TARGET_PATH)/$@ -y 2>/dev/null
+
+FATE_HEVC-$(call ALLYES, HEVC_DEMUXER MOV_DEMUXER HEVC_MP4TOANNEXB_BSF MOV_MUXER HEVC_MUXER) += fate-hevc-bsf-mp4toannexb-pps
+fate-hevc-bsf-mp4toannexb-pps: tests/data/hevc-pps-mp4.mov
+fate-hevc-bsf-mp4toannexb-pps: CMD = md5 -i $(TARGET_PATH)/tests/data/hevc-pps-mp4.mov -c:v copy -fflags +bitexact -f hevc
+fate-hevc-bsf-mp4toannexb-pps: CMP = oneline
+fate-hevc-bsf-mp4toannexb-pps: REF = 28ad5b4fdcb8c35ba2b1b740c761bae3
+
+tests/data/hevc-sps-mp4.mov: TAG = GEN
+tests/data/hevc-sps-mp4.mov: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
+	$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
+	-i $(TARGET_SAMPLES)/hevc-conformance/SLIST_B_Sony_8.bit -c copy -flags +bitexact $(TARGET_PATH)/$@ -y 2>/dev/null
+
+FATE_HEVC-$(call ALLYES, HEVC_DEMUXER MOV_DEMUXER HEVC_MP4TOANNEXB_BSF MOV_MUXER HEVC_MUXER) += fate-hevc-bsf-mp4toannexb-sps
+fate-hevc-bsf-mp4toannexb-sps: tests/data/hevc-sps-mp4.mov
+fate-hevc-bsf-mp4toannexb-sps: CMD = md5 -i $(TARGET_PATH)/tests/data/hevc-sps-mp4.mov -c:v copy -fflags +bitexact -f hevc
+fate-hevc-bsf-mp4toannexb-sps: CMP = oneline
+fate-hevc-bsf-mp4toannexb-sps: REF = 762147b37b393620eb30af7809f34bb2
+
 fate-hevc-skiploopfilter: CMD = framemd5 -skip_loop_filter nokey -i $(TARGET_SAMPLES)/hevc-conformance/SAO_D_Samsung_5.bit -sws_flags bitexact
 FATE_HEVC += fate-hevc-skiploopfilter
 
-- 
2.23.0



More information about the ffmpeg-devel mailing list