[FFmpeg-cvslog] fate: Add a test for latm-in-dvb auto-detection, ticket #6657.
Carl Eugen Hoyos
git at videolan.org
Wed Oct 4 00:21:00 EEST 2017
ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Sat Sep 30 20:33:09 2017 +0200| [9ba9c08aab9de35c9afa5497c51b9bdfd4b770be] | committer: Carl Eugen Hoyos
fate: Add a test for latm-in-dvb auto-detection, ticket #6657.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9ba9c08aab9de35c9afa5497c51b9bdfd4b770be
---
tests/Makefile | 1 +
tests/fate/mpegts.mak | 14 ++++++++++++++
tests/ref/fate/mpegts-probe-latm | 14 ++++++++++++++
3 files changed, 29 insertions(+)
diff --git a/tests/Makefile b/tests/Makefile
index 99f7e1730b..278be24ccb 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -156,6 +156,7 @@ include $(SRC_PATH)/tests/fate/mov.mak
include $(SRC_PATH)/tests/fate/mp3.mak
include $(SRC_PATH)/tests/fate/mpc.mak
include $(SRC_PATH)/tests/fate/mpeg4.mak
+include $(SRC_PATH)/tests/fate/mpegts.mak
include $(SRC_PATH)/tests/fate/mxf.mak
include $(SRC_PATH)/tests/fate/opus.mak
include $(SRC_PATH)/tests/fate/pcm.mak
diff --git a/tests/fate/mpegts.mak b/tests/fate/mpegts.mak
new file mode 100644
index 0000000000..bb0d9d98a7
--- /dev/null
+++ b/tests/fate/mpegts.mak
@@ -0,0 +1,14 @@
+#
+# Test probing MPEGTS format and codecs
+#
+PROBE_CODEC_NAME_COMMAND = \
+ ffprobe$(PROGSSUF)$(EXESUF) -show_entries stream=codec_name \
+ -print_format default -bitexact -v 0
+
+FATE_MPEGTS_PROBE-$(call DEMDEC, MPEGTS, HEVC, AAC_LATM) += fate-mpegts-probe-latm
+fate-mpegts-probe-latm: SRC = $(TARGET_SAMPLES)/mpegts/loewe.ts
+fate-mpegts-probe-latm: CMD = run $(PROBE_CODEC_NAME_COMMAND) -i "$(SRC)"
+
+FATE_SAMPLES_FFPROBE += $(FATE_MPEGTS_PROBE-yes)
+
+fate-mpegts: $(FATE_MPEGTS_PROBE-yes)
diff --git a/tests/ref/fate/mpegts-probe-latm b/tests/ref/fate/mpegts-probe-latm
new file mode 100644
index 0000000000..13aea2bcfd
--- /dev/null
+++ b/tests/ref/fate/mpegts-probe-latm
@@ -0,0 +1,14 @@
+[PROGRAM]
+[STREAM]
+codec_name=hevc
+[/STREAM]
+[STREAM]
+codec_name=aac_latm
+[/STREAM]
+[/PROGRAM]
+[STREAM]
+codec_name=hevc
+[/STREAM]
+[STREAM]
+codec_name=aac_latm
+[/STREAM]
More information about the ffmpeg-cvslog
mailing list