[FFmpeg-cvslog] fate/lavf-container: add an H264 mp4 remux test

James Almer git at videolan.org
Fri Nov 29 23:25:50 EET 2019


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Fri Nov 29 18:12:41 2019 -0300| [13ed2435940056a7b1f11b1f83069839a760cdbf] | committer: James Almer

fate/lavf-container: add an H264 mp4 remux test

This uses a raw h264 bitstream as source, in order to test the avcC
generation code.

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=13ed2435940056a7b1f11b1f83069839a760cdbf
---

 tests/fate/lavf-container.mak | 2 ++
 tests/ref/lavf-fate/h264.mp4  | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/tests/fate/lavf-container.mak b/tests/fate/lavf-container.mak
index f86e3ed84c..eb55500990 100644
--- a/tests/fate/lavf-container.mak
+++ b/tests/fate/lavf-container.mak
@@ -57,6 +57,7 @@ FATE_AVCONV += $(FATE_LAVF_CONTAINER)
 fate-lavf-container fate-lavf: $(FATE_LAVF_CONTAINER)
 
 FATE_LAVF_CONTAINER_FATE-$(call ALLYES, IVF_DEMUXER AV1_PARSER MOV_MUXER)      += av1.mp4
+FATE_LAVF_CONTAINER_FATE-$(call ALLYES, H264_DEMUXER H264_PARSER MOV_MUXER)    += h264.mp4
 FATE_LAVF_CONTAINER_FATE-$(call ALLYES, MATROSKA_DEMUXER   OGG_MUXER)          += vp3.ogg
 FATE_LAVF_CONTAINER_FATE-$(call ALLYES, MATROSKA_DEMUXER   OGV_MUXER)          += vp8.ogg
 FATE_LAVF_CONTAINER_FATE-$(call ALLYES, MOV_DEMUXER        LATM_MUXER)         += latm
@@ -70,6 +71,7 @@ $(FATE_LAVF_CONTAINER_FATE): REF = $(SRC_PATH)/tests/ref/lavf-fate/$(@:fate-lavf
 $(FATE_LAVF_CONTAINER_FATE): $(AREF) $(VREF)
 
 fate-lavf-fate-av1.mp4: CMD = lavf_container_fate "av1-test-vectors/av1-1-b8-05-mv.ivf" "" "-c:v copy"
+fate-lavf-fate-h264.mp4: CMD = lavf_container_fate "h264/intra_refresh.h264" "" "-c:v copy"
 fate-lavf-fate-vp3.ogg: CMD = lavf_container_fate "vp3/coeff_level64.mkv" "-idct auto"
 fate-lavf-fate-vp8.ogg: CMD = lavf_container_fate "vp8/RRSF49-short.webm" "" "-acodec copy"
 fate-lavf-fate-latm: CMD = lavf_container_fate "aac/al04_44.mp4" "" "-acodec copy"
diff --git a/tests/ref/lavf-fate/h264.mp4 b/tests/ref/lavf-fate/h264.mp4
new file mode 100644
index 0000000000..bb52f45758
--- /dev/null
+++ b/tests/ref/lavf-fate/h264.mp4
@@ -0,0 +1,3 @@
+6d158b25efe7391c803f6f61c7a80aa0 *tests/data/lavf-fate/lavf.h264.mp4
+547908 tests/data/lavf-fate/lavf.h264.mp4
+tests/data/lavf-fate/lavf.h264.mp4 CRC=0x9da2c999



More information about the ffmpeg-cvslog mailing list