Loading run.ps1 +1 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,6 @@ Write-Host "Id $id" $container = (docker create -it -e DEBUG=true -e WIDTH=7016 -e HEIGHT=4960 hash /hash.sh) docker cp hash-input.bin ${container}:/input docker start -ai $container docker cp ${container}:/out/hash.bmp hash_$id.bmp docker cp ${container}:/out/hash.mp4 hash_$id.mp4 docker cp ${container}:/out/hash.png hash_$id.png docker stop $container | Out-Null docker rm $container | Out-Null scripts/hash.sh +1 −12 Original line number Diff line number Diff line Loading @@ -2,16 +2,5 @@ source /scripts/preamble.sh hashprint "Hash $HASH" RESULT=0 ffmpeg -f x11grab -framerate 60 -i $DISPLAY.0 /out/hash.mp4 >/dev/null 2>&1 & VIDEO_PID=$! runlayout convert $OUT /out/hash.bmp || RESULT=1 kill -s 2 $VIDEO_PID wait $VIDEO_PID exit $RESULT convert $OUT /out/hash.png Loading
run.ps1 +1 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,6 @@ Write-Host "Id $id" $container = (docker create -it -e DEBUG=true -e WIDTH=7016 -e HEIGHT=4960 hash /hash.sh) docker cp hash-input.bin ${container}:/input docker start -ai $container docker cp ${container}:/out/hash.bmp hash_$id.bmp docker cp ${container}:/out/hash.mp4 hash_$id.mp4 docker cp ${container}:/out/hash.png hash_$id.png docker stop $container | Out-Null docker rm $container | Out-Null
scripts/hash.sh +1 −12 Original line number Diff line number Diff line Loading @@ -2,16 +2,5 @@ source /scripts/preamble.sh hashprint "Hash $HASH" RESULT=0 ffmpeg -f x11grab -framerate 60 -i $DISPLAY.0 /out/hash.mp4 >/dev/null 2>&1 & VIDEO_PID=$! runlayout convert $OUT /out/hash.bmp || RESULT=1 kill -s 2 $VIDEO_PID wait $VIDEO_PID exit $RESULT convert $OUT /out/hash.png