projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Try to add FFmpeg to make_dummy_files.
[dcpomatic.git]
/
hacks
/
compare_dcp_tests
diff --git
a/hacks/compare_dcp_tests
b/hacks/compare_dcp_tests
index 30949cdef62a40c1d2d41ddcec7b5bd31e6d5152..ae9942c6ec252546a93c19b5bbaa87cadc61c2a8 100755
(executable)
--- a/
hacks/compare_dcp_tests
+++ b/
hacks/compare_dcp_tests
@@
-7,7
+7,7
@@
if [ "$name" == "" ]; then
fi
mkdir -p tmp/ref
fi
mkdir -p tmp/ref
-cp test/data/$name/
*video
.mxf tmp/ref
+cp test/data/$name/
j2c*
.mxf tmp/ref
cd tmp/ref
asdcp-unwrap *.mxf
for f in *.j2c; do
cd tmp/ref
asdcp-unwrap *.mxf
for f in *.j2c; do
@@
-20,17
+20,17
@@
for d in `find build/test/$name -mindepth 1 -maxdepth 1 -type d`; do
b=`basename $d`
echo $d, $b
if [ $b != "info" -a $b != "video" ]; then
b=`basename $d`
echo $d, $b
if [ $b != "info" -a $b != "video" ]; then
- cp $d/
*video
.mxf tmp/new
+ cp $d/
j2c_*
.mxf tmp/new
fi
done
cd tmp/new
asdcp-unwrap *.mxf
fi
done
cd tmp/new
asdcp-unwrap *.mxf
-for f in *.j2c; do
+for f in *.j2c; do
j2k_to_image -i $f -o $f.png
done
cd ../..
eog tmp/ref/*.png &
j2k_to_image -i $f -o $f.png
done
cd ../..
eog tmp/ref/*.png &
-eog tmp/new/*.png
+eog tmp/new/*.png