Comments (4)
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.
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.
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.
Good to know, thank you!
from go-exif.
Related Issues (20)
- Getting 0x01000000 value for SceneType instead of 0x00000001 HOT 1
- webp support? HOT 2
- Collect goes into an infinite loop for certain exif data HOT 3
- 100% CPU usage when parsing JPEG Exif HOT 6
- throw panic "no such file or directory" even if file exist HOT 3
- Can you tag with a Go Modules compatible version tag? HOT 8
- Use of panic when we could be passing along the error HOT 1
- Load EXIF without reading the entire file HOT 4
- Read all EXIF tags in file HOT 1
- can't read EXIF 0220 or EXIF 0221 version GPS information HOT 3
- Thumbnail offset gets corrupted when updating a tag HOT 1
- Re-reading data written from a list with A301 scene info causes crashes/ HOT 2
- How do you set an image.Image DPI? HOT 4
- building exif-read-tool fail... HOT 1
- ErrUnparseableValue error when reading in a JPEG file taken with a Sony digital camera HOT 4
- unparseable undefined tag - Reloaded HOT 1
- Out of memory when parsing a large file(4G) HOT 2
- Update README for JSON flag
- I have trouble using v3 to set XResolution
- Support for gif HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-exif.