- Status Requires testing
- Percent Complete
- Task Type TO-DO
- Category General
-
Assigned To
outlyer - Operating System All/Any
- Severity Medium
- Priority Medium
- Reported Version 1.13.4
- Due in Version 1.14
-
Due Date
Undecided
- Votes
- Private
FS#384 - Use magick command with ImageMagick 7
Originally reported by Pär: https://outlyer.net/2019-11-26:vcs-1-13-4-released/comment-page-1/#comment-60674
Recently got an update of ImageMagick:
$ magick --version Version: ImageMagick 7.1.1-33 Q16-HDRI x86_64 22263 https://imagemagick.org Copyright: (C) 1999 ImageMagick Studio LLC License: https://imagemagick.org/script/license.php Features: Cipher DPC HDRI Modules OpenCL OpenMP(4.5) Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype heic jbig jng jp2 jpeg jxl lcms lqr ltdl lzma openexr pangocairo png raqm raw rsvg tiff webp wmf x xml zip zlib zstd Compiler: gcc (14.1)
Because of that, the "convert" command now gives a deprecation warning:
WARNING: The convert command is deprecated in IMv7, use "magick"
Trying to do that, replacing all the calls to 'convert' for 'magick', the temp images seem to be problematic (I've added a few printouts of the suspected code blocks):
[i] Capturing in range [04:49.49-19:17.95]. Total length: 20:25.35 [i] Generating capture #1/4 (04:49.49)... magick: no images found for operation `-geometry' at CLI arg 7 @ error/operation.c/CLIOption/5479. magick: magick -background 'transparent' -fill 'transparent' '/dev/shm/vcs.SGteWR/vcs-ZQ0dJj-cap-000001.png' \( -geometry 267x200! \) -flatten \( -box '#000000aa' -fill 'White' -stroke none -pointsize '9' -gravity 'SouthEast' -font '/usr/share/fonts/TTF/DejaVuSans.ttf' -strokewidth 3 -annotate +5+5 ' 04:49.49 ' \) -flatten -gravity None -flatten \( -background black +clone -shadow 50x2+4+4 -background none \) +swap -flatten -trim +repage -flatten '/dev/shm/vcs.SGteWR/vcs-zQhKDd.png'
If I try to cp those two temp images on the line below the 'magick' command, they become 0 byte files.
The video renderer ffmpeg has also gone through a couple of steps of upgrades over the years, I now have:
$ ffmpeg -version ffmpeg version n6.1.1 Copyright (c) 2000-2023 the FFmpeg developers built with gcc 13.2.1 (GCC) 20230801
So commands like '-vframes' is now '-frames:v' and so on. No errors, just friendly suggestions in the man page. I replaced those also, but still the same problem.
I should have listened more carefully when our kindergarten teacher went through Bash. ;) IOW, I'm sure it's something simple I am not understanding.
N.b. I can still use vcs with the normal 'convert' command, but depending on how "militia force" serious the ImageMagick gang is going to be about deprecation warnings and removal of old code, it might stop working at some point in the future and I think that would be sad.
Any ideas? Thanks! :)
ID | Project | Summary | Priority | Severity | Assigned To | Progress | |
---|---|---|---|---|---|---|---|
153 | vcs | FS#153 - Release 1.14 | Defer | Very Low | outlyer |
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task