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
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
-for f in *.j2c; do
+for f in *.j2c; do
j2k_to_image -i $f -o $f.png
done
cd ../..
eog tmp/ref/*.png &
-eog tmp/new/*.png
+eog tmp/new/*.png