[FFmpeg-cvslog] fate: to test program sub stream selection by its type in mpegts
Bela Bodecs
git at videolan.org
Fri Apr 13 00:54:32 EEST 2018
ffmpeg | branch: master | Bela Bodecs <bodecsb at vivanet.hu> | Wed Apr 11 22:33:02 2018 +0200| [a06175d7392326201a131fc09b3ea52617f310df] | committer: Michael Niedermayer
fate: to test program sub stream selection by its type in mpegts
Signed-off-by: Bela Bodecs <bodecsb at vivanet.hu>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a06175d7392326201a131fc09b3ea52617f310df
---
tests/fate/mpegts.mak | 6 ++++++
tests/ref/fate/mpegts-probe-program | 8 ++++++++
2 files changed, 14 insertions(+)
diff --git a/tests/fate/mpegts.mak b/tests/fate/mpegts.mak
index bb0d9d98a7..2b128492e0 100644
--- a/tests/fate/mpegts.mak
+++ b/tests/fate/mpegts.mak
@@ -9,6 +9,12 @@ FATE_MPEGTS_PROBE-$(call DEMDEC, MPEGTS, HEVC, AAC_LATM) += fate-mpegts-probe-la
fate-mpegts-probe-latm: SRC = $(TARGET_SAMPLES)/mpegts/loewe.ts
fate-mpegts-probe-latm: CMD = run $(PROBE_CODEC_NAME_COMMAND) -i "$(SRC)"
+
+FATE_MPEGTS_PROBE-$(call DEMDEC, MPEGTS, HEVC, AAC_LATM) += fate-mpegts-probe-program
+fate-mpegts-probe-program: SRC = $(TARGET_SAMPLES)/mpegts/loewe.ts
+fate-mpegts-probe-program: CMD = run $(PROBE_CODEC_NAME_COMMAND) -select_streams p:769:v:0 -i "$(SRC)"
+
+
FATE_SAMPLES_FFPROBE += $(FATE_MPEGTS_PROBE-yes)
fate-mpegts: $(FATE_MPEGTS_PROBE-yes)
diff --git a/tests/ref/fate/mpegts-probe-program b/tests/ref/fate/mpegts-probe-program
new file mode 100644
index 0000000000..bb1012c8c7
--- /dev/null
+++ b/tests/ref/fate/mpegts-probe-program
@@ -0,0 +1,8 @@
+[PROGRAM]
+[STREAM]
+codec_name=hevc
+[/STREAM]
+[/PROGRAM]
+[STREAM]
+codec_name=hevc
+[/STREAM]
More information about the ffmpeg-cvslog
mailing list