Hello, I shoot on Xiaomi MADV Mi 360° Panoramic Camera (Madventure) which saves DNG files. The common way to process those photos is to:
1) import these DNG files which contains two 190° degree photos into a special stitching application
2) then get stitched Equirectangular panoramic DNG image
3) and then process DNG in Lightroom/Photoshop to get a beautiful picture.
It's better to reduce noise in the original DNG file before stitching which distort original square pixels with noise. But modifying the original DNG removes some important EXIF data without which the stitching application doesn't import DNGs.
I tried to use -TagsFromFile command, but it doesn't work. Looks like the important information is stored in the "UserComment" field in some way that ExifTool doesn't recognize correctly. Here is the original DNG from the camera. Can someone check it and give advice on how to copy all EXIF from this original DNG to any modified DNG?
https://1drv.ms/u/s!AgTLhb8eC8aKl_F4W41k0L4gab4anw?e=msAdHM (can't attach the file to the post, because it is 50Mb)
Thanks in advance.
What was the exact command you used and the output? Also what OS?
Definitely something strange going on, as my quick tests ended up with a corrupted file.
You are right, I forgot to mention technical details:
ExifTool 12.25 (latest)
Windows 7 ENG / Mac Os 10.11.6
The command was "ExifTool -tagsfromfile ORIG.dng EDITED.dng"
The main thing that I what to extract from the original DNG is information from the gyroscope such as horizontal and central viewing point — this information allows stitching software to position Equirectangular panorama correctly. I don't see this information to be stored in separate EXIF fields, so it can be in "UserComment" field which is unreadable now. All other information (exposition, white balance, etc) is not so important for stitching because I will reduce noise in the previous step.
Here are some more files which maybe can help:
1) IMG_20210417_162345.jpg https://1drv.ms/u/s!AgTLhb8eC8aKl_F59yUocOWm9AX4TA?e=5ieeRg
Original JPG which camera creates along with DNG
2) PANO_IMG_20210417_162345.DNG https://1drv.ms/u/s!AgTLhb8eC8aKl_F6TwW-HU5eEuSbrQ?e=gmmuAL
Stitched DNG from original DNG (there was no editing before stitching)
3) PANO_IMG_20210417_162345.JPG https://1drv.ms/u/s!AgTLhb8eC8aKl_F7qSjj3m9ZZ8ivdQ?e=JK1K2c
Stitched JPG from original JPG (also no editing, just stitching)
PS
Stitching was done in non-ofissial App for Android "MiSphere Converter" https://play.google.com/store/apps/details?id=com.hirota41.misphereconverter
This App allows me to stitch edited (noise reduced) photos. But after editing it doesn't find gyroscope information and you have to try to position panorama's horizont, skew, and center manually, which is mostly impossible.
The best exiftool can do is with this command:
exiftool -tagsfromfile ORIG.dng -all:all -m --scenetype EDITED.dng
This should copy everything possible, including the large GooglePlusUploadCode value (whatever that is). It won't copy the corrupted UserComment, and the corrupted SceneType must be excluded manually because it causes problems with ExifTool 12.25 and earlier.
- Phil