Giter Site home page Giter Site logo

exifdate2fs's People

Contributors

varnav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

pfevre

exifdate2fs's Issues

windows exe virus

Video support

It would be great to support videos as well. :)

They don't have exif data, but they do have metadata:

❯ ffmpeg -i video.MOV  -dump
ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers
  built with Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.MOV':
  Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    creation_time   : 2021-12-24T19:21:40.000000Z

HEIC processing error: hdlr on Apple Silicon

Using ExifDate2FS on a Mac with Apple Silicon I get follwoing error when processing heic-files.

/tmp/IMG_3684.HEIC processing error: hdlr

Digging around exifread>=2.3.2 is specified in the requirements.txt and that results in version 3 to be installed which seems having issues, see #exif-py/issues/160

Solution from aapris in that issue is a simple
pip install "exifread<3"

Creating this as reference for others.

Error

Breaks with the below error.

Traceback (most recent call last): File "/usr/local/bin/exifdate2fs", line 8, in <module> sys.exit(main()) File "/usr/local/lib/python3.8/dist-packages/exifdate2fs/__init__.py", line 74, in main time_object = time.strptime(datetime_original, '%Y:%m:%d %H:%M:%S') File "/usr/lib/python3.8/_strptime.py", line 562, in _strptime_time tt = _strptime(data_string, format)[0] File "/usr/lib/python3.8/_strptime.py", line 349, in _strptime raise ValueError("time data %r does not match format %r" % ValueError: time data '2007:03:08 15:57: 7' does not match format '%Y:%m:%d %H:%M:%S'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.