Giter VIP home page Giter VIP logo

Comments (4)

dsoprea avatar dsoprea commented on August 17, 2024

Merry Christmas.

I'm assuming that you're referring to one of these functions, which also have explanatory comments:

These are just convenience functions. In order to efficiently parse, you need to provide the EXIF data directly. The other projects (go-jpeg-image-structure, go-png-image-structure), which knows how to parse the specific image formats, to do this for you.

What specific video format are you dealing with? No popular video format supports EXIF.

from go-exif.

mholt avatar mholt commented on August 17, 2024

Thanks for that tip -- I will look into those packages!

I'm dealing with really any kind of video format (could be in a Google Photos collection, for example) -- mp4 is probably most common.

I'm definitely not an expert on media files or media metadata but am learning quite a lot. I guess if they don't use EXIF I can hunt down another way to get their metadata. :)

Thanks for this package!

from go-exif.

dsoprea avatar dsoprea commented on August 17, 2024

For video formats, you'll likely have to use ffmpeg, gstreamer, etc.. MP4 doesn't support EXIF. Only MOV seems to support EXIF, but, even then, I don't know if it strictly conforms to the spec. It doesn't even seem to have the same, standard EXIF header (well-defined byte order bytes followed by the fixed magic bytes followed by a pointer to the first block of data).

from go-exif.

mholt avatar mholt commented on August 17, 2024

Good to know, thank you!

from go-exif.

Related Issues (20)

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.