Comments (2)
Since these typically involve unknown unknowns and usually not that many pictures are affected (in my case 7 out of 100k+), it can be difficult to provide specific information that would enable end users to resolve the underlying issue(s). Also note that whenever we learn of issues with specific file formats, we will, where possible, provide a fix for them in an upcoming release. In these (most common) cases, you simply need to re-index.
The 7 affected videos in my library are clearly missing a thumbnail. As far as I can tell, these are mostly older QuickTime files that may simply not be compatible with FFmpeg:
To find and fix the cause in this case, you would need to take a look at the following command, e.g. check the error returned by enabling trace log mode, and then check the manual for solutions (or follow any helpful advice displayed as part of the error message):
photoprism/internal/photoprism/convert_image_jpeg.go
Lines 29 to 33 in ee8de5e
In some cases, problems can also be caused by configuration mistakes (e.g. FFmpeg disabled) or problems with the file system permissions. Our docs therefore include the following checklist to help you find and resolve such issues:
from photoprism.
Thanks for the swift reply! I forgot about the checklist in my original feature request, so I updated it with my thoughts about it as an alternative that I considered.
Since these typically involve unknown unknowns and usually not that many pictures are affected (in my case 7 out of 100k+), it can be difficult to provide specific information that would enable end users to resolve the underlying issue(s).
I fully understand that. Still, the code encountered an issue somewhere, and it would be nice to know in which part of the indexing that happened to at least have some hint about what went wrong. To me, anything is better than nothing here, so I'd be much happier if I saw some error message for the cases of unknown unknowns somewhere in the hidden-files-ui without have to dive into logs.
Also note that whenever we learn of issues with specific file formats, we will, where possible, provide a fix for them in an upcoming release. In these (most common) cases, you simply need to re-index.
I'd argue that showing these issues in the hidden-files-ui would make it much easier for you to learn about these problems as well, as it could be much easier to report them for the average user.
To find and fix the cause in this case, you would need to take a look at the following command, e.g. check the error returned by enabling trace log mode
I don't think most users would be able to do that. How would I even know about that ffmpeg call and its parameters without diving into the source code?
To further add to my initial idea: As a programmer myself, I'd image it could be as easy as saving any error messages from indexing to some "error"-property for each file, and displaying that in the hidden-files-ui on each picture card. If possible, the message could be made user-friendly for known / common issues, possibly with a link to more info or steps to fix the problem. What would be the challenges with that?
from photoprism.
Related Issues (20)
- Videos: Support for HTTP Live Streaming (HLS) with M3U8 HOT 1
- Videos: Support workers (like Peertube runners) for distributed transcoding
- Videos: Upgrade FFmpeg to v7.x for faster transcoding and extended file format support
- Only first "Person in Image" is added to People tab when import photo with exif metadata HOT 1
- Places: Include videos in the map-based place browser (the 'Places' view) HOT 2
- Indexing: (Re)index selected photos/videos HOT 1
- Correct thumbnails, after clicking on them the wrong photo is displayed (for some photos) HOT 2
- Metadata: Don't ignore stop words when generating titles from file names HOT 2
- Photoprism gives space error and refused to start
- PhotoSync App Password HOT 1
- UX: Support timeline feature HOT 2
- Image Import seems to ignore visually similar image with different SHA1sums. HOT 2
- Portainer stack setup does not work if you change PHOTOPRISM_DATABASE_PASSWORD from "insecure" to anything else. HOT 1
- Orientation operation, returned error 500 HOT 4
- Search: Enable Title-Based Sorting HOT 3
- People: New face cannot be named due to invalid file or photo UID HOT 16
- Sharing: Add names to the secret token of the link HOT 2
- Cannot create apps and services HOT 2
- MariaDB binay logs growing more than 1GB per hour after upgrading to Build 240420-ef5f14bc4 HOT 4
- Config for change Video Transcoding coder HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photoprism.