/usr/bin/ppm2mpeg is in gerris 20110329-dfsg.2-1build2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | #!/bin/bash
if test -z "`which ffmpeg`"; then
echo "ppm2mpeg: error: could not find 'ffmpeg'" > /dev/stderr
exit 1
fi
command="ffmpeg -f image2pipe -vcodec ppm -i - -vcodec mpeg1video -b 1800K -f mpeg1video"
while test $# -gt 0; do
command="$command $1"
shift
done
if test -d "$TMPDIR" ; then
log=`mktemp $TMPDIR/ppm2mpeg.XXXXXX`
else
log=`mktemp /tmp/ppm2mpeg.XXXXXX`
fi
if $command - 2> $log; then :
else
cat $log > /dev/stderr
rm -f $log
exit 1
fi
rm -f $log
exit 0
|