1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

fate: Add a test for latm-in-dvb auto-detection, ticket #6657.

This commit is contained in:
Carl Eugen Hoyos 2017-09-30 20:33:09 +02:00
parent 4ee77cefae
commit 9ba9c08aab
3 changed files with 29 additions and 0 deletions

View File

@ -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

14
tests/fate/mpegts.mak Normal file
View File

@ -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)

View File

@ -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]