#!/bin/sh

7z x Bosphorus_1920x1080_120fps_420_8bit_YUV_Y4M.7z

echo "#!/bin/sh
./rav1e-04-alpha.exe Bosphorus_1920x1080_120fps_420_8bit_YUV.y4m --threads \$NUM_CPU_CORES --tiles 4 --output NULL.ivf \$@ > log.out 2>&1
rm -f output
tr -s '\r' '\n' < log.out > \$LOG_FILE" > rav1e
chmod +x rav1e
