Hi Dan,
I have some updates on this topic and also new issues that we encountered. I don't want to create a separate thread since it's still connected to generating reference representations/thumbnails.
Regarding the video reference representations, we found out that for some videos (.mkv and some .mp4) AtoM successfully generates a reference representation. Though for some .mp4s and .movs it's still not working and we have to click on the "file icon" and then a new tab with a video player is opened. So it's still possible to view them at least. However, we'd like to see them right on the archival description page. When I try to generate the derivatives manually it shows:
>> php72 symfony digitalobject:regen-derivatives --slug="dist-ar-more-v-zrcadle-01-mov-2"
Continuing will regenerate the derivatives for ALL descendants of
"dist-ar-more-v-zrcadle-01-mov-2"
This will PERMANENTLY DELETE existing derivatives you chose to regenerate
Continue? (y/N)
y
>> digital object Regenerating derivatives for d84ee940-ea84-46cb-a3f0-bba3a657f49e-DIST-AR-more_v_zrcadle_01.mp4... (1.51s)
>> digital object Please update the search index manually to reflect any changes
>> digital object Done!
Regenerating itself took only 1.51s which is quite weird with the 1.2 GiB file. Anyway, then I update the search index:
>> php72 symfony cc && php72 symfony search:populate
And after all these steps the description is still without reference representation. Why did the regenerating complete without any errors when obviously it's not working correctly? Is there any place where we can at least check logs regarding the generating or something?
We're also struggling with generating reference representation for TIFF files. We have ImageMagick installed on our server:
>> /usr/bin/convert --version
Version: ImageMagick 6.9.10-68 Q16 x86_64 2020-12-15 https://imagemagick.org
Copyright: © 1999-2019 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC Modules OpenMP(3.1)
Delegates (built-in): bzlib cairo fontconfig freetype gslib jng jp2 jpeg lcms ltdl lzma openexr pangocairo png ps rsvg tiff wmf x xml zlib
Also, it shows that the TIFF delegate is present. However, when I try to regenerate derivatives for TIFF it shows this error:
>> php72 symfony digitalobject:regen-derivatives --slug="tiff-test"
Continuing will regenerate the derivatives for ALL descendants of
"tiff-test"
This will PERMANENTLY DELETE existing derivatives you chose to regenerate
Continue? (y/N)
y
>> digital object Regenerating derivatives for file_example_TIFF_1MB.tiff... (2.13s)
identify: no decode delegate for this image format `TIFF' @ error/constitute.c/ReadImage/562.
convert: no decode delegate for this image format `TIFF' @ error/constitute.c/ReadImage/562.
convert: no images defined `jpeg:-' @ error/convert.c/ConvertImageCommand/3285.
identify: no decode delegate for this image format `TIFF' @ error/constitute.c/ReadImage/562.
convert: no decode delegate for this image format `TIFF' @ error/constitute.c/ReadImage/562.
convert: no images defined `jpeg:-' @ error/convert.c/ConvertImageCommand/3285.
>> digital object Please update the search index manually to reflect any changes
>> digital object Done!
It seems that the TIFF delegate is not present but as shown above, it is actually there. So I'm curious is AtoM using the right ImageMagick or are there any other versions available on our server? Is it possible to somehow check which ImageMagick is AtoM using? Or do you have any ideas why the error occurred?
Thank you for your time.
Regards,
Josef
Dne pondělí 2. listopadu 2020 v 19:52:48 UTC+1 uživatel Dan Gillean napsal: