damonlynch / rapid-photo-downloader

Rapid Photo Downloader is the leading photo and video downloader for the Linux desktop.
https://damonlynch.net/rapid
GNU General Public License v3.0
114 stars 30 forks source link

Add support for NEV (Nikon video raw) files #88

Open colin-adams opened 2 years ago

colin-adams commented 2 years ago

With firmware version 2.0 on the Z9, Nikon introduced a new file format for video - .NEV (12-bit raw video). It seems RPD does not support this. I assume it’s just a case of adding the extension to a list of known extensions.

damonlynch commented 1 year ago

For each file format, whether photo or video, the thumbnail and other forms of metadata like date and time need to be extracted from the file.

It turns out with this file format, .NEV, ExifTool is a better choice than MediaInfo, because ExifTool seems to give more accurate results.

Because ExifTool has not been used by Rapid Photo Downloader to extract video metadata (as opposed to photo metadata), the code changes are quite extensive, encompassing the initial device scan, thumbnail generation, and renaming files and generating subfolders. This is very far from merely adding an extension to a list of known extensions.