diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-11-02 23:14:59 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-11-02 23:14:59 +0100 |
commit | b36faf988d5602ea30f621bad8b3f7dbcaa90cb9 (patch) | |
tree | ae636acf0484f2f04c71bf5070fea3af72563401 /bin | |
parent | 2ce62299835b7d9d972d6758373aae54540a3c7c (diff) | |
download | jenkins.debian.net-b36faf988d5602ea30f621bad8b3f7dbcaa90cb9.tar.xz |
g-i-i: force color black so we get 1bit colered pngs instead of 1bit greyscale pngs so ffmpeg2theora doesnt choke
Diffstat (limited to 'bin')
-rw-r--r-- | bin/g-i-installation.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index cfd72291..e9e905ab 100644 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -926,13 +926,13 @@ monitor_system() { break fi PRINTF_NR=$(printf "%06d" $NR) - vncsnapshot -quiet -allowblank $DISPLAY snapshot_${PRINTF_NR}.jpg 2>/dev/null || true + vncsnapshot -quiet -allowblank -compresslevel 0 $DISPLAY snapshot_${PRINTF_NR}.jpg 2>/dev/null || true if [ -f snapshot_${PRINTF_NR}.jpg ]; then convert $CONVERTOPTS snapshot_${PRINTF_NR}.jpg snapshot_${PRINTF_NR}.png rm snapshot_${PRINTF_NR}.jpg else echo "$(date) $PRINTF_NR - could not take vncsnapshot from $DISPLAY - using a blank fake one instead" - convert -size $VIDEOSIZE xc:none -depth 8 snapshot_${PRINTF_NR}.png + convert -size $VIDEOSIZE xc:#000000 -depth 8 snapshot_${PRINTF_NR}.png fi # every 100 ticks take a screenshot and preserve and analyse it if [ $(($NR % 100)) -eq 0 ] ; then |