Support for Sony A7C
Trying to import movies from a SD card written by a Sony A7C camera does not work.
It turns out that the organization of the SD card is not supported by Shotwell's ImportPage.vala. The directory structure is this:
- PRIVATE
- SONY (contains an empty SONYCARD.IND file)
- M4ROOT
- CLIP (contains XML files and MP4 videos)
- SUB (if enabled, contains MP4 proxies for videos under CLIP)
- THMBNL (contains JPG files for videos under CLIP)
- GENERAL (empty)
- AVF_INFO (contains some data files)
- DCIM
- 100MSDCF (JPG and ARW files)
- 101MSDCF (...)
The actual movies are stored in PRIVATE/M4ROOT/CLIP/. For each PRIVATE/M4ROOT/CLIP/C????.MP4, there is a thumbnail file named PRIVATE/M4ROOT/C????T01.JPG.
Adding this patch shotwell-a7c.patch kind of makes it work. It may not be optimal because it duplicates MP4 files (shown as movie placeholder icons) with thumbnails (shown as pictures), I don't know.
If you should need additional information about the directory structure or a sample, please do not hesitate to let me know.
Edited by Richard B. Kreckel