diff options
author | František Dvořák <valtri@civ.zcu.cz> | 2014-07-20 15:49:15 +0200 |
---|---|---|
committer | František Dvořák <valtri@civ.zcu.cz> | 2014-07-20 15:49:15 +0200 |
commit | 209f48f174197197ec4ff4f7f76f1eb05df80db5 (patch) | |
tree | 65c9dff402643962f1060bb3c876aa5413c124b4 | |
parent | 796a00a1d60ccaf25795c405c2d4e5b591f27bc2 (diff) | |
download | codecs-testing-mingw-209f48f174197197ec4ff4f7f76f1eb05df80db5.tar.gz codecs-testing-mingw-209f48f174197197ec4ff4f7f76f1eb05df80db5.tar.xz codecs-testing-mingw-209f48f174197197ec4ff4f7f76f1eb05df80db5.zip |
Testing theora.
-rw-r--r-- | theora/README | 22 | ||||
-rw-r--r-- | theora/list.txt | 15 | ||||
-rwxr-xr-x | theora/test.sh | 27 |
3 files changed, 64 insertions, 0 deletions
diff --git a/theora/README b/theora/README new file mode 100644 index 0000000..1bf3a68 --- /dev/null +++ b/theora/README @@ -0,0 +1,22 @@ +==== Packages ==== + +yum install theora-tools +yum install --enablerepo=updates-testing mingw32-theora-tools mingw64-theora-tools + + +==== Launching tests ==== + +# +# Testsuite samples at: +# +# http://wiki.xiph.org/TheoraTestsuite +# + +# 1) download samples +mkdir samples +wget -i list.txt -P samples/ + +# 2) test +# each video should have the same checksums for native, win32 and win64 + +./test.sh 2>log diff --git a/theora/list.txt b/theora/list.txt new file mode 100644 index 0000000..562e31a --- /dev/null +++ b/theora/list.txt @@ -0,0 +1,15 @@ +http://v2v.cc/~j/theora_testsuite/320x240.ogg +http://v2v.cc/~j/theora_testsuite/320x240.ogv +http://v2v.cc/~j/theora_testsuite/320x240.skeleton+cmml.ogv +http://v2v.cc/~j/theora_testsuite/pixel_aspect_ratio.ogg +http://v2v.cc/~j/theora_testsuite/videotestsrc-720x576-16-15.ogg +http://v2v.cc/~j/theora_testsuite/322x242_not-divisible-by-sixteen-framesize.ogg +http://v2v.cc/~j/theora_testsuite/chained_streams.ogg +http://v2v.cc/~j/theora_testsuite/multi2.ogg +http://v2v.cc/~j/theora_testsuite/mobile_itu601_i_422.ogg +http://v2v.cc/~j/theora_testsuite/ducks_take_off_444_720p25.ogg +http://v2v.cc/~j/theora_testsuite/stockholm-vfr.ogg +http://v2v.cc/~j/theora_testsuite/offset_test.ogv +http://v2v.cc/~j/theora_testsuite/sign_irene_cif-3qi-b.ogg +http://v2v.cc/~j/theora_testsuite/chroma_siting_test.ogv +http://v2v.cc/~j/theora_testsuite/0byteframes.ogv diff --git a/theora/test.sh b/theora/test.sh new file mode 100755 index 0000000..b276c41 --- /dev/null +++ b/theora/test.sh @@ -0,0 +1,27 @@ +#! /bin/bash -xe + +w32="/usr/i686-w64-mingw32/sys-root/mingw/bin" +w64="/usr/x86_64-w64-mingw32/sys-root/mingw/bin" + +if [ ! -d samples ]; then + echo "samples directory doesn't exists" + exit 1 +fi + +pushd samples + +for sample in *.ogg *.ogv; do + echo "$sample" + + theora_dump_video < $sample | md5sum + + export WINEPREFIX=$HOME/.wine32 + $w32/theora_dump_video.exe < $sample | md5sum + + export WINEPREFIX=$HOME/.wine64 + $w64/theora_dump_video.exe < $sample | md5sum + + echo +done + +popd |