Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 of 3 tasks
HMKnapp opened this issue May 18, 2024 · 0 comments
Open
2 of 3 tasks
Labels
bug Something isn't working

Comments

@HMKnapp
Copy link

HMKnapp commented May 18, 2024

πŸ› 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.):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant