Stefan Huelswitt wrote:
Hi, a new release of the MP3/MPlayer plugin is available from my homepage. Main feature of this release is the inclusion of the background/cover image patch.
http://www.muempf.de/down/vdr-mp3-0.9.11.tar.gz
NEWS:
20.02.2005: Version 0.9.11 development (vdr 1.2.6/1.3.21)
- Now using propper readdir() to scan directory contents rather than the external find & sort tools.
- Added cover image display during MP3 replay. See the README on how this has to be configured. If you was using the old image patch, be aware that there are now new commandline options and that the layout of the cache directory has changed. Initial patch made by Eloy, currently maintained by Tobias Grimm for ctvdr-debian package.
I have created a patch to the default image_convert.sh script to support both ntsc and pal by setting an initial FORMAT variable in the script.
Best Regards,
N.B. Some of the resolutions *may* still need adjustment. Please let me know. I am especially interested in NTSC displays. Thanks.
--- image_convert.sh.example 2005-02-19 21:50:10.000000000 -0800 +++ image_convert.sh 2005-02-19 21:49:46.000000000 -0800 @@ -3,10 +3,22 @@ # requires: ...topnm, pnmscale, pnmcomp, ppmntsc, ppmtoy4m, mpeg2enc #
+# Set format to "ntsc" or "pal" +FORMAT=ntsc + +if [ $FORMAT = "ntsc" ]; then # target image width (taking into account visible screen area) -TW=632 +TW=600 # target image height +TH=420 +fi + +if [ $FORMAT = "pal" ]; then +# target image width (taking into account visible screen area) +TW=632 +# target image height TH=512 +fi
TMP=/tmp/image_convert.$$.pnm IMG=$1 @@ -53,11 +65,23 @@ # # now run the conversion # + +if [ $FORMAT = "ntsc" ]; then +pnmscale $S $TMP | \ + pnmpad -black -width 704 -height 480 | \ + ppmntsc | \ + ppmtoy4m -v 0 -n 1 -r -F 30000:1001 | \ + mpeg2enc -f 7 -T 90 -F 4 -nn -a 2 -v 0 -o "$MPG" +fi + +if [ $FORMAT = "pal" ]; then pnmscale $S $TMP | \ pnmpad -black -width 704 -height 576 | \ ppmntsc --pal | \ ppmtoy4m -v 0 -n 1 -r -F 25:1 | \ mpeg2enc -f 7 -T 90 -F 3 -np -a 2 -v 0 -o "$MPG" +fi + # # cleanup #