Code Monkey home page Code Monkey logo

Comments (2)

bgoglin avatar bgoglin commented on May 30, 2024

So you're saying there are tags in videos that we could extract just like for images?

from llgal.

miiichael avatar miiichael commented on May 30, 2024

Well. In the absence of EXIF/IPTC and friends, there is certainly a lot less metadata available for videos then there are for images. But I had thumbnail creation in mind rather than metadata handling...

But to continue - less is not none. 😛

For example, my Canon 500D makes the following available (via ffprobe):

  Metadata:
    major_brand     : qt  
    minor_version   : 537331968
    compatible_brands: qt  CAEP
    creation_time   : 2010-04-14T12:29:51.000000Z
  Duration: 00:01:27.67, start: 0.000000, bitrate: 27334 kb/s
    Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuvj420p(pc, smpte170m/bt709/bt709), 1280x720, 26626 kb/s, 30 fps, 30 tbr, 3k tbn, 6k tbc (default)
    Metadata:
      creation_time   : 2010-04-14T12:29:51.000000Z
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 44100 Hz, mono, s16, 705 kb/s (default)
    Metadata:
      creation_time   : 2010-04-14T12:29:51.000000Z

Similarly, from my OM-D EM5 II:

  Metadata:
    major_brand     : qt  
    minor_version   : 537986816
    compatible_brands: qt  
    creation_time   : 2020-02-10T21:22:38.000000Z
  Duration: 00:00:07.01, start: 0.000000, bitrate: 31124 kb/s
    Stream #0:0(jpn): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, smpte170m), 1920x1080 [SAR 1:1 DAR 16:9], 28344 kb/s, 59.94 fps, 59.94 tbr, 180k tbn, 119.88 tbc (default)
    Metadata:
      creation_time   : 2020-02-10T21:22:38.000000Z
      timecode        : 00:10:54:00
    Stream #0:1(jpn): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 2 channels, s16, 1536 kb/s (default)
    Metadata:
      creation_time   : 2020-02-10T21:22:38.000000Z
      timecode        : 00:10:54:00
    Stream #0:2(jpn): Data: none (tmcd / 0x64636D74), 1 kb/s (default)
    Metadata:
      creation_time   : 2020-02-10T21:22:38.000000Z
      timecode        : 00:10:54:00

(mind you, both cameras seem to get the timestamps wrong, claiming UTC rather than local time)

from llgal.

Related Issues (6)

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.