exiftool

bulk join json with jpg from Google Takeout

a 夏天 提交于 2019-11-29 02:40:29
I wish to leave Google photos, and I have downloaded all my photos using Google Takeout. Now I have a boatload of folders containing both json files (that I think contains exif data) and images. The structure looks like this: home/user/Billeder/Takeout/Google Photos/2011-06-09/file.json. home/user/Billeder/Takeout(2)/Google Photos/2011-07-09/file.json. I want to join the json data with the correct images and organize the images in folders that correspond to their creation date. I have been looking at Exiftool, but all answers found so far only shows how to do this for a single image. What I'm

bulk join json with jpg from Google Takeout

女生的网名这么多〃 提交于 2019-11-27 17:11:30
问题 I wish to leave Google photos, and I have downloaded all my photos using Google Takeout. Now I have a boatload of folders containing both json files (that I think contains exif data) and images. The structure looks like this: home/user/Billeder/Takeout/Google Photos/2011-06-09/file.json. home/user/Billeder/Takeout(2)/Google Photos/2011-07-09/file.json. I want to join the json data with the correct images and organize the images in folders that correspond to their creation date. I have been

Python native library to read metadata from videos?

ε祈祈猫儿з 提交于 2019-11-27 15:51:52
Is there a Python library to read metadata (camera model, time created, etc ...) from video files? The Perl equivalent is "exiftool." I checked pyexiv2, but it doesn't have video support like exiftool does. Thanks. I have used hachoir-metadata succesfully: http://pypi.python.org/pypi/hachoir-metadata I have used PyExifTool , a wrapper for the command line program, exif tool. You can get the library here (I think this is the result of the related question in Sven's comment). The neat thing about PyExifTool is that it also parses the metadata into a dictionary for you. I used it on a list of

Python: Remove Exif info from images

假如想象 提交于 2019-11-26 22:22:54
问题 In order to reduce the size of images to be used in a website, I reduced the quality to 80-85%. This decreases the image size quite a bit, up to an extent. To reduce the size further without compromising the quality, my friend pointed out that raw images from cameras have a lot of metadata called Exif info. Since there is no need to retain this Exif info for images in a website, we can remove it. This will further reduce the size by 3-10 kB. But I'm not able to find an appropriate library to

Call exiftool from a python script?

一曲冷凌霜 提交于 2019-11-26 20:45:03
问题 I'm looking to use exiftool to scan the EXIF tags from my photos and videos. It's a perl executable. What's the best way to inferface with this? Are there any Python libraries to do this already? Or should I directly call the executable and parse the output? (The latter seems dirty.) Thanks. The reason I ask is this because I am currently using pyexiv2, which does not have support for videos. Perl's exiftool has very broad support for images and videos, and I'd like to use it. 回答1: To avoid

Python native library to read metadata from videos?

别等时光非礼了梦想. 提交于 2019-11-26 17:20:45
问题 Is there a Python library to read metadata (camera model, time created, etc ...) from video files? The Perl equivalent is "exiftool." I checked pyexiv2, but it doesn't have video support like exiftool does. Thanks. 回答1: I have used hachoir-metadata succesfully: http://pypi.python.org/pypi/hachoir-metadata 回答2: I have used PyExifTool , a wrapper for the command line program, exif tool. You can get the library here (I think this is the result of the related question in Sven's comment). The neat