From 9ee010e73411a0432893ff82b32eab0200382994 Mon Sep 17 00:00:00 2001 From: Steven Liu Date: Mon, 15 Jun 2020 20:37:41 +0800 Subject: tests/fate/hlsenc: add testcase of ac3 surround sound input in hlsenc add probeaudiostream for get audio stream's codec_name,codec_time_base, sample_fmt,channels and channel_layout. Signed-off-by: Steven Liu --- tests/fate-run.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/fate-run.sh') diff --git a/tests/fate-run.sh b/tests/fate-run.sh index 002944b010..414ac6f825 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -89,6 +89,10 @@ probefmt(){ run ffprobe${PROGSUF}${EXECSUF} -show_entries format=format_name -print_format default=nw=1:nk=1 -v 0 "$@" } +probeaudiostream(){ + run ffprobe${PROGSUF}${EXECSUF} -show_entries stream=codec_name,codec_time_base,sample_fmt,channels,channel_layout -v 0 "$@" +} + probetags(){ run ffprobe${PROGSUF}${EXECSUF} -show_entries format_tags -v 0 "$@" } -- cgit v1.2.3