[FFmpeg-cvslog] r24314 - trunk/tests/fate-run.sh
mru
subversion
Sun Jul 18 22:19:30 CEST 2010
Author: mru
Date: Sun Jul 18 22:19:30 2010
New Revision: 24314
Log:
fate: add some helper functions to simplify test rules
Modified:
trunk/tests/fate-run.sh
Modified: trunk/tests/fate-run.sh
==============================================================================
--- trunk/tests/fate-run.sh Sun Jul 18 22:19:25 2010 (r24313)
+++ trunk/tests/fate-run.sh Sun Jul 18 22:19:30 2010 (r24314)
@@ -35,6 +35,30 @@ stddev(){
do_tiny_psnr "$1" "$2" stddev '<=' ${fuzz:-1}
}
+ffmpeg(){
+ $target_exec $target_path/ffmpeg "$@"
+}
+
+framecrc(){
+ ffmpeg "$@" -f framecrc -
+}
+
+framemd5(){
+ ffmpeg "$@" -f framemd5 -
+}
+
+crc(){
+ ffmpeg "$@" -f crc -
+}
+
+md5(){
+ ffmpeg "$@" md5:
+}
+
+pcm(){
+ ffmpeg "$@" -vn -f s16le -
+}
+
if ! test -e "$ref"; then
echo "reference file '$ref' not found"
exit 1
More information about the ffmpeg-cvslog
mailing list