Lychee: App\Image\ImagickHandler::crop -- 170 -- UnableToOpenBlob

When I upload a video , format mp4
log give me this error: UnableToOpenBlob But not every video can’t successfully upload。 I want to know where did go wrong? or just video not supported

Video info: Format : MPEG-4' Format profile : 3GPP Media Release 4 Codec ID : 3gp4 (3gp4/3gp5/3g2a) File size : 4.98 MiB Duration : 7 s 713 ms Overall bit rate : 5 412 kb/s

and logs 2020-12-31 23:42:47 -- error -- App\Image\ImagickHandler::crop -- 170 -- UnableToOpenBlob 'C:/Users/ADMINI~1/AppData/Local/Temp/2/magick-7624nxVcuqIf2H04.pam': No such file or directory @ error/blob.c/OpenBlob/3315 2020-12-31 23:42:47 -- notice -- App\ModelFunctions\PhotoFunctions::createThumb -- 617 -- Photo URL is d6605df56b0cb0acfedc2a5f29a66039.mp4 2020-12-31 23:34:48 -- error -- App\Image\ImagickHandler::crop -- 170 -- UnableToOpenBlob 'C:/Users/ADMINI~1/AppData/Local/Temp/2/magick-8004g0kEjJ9OmTkw.pam': No such file or directory @ error/blob.c/OpenBlob/3315 2020-12-31 23:34:46 -- notice -- App\ModelFunctions\PhotoFunctions::createThumb -- 617 -- Photo URL is 27b4def4a503395d07a2b4daccf635f5.mp4

Powershell: In GdHandler.php line 286:

Argument 2 passed to App\Image\GdHandler::createImage() must be of the type int, null given, called in O:\Web\WWW\l ychee\app\Image\GdHandler.php on line 172

`Diagnostics ------- Warning: Dropbox import not working. dropbox_key is empty.

System Information
--------------
Lychee Version (release):        4.1.0
DB Version:                      4.1.0

composer install:                --no-dev
APP_ENV:                         production
APP_DEBUG:                       true

System:                          WINNT
PHP Version:                     7.4
Max uploaded file size:          10000M
Max post size:                   10000M
MySQL Version:                   5.7.26

Imagick:                         1
Imagick Active:                  1
Imagick Version:                 1799
GD Version:                      bundled (2.1.0 compatible)



Config Information
--------------
version:                         040100
check_for_updates:               0
sorting_Photos_col:              takestamp
sorting_Photos_order:            ASC
sorting_Albums_col:              max_takestamp
sorting_Albums_order:            ASC
imagick:                         1
skip_duplicates:                 0
small_max_width:                 0
small_max_height:                360
medium_max_width:                1920
medium_max_height:               1080
lang:                            简体中文
layout:                          1
image_overlay:                   1
image_overlay_type:              desc
default_license:                 none
compression_quality:             90
full_photo:                      1
delete_imported:                 0
Mod_Frame:                       1
Mod_Frame_refresh:               30
thumb_2x:                        1
small_2x:                        1
medium_2x:                       1
landing_page_enable:             0
landing_owner:                   John Smith
landing_title:                   John Smith
landing_subtitle:                Cats, Dogs & Humans Photography
landing_facebook:                https://www.facebook.com/JohnSmith
landing_flickr:                  https://www.flickr.com/JohnSmith
landing_twitter:                 https://www.twitter.com/JohnSmith
landing_instagram:               https://instagram.com/JohnSmith
landing_youtube:                 https://www.youtube.com/JohnSmith
landing_background:              dist/cat.jpg
site_title:                      Lychee v4
site_copyright_enable:           1
site_copyright_begin:            2019
site_copyright_end:              2019
additional_footer_text:          
display_social_in_gallery:       0
public_search:                   0
SL_enable:                       0
SL_for_admin:                    0
public_recent:                   0
recent_age:                      1
public_starred:                  0
downloadable:                    0
photos_wraparound:               1
map_display:                     0
zip64:                           1
map_display_public:              0
map_provider:                    Wikimedia
force_32bit_ids:                 0
map_include_subalbums:           0
update_check_every_days:         3
has_exiftool:                    0
share_button_visible:            0
import_via_symlink:              0
has_ffmpeg:                      1
location_decoding:               0
location_decoding_timeout:       30
location_show:                   1
location_show_public:            0
rss_enable:                      0
rss_recent_days:                 7
rss_max_items:                   100
prefer_available_xmp_metadata:   0
editor_enabled:                  1
lossless_optimization:           0
swipe_tolerance_x:               150
swipe_tolerance_y:               250
local_takestamp_video_formats:   .avi|.mov
log_max_num_line:                1000
unlock_password_photos_with_url_param: 0
nsfw_visible:                    1
nsfw_blur:                       0
nsfw_warning:                    0
nsfw_warning_admin:              0`

Browser and system

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 19 (10 by maintainers)

Most upvoted comments

Thanks, download works now! For me the uploading works, but the extraction of a video frame for the thumbnail does not. I’ll investigate in the next few days what’s going on here.