Extraction of model and date created tag from own picture/video recordings

MRAB python at mrabarnett.plus.com
Tue Mar 14 14:53:52 EDT 2017


On 2017-03-14 07:34, zljubisic at gmail.com wrote:
> I am looking for the way to extract two simple information from pictures/videos that I have recorded with different devices that I own: model (of the device that has recorded) and recordings (local) creation time.
>
> So far, I tried different approaches.
>
> I tried to use pymediainfo (https://pypi.python.org/pypi/pymediainfo/), which is kind of good for iPhone videos, but doesn't recognize model of the android videos and it is bed for pictures, but at the moment, I don't have anything better.
>
> I also tried ExifRead (https://pypi.python.org/pypi/ExifRead), that is good for some pictures, but not for all.
>
> For such a simple requirement (model and creation date) is there a library that can:
> 1.	Cover both pictures and videos
> 2.	Work with android and iPhone
>
> Does someone have an experience with such task in order to suggest a library to me?
>
It might be worth trying "ImageMagick".



More information about the Python-list mailing list