Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] First grabbed Image failed
Hi,
I'm use a little wrapper for the "svdrpsend.pl GRAB" function,
to take a Image-Snapshot on the running program.
Any work fine, only the first grabbed Image failed,
it's is always a plain gray image, (size 7,4k)
#>identify first.jpg
first.jpg JPEG 768x576 DirectClass 8-bit 7538b 0.0u 0:01
all follow grabbed images are correct.(e.g size 189k)
#>identify second.jpg
second.jpg JPEG 768x576 DirectClass 8-bit 189kb 0.0u 0:01
Can anybody confirm this ?
CU,
Andreas
System : vdr-1.2.1
-----<capture.sh>--------------
########################################################
VDRPATH=/opt/vdr/bin
PICPATH=/video/capture
########################################################
PICFILE="$(date +%FT%X).jpg"
$VDRPATH/svdrpsend.pl grab "/tmp/$PICFILE" jpeg
if test -f "/tmp/$PICFILE" ; then
if test ! -d "$PICPATH" ; then
/bin/mkdir "$PICPATH"
/bin/chmod 777 "$PICPATH"
fi
mv "/tmp/$PICFILE" "$PICPATH/$PICFILE"
/bin/chmod 666 "$PICPATH/$PICFILE"
$VDRPATH/svdrpsend.pl mesg "Screenshot gespeichert"
fi
-----<capture.sh>--------------
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index