[FFmpeg-devel] [PATCH 4/4] fate: remove "-v 0" from ffprobe tests.
Nicolas George
george at nsup.org
Thu May 19 09:47:12 CEST 2016
The FATE scripts separate stdout from stderr.
Having a first idea about what went wrong in the log file
is more convenient.
Signed-off-by: Nicolas George <george at nsup.org>
---
tests/fate-run.sh | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
Unchanged.
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 3d58080..4b31b62 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -84,7 +84,7 @@ runecho(){
}
probefmt(){
- run ffprobe${PROGSUF} -show_entries format=format_name -print_format default=nw=1:nk=1 -v 0 "$@"
+ run ffprobe${PROGSUF} -show_entries format=format_name -print_format default=nw=1:nk=1 "$@"
}
runlocal(){
@@ -93,24 +93,24 @@ runlocal(){
}
probeframes(){
- run ffprobe${PROGSUF} -show_frames -v 0 "$@"
+ run ffprobe${PROGSUF} -show_frames "$@"
}
probechapters(){
- run ffprobe${PROGSUF} -show_chapters -v 0 "$@"
+ run ffprobe${PROGSUF} -show_chapters "$@"
}
probegaplessinfo(){
filename="$1"
shift
- run ffprobe${PROGSUF} -bitexact -select_streams a -show_entries format=start_time,duration:stream=index,start_pts,duration_ts -v 0 "$filename" "$@"
+ run ffprobe${PROGSUF} -bitexact -select_streams a -show_entries format=start_time,duration:stream=index,start_pts,duration_ts "$filename" "$@"
pktfile1="${outdir}/${test}.pkts"
framefile1="${outdir}/${test}.frames"
cleanfiles="$cleanfiles $pktfile1 $framefile1"
- run ffprobe${PROGSUF} -bitexact -select_streams a -of compact -count_packets -show_entries packet=pts,dts,duration:stream=nb_read_packets -v 0 "$filename" "$@" > "$pktfile1"
+ run ffprobe${PROGSUF} -bitexact -select_streams a -of compact -count_packets -show_entries packet=pts,dts,duration:stream=nb_read_packets "$filename" "$@" > "$pktfile1"
head -n 8 "$pktfile1"
tail -n 9 "$pktfile1"
- run ffprobe${PROGSUF} -bitexact -select_streams a -of compact -count_frames -show_entries frame=pkt_pts,pkt_dts,best_effort_timestamp,pkt_duration,nb_samples:stream=nb_read_frames -v 0 "$filename" "$@" > "$framefile1"
+ run ffprobe${PROGSUF} -bitexact -select_streams a -of compact -count_frames -show_entries frame=pkt_pts,pkt_dts,best_effort_timestamp,pkt_duration,nb_samples:stream=nb_read_frames "$filename" "$@" > "$framefile1"
head -n 8 "$framefile1"
tail -n 9 "$framefile1"
}
@@ -306,10 +306,10 @@ concat(){
awk "{gsub(/%SRCFILE%/, \"$sample\"); print}" $template > $concatfile
if [ "$mode" = "md5" ]; then
- run ffprobe${PROGSUF} -bitexact -show_streams -show_packets -v 0 -fflags keepside -safe 0 $extra_args $concatfile | tr -d '\r' > $packetfile
+ run ffprobe${PROGSUF} -bitexact -show_streams -show_packets -fflags keepside -safe 0 $extra_args $concatfile | tr -d '\r' > $packetfile
do_md5sum $packetfile
else
- run ffprobe${PROGSUF} -bitexact -show_streams -show_packets -v 0 -of compact=p=0:nk=1 -fflags keepside -safe 0 $extra_args $concatfile
+ run ffprobe${PROGSUF} -bitexact -show_streams -show_packets -of compact=p=0:nk=1 -fflags keepside -safe 0 $extra_args $concatfile
fi
}
--
2.8.1
More information about the ffmpeg-devel
mailing list