Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: [ANNOUNCE] {Release Candiate} Image Plugin 0.0.9



Hi,

Am So, den 06.06.2004 schrieb Thorsten Schnebeck um 1:40:
> Ok, there are some errors:
> 16:9 does not work, pictures are to wide.
I'll check this.

> Text in OSD is sometimes not cleared but overwritten.
Hmm is only reflected on vdr-1.3.7+ , 
seem like a Bug in OSD-Skin,
cSkins::Current()->DisplayReplay()->SetTotal("aaa");
cSkins::Current()->DisplayReplay()->SetTotal("b");
Shows on OSD
 aab

and i would not make my own OSD, then the new skins are to nice. 

> Zoom is for sure not 2x, 3x, etc.
Upps, too many cleanups, zoom don't work proper,
the included patch file fix this.
also the next version will fix his.

> Whishlist:
> Exif-Data with auto-rotate,
I keep this in my mind.

> delete file function,
it's allready possible over the new imagecommands menu.
(http://www.vdr-portal.de/board/thread.php?postid=147355#post147355)

> faaaaaaaaaster ;-) (maybe: scale, cache, manipulate, pic->mpg, use
cache)
Current neck of the bottle is instant mpeg still frame creation.

> How does it work that the size of the tmp-data grows not to infinity? 
this is also on my todolist, current help only a cron job for
housekeeping, otherwise wished precached files are also removed.

# Remove older files then 60min
find /tmp/image -type f -amin -60 -exec rm -f {} \;
find /tmp/image -type d -empty -exec rmdir {} \;

Thanks for your feedback,
Andreas
--- image.old/scripts/convert.sh	2004-06-01 20:15:30.000000000 +0200
+++ image/scripts/convert.sh	2004-06-06 08:26:51.000000000 +0200
@@ -49,6 +49,8 @@
 FILE=$(basename "$IMAGEFILE")
 NEWDIR="${CONVERT_TEMPDIR}/${DIR}"
 NEWFILE="${NEWDIR}/$FILE.mpg"
+CMDFILE="${NEWDIR}/$FILE.cnv"
+PARFILE="${NEWDIR}/$FILE.par"
 logit "IMAGEFILE: $IMAGEFILE";
 logit "CONVERT_MPEGFILE: $NEWFILE";
 mkdir -p "$NEWDIR"
@@ -57,6 +59,7 @@
 if test "$3" == "Left";  then ROTATE="YES"; FLIP="pnmflip -rotate90";  fi
 if test "$3" == "Original"; then ORIGINAL="YES"; fi
 if test "$3" == "nocopy"; then NOCOPY=1; fi
+echo "$3" > "$CMDFILE"
 
 if test -f "$NEWFILE" && test "$ROTATE" == "YES" || test "$ORIGINAL" == "YES"; then rm -f "$NEWFILE"; fi
 
@@ -69,6 +72,8 @@
 
 # This is needed for zooming. getresolution is cheap, not the whole file is converted
 getresolution "$IMAGEFILE"
+echo "$X_RES_TMP" >"$PARFILE"
+echo "$Y_RES_TMP">>"$PARFILE"
 
 #if mpg does not exist in cache
 if [ ! -f "$NEWFILE" ] ; then

Home | Main Index | Thread Index