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

Can't upload video .mp4 #648

Closed
1 task
ajcarrascod opened this issue Sep 25, 2022 · 1 comment
Closed
1 task

Can't upload video .mp4 #648

ajcarrascod opened this issue Sep 25, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@ajcarrascod
Copy link

πŸ› Bug Report

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

πŸ“ Description of issue:

When I try to upload a video, there is an error and the log shows:

2022-09-25 19:21:40,330 : directory_watcher.py : is_valid_media : 46 : INFO : Could not handle /data/uploads/web/VID-20210209-WA0036.mp4, because unable to call thumbnail
magickload: Magick: improper image header `/data/uploads/web/VID-20210209-WA0036.mp4' @ error/tga.c/ReadTGAImage/215 (null)

πŸ” How can we reproduce it:

Try to upload the file I have attached.

Please provide additional information:

  • πŸ’» Operating system: Linux
  • βš™ Architecture (x86 or ARM):
  • πŸ”’ Librephotos version: docker
  • πŸ“Έ Librephotos installation method (Docker, Kubernetes, .deb, etc.): Docker
    • πŸ‹ If Docker or Kubernets, provide docker-compose image tag:
  • πŸ“ 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.):

Video:
https://user-images.githubusercontent.com/16685137/192164765-fa13e6a7-a89c-47d6-a444-0dccf78d61f6.mp4

@ajcarrascod ajcarrascod added the bug Something isn't working label Sep 25, 2022
@derneuere
Copy link
Member

The file is broken, because it has the wrong mime type. It has a application/octet-stream mime type and not a video mime type.

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

2 participants