summaryrefslogtreecommitdiff
path: root/tests/fate-run.sh
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-04-24 16:05:31 +0200
committerAnton Khirnov <anton@khirnov.net>2021-05-09 10:59:21 +0200
commitb8041fb838da147967d86f752d037745251588d3 (patch)
treec5afef8298ede0d8c68856be1535e7cdeb86545e /tests/fate-run.sh
parent677a030b26045acb50353d7954ae984ceefcd807 (diff)
fate-oggopus-demux: convert to ffprobe
It can print side data cleanly.
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-xtests/fate-run.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index b69176f7c3..dd3f564e18 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -135,6 +135,15 @@ ffmpeg(){
run ffmpeg${PROGSUF}${EXECSUF} ${ffmpeg_args}
}
+ffprobe_demux(){
+ filename=$1
+ shift
+ print_filename=$(basename "$filename")
+ run ffprobe${PROGSUF}${EXECSUF} -print_filename "${print_filename}" \
+ -of compact -bitexact -show_format -show_streams -show_packets \
+ -show_data_hash CRC32 "$filename" "$@"
+}
+
framecrc(){
ffmpeg "$@" -bitexact -f framecrc -
}