Skip to content

Video processing error, "magick2vips: libMagick error: improper image header"Β #1277

@HMKnapp

Description

@HMKnapp

πŸ› Bug Report

  • πŸ“ I've Included a ZIP file containing my librephotos log files
  • ❌ I have looked for similar issues (including closed ones)
  • 🎬 (If applicable) I've provided pictures or links to videos that clearly demonstrate the issue

πŸ“ Description of issue:

Video processing fails after upload.

proxy           | 192.168.0.190 - - [18/May/2024:23:13:02 +0000] "POST /api/upload/complete/ HTTP/1.1" 200 2 "-" "UhuruPhotos/0.0.220 Dalvik/2.1.0 (Linux; U; Android 10; Nokia 7 plus Build/QKQ1.190828.002)"
backend         | 23:13:02 [Q] INFO Process-b10f0aa75e764e3d812732e0ded9e67e processing west-mountain-golf-blossom 'api.directory_watcher.rescan_image'
backend         | INFO:ownphotos:Could not handle /data/hk/uploads/web/VID_20210924_200341.mp4, because unable to call thumbnail
backend         |   magick2vips: libMagick error: improper image header `/data/hk/uploads/web/VID_20210924_200341.mp4' @ error/tga.c/ReadTGAImage/224
backend         | magick2vips: unable to read file "/data/hk/uploads/web/VID_20210924_200341.mp4"

πŸ” How can we reproduce it:

If you want I can send the video to you.

This issue might be related to #1276 because these two issues (throwing exception and libmagick error) alternate between the videos of that same phone.

Please provide additional information:

  • πŸ’» Operating system: librephotos-gpu Docker image
  • βš™ Architecture (x86 or ARM): x86_64
  • πŸ”’ Librephotos version: 2024w05
  • πŸ“Έ Librephotos installation method (Docker, Kubernetes, .deb, etc.): Docker
  • πŸ‹ If Docker or Kubernets, provide docker-compose image tag: librephotos-gpu:latest
  • πŸ“ How is you picture library mounted (Local file system (Type), NFS, SMB, etc.): local
  • ☁ If you are virtualizing librephotos, Virtualization platform (Proxmox, Xen, HyperV, etc.):

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions