[FFmpeg-devel] [PATCH 10/12] fate-run.sh: print stream side data in probeaudiostream()

Anton Khirnov anton at khirnov.net
Sun Apr 25 10:03:18 EEST 2021


Adds a test for reading AUDIO_SERVICE_TYPE in fate-hls-fmp4_ac3
---
 tests/fate-run.sh           | 2 +-
 tests/ref/fate/hls-fmp4_ac3 | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index dd3f564e18..ba437dfbb8 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -90,7 +90,7 @@ probefmt(){
 }
 
 probeaudiostream(){
-    run ffprobe${PROGSUF}${EXECSUF} -show_entries stream=codec_name,codec_time_base,sample_fmt,channels,channel_layout "$@"
+    run ffprobe${PROGSUF}${EXECSUF} -show_entries stream=codec_name,codec_time_base,sample_fmt,channels,channel_layout:side_data "$@"
 }
 
 probetags(){
diff --git a/tests/ref/fate/hls-fmp4_ac3 b/tests/ref/fate/hls-fmp4_ac3
index caccd70fa7..ce7367de4d 100644
--- a/tests/ref/fate/hls-fmp4_ac3
+++ b/tests/ref/fate/hls-fmp4_ac3
@@ -4,5 +4,7 @@ sample_fmt=fltp
 channels=6
 channel_layout=5.1(side)
 [SIDE_DATA]
+side_data_type=Audio Service Type
+type=0
 [/SIDE_DATA]
 [/STREAM]
-- 
2.30.2



More information about the ffmpeg-devel mailing list