Formats: Add support for Cineon, ORI and camcorder video files
As a PhotoPrism user with an older camera, camcorder, or scanner archive, I want my Cineon, Olympus ORI, and camcorder video files to be recognized, so that they are indexed and shown in my library instead of being silently skipped.
Background
PhotoPrism already uses ImageMagick, FFmpeg, ExifTool, Darktable, and RawTherapee to read media files. For a number of common file extensions, it did not recognize the file at all, so it was skipped during indexing even though the tools we bundle can read it perfectly well.
This affects, among others, film scans in Cineon format, Olympus and OM System High Res Shot photos, large Photoshop documents, DVD backups, and recordings from JVC, Panasonic, Canon, and Sony camcorders.
Newly Supported File Extensions
| Format | Extensions | Media Type |
|---|---|---|
| Kodak Cineon | .cin |
Image |
| Photoshop Large Document | .psb |
Image |
| Olympus / OM System RAW | .ori |
Raw |
| Adobe Illustrator Template | .ait |
Vector |
| MPEG-1/2 Video | .vob (DVD), .mod (camcorder), .mpe, .m2v |
Video |
| MPEG-2 Transport Stream | .tod (camcorder) |
Video |
| DivX | .divx |
Video |
| Mobile Video | .3gpp, .3gp2 |
Video |
| Apple QuickTime | .mqv |
Video |
Thumbnails, previews, and playback work the same way as for the formats that were already supported: images are rendered to JPEG, and videos are transcoded when your browser cannot play them directly.
An Olympus or OM System High Res Shot saves the composite as .orf and a single plain frame as .ori under the same name. Both are indexed, and the high-resolution composite remains the main file of the photo.
Additional Context
- Vector graphics such as
.aitrequire a membership, like the.aiand.svgfiles that were already supported. - JPEG 2000 (
.jp2and related extensions) is not included in this change. It needs further work in our conversion pipeline first, and will follow separately. - Sony MicroMV (
.mmv) is not included, as those recordings use a proprietary container that our video tools cannot read. - Compressed SVG (
.svgz) is not included yet, because it needs extra handling to display correctly in a browser. - You can list every supported format at any time by running
photoprism show file-formats.
Acceptance Criteria
- Indexing MUST recognize the file extensions listed above and add them to the library
- Preview images and thumbnails MUST be generated for the new image, RAW, and video formats
- Files in formats that were already supported MUST be indexed and displayed exactly as before
- An Olympus High Res Shot
.orfMUST remain the main file when an.oriof the same name exists -
photoprism show file-formatsMUST list the new formats together with their extensions - File details in the user interface SHOULD show a readable name for the new formats
- Our documentation SHOULD be updated with the new list of supported file formats
- Additional formats such as TGA, PCX, DPX, and OpenEXR MAY be added in a follow-up
Source: photoprism/photoprism