Panasonic GH6 file (.sw2) write error during geotagging

Started by dephiros, May 16, 2022, 01:40:30 PM

Previous topic - Next topic

dephiros

Hi,

I am trying to run a geocoding command on a Panasonic GH6 raw file but run into some errors. The same command works fine on other camera brand's raw file
1. System: macOS Monterey M1
2. Version: 12.30
3. Command

exiftool -wm cg -api largefilesupport=1 -geotag "folder/*.gpx" ~/Pictures/2022-05-14/


4. Example of error that I see

Error: File is empty - 2022-05-14/P1000441.RW2
Error: File is empty - 2022-05-14/P1000521.RW2
Error: File is empty - 2022-05-14/P1000440.RW2
Error: File is empty - 2022-05-14/P1000497.RW2
Error: File is empty - 2022-05-14/P1000442.RW2
Error: File is empty - 2022-05-14/P1000522.RW2
Error: File is empty - 2022-05-14/P1000523.RW2
Error: File is empty - 2022-05-14/P1000457.RW2
Error: File is empty - 2022-05-14/P1000480.RW2
Error: File is empty - 2022-05-14/P1000490.RW2
Error: File is empty - 2022-05-14/P1000527.RW2
Error: File is empty - 2022-05-14/P1000533.RW2
Error: File is empty - 2022-05-14/P1000532.RW2
Error: No size tag for IFD0:RawDataOffset - 2022-05-14/2022-05-14_P1000498-2.RW2


Appreciate your help and exiftool

StarGeek

* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Phil Harvey

ExifTool should only give the "File is empty" warning if the file size is zero bytes.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).