Menu

#5 imagemagic-6.3.5.10 CLI option changed

open
nobody
None
5
2007-09-30
2007-09-30
Bjoern
No

Required changes for imagemagic-6.3.5.10 in any2dvd-3.6_beta

You maybe should code the script against specific version (which is currently up to date). If the version differs from the one that the script was coded for, you should throw out a warning that commandline options of the tool XYZ may have changed.

Something like:

!WARNING! ${TOOLXYZ} version is newer/older than expected, this implies that CLI options may have changed and it might break that script.

-# In a terminal type `convert -list type`, if the fonts package is installed correctly, it will show a list of fonts
+# In a terminal type `convert -list font`, if the fonts package is installed correctly, it will show a list of fonts

- GS_XML=`convert -list type | grep Path: | grep ghostscript | awk '{print $2}'`
+ GS_XML=`convert -list font | grep Path: | grep ghostscript | awk '{print $2}'`

I am not 100% shure but I guess you mixed up these two:
Checking if Transcode can decode audio stream ... YES
Checking if Transcode can decode video stream without MPlayer ... YES

any2vob (line 2088 and 2091) as example

When watching the output tmp folder it creats a m2v file but shows "Checking if Transcode can decode audio stream ..." ;-)

regards
Bjoern

Discussion

  • Bjoern

    Bjoern - 2007-09-30

    any2dvd-0.36_beta-imagemagic-6.3.5.10.patch

     
  • Nobody/Anonymous

    Logged In: NO

    thnx bjoern, found this post beause of same too-new media-gfx/imagemagick version (6.3.4 is currently latest stable on Gentoo systems).

    Above +- change will much likely break any system with old version, fix should be added with some IF check.

     

Log in to post a comment.

MongoDB Logo MongoDB