1. Zakhar Zibarov
  2. FFVideo
Issue #2 new

Get creation_time metadata of video

ax003d
created an issue

Hi, zakhar,

I'm using ffvideo recently, the API supplied is very straight forward, and it works greate in getting video's width, height and frame thumbnails! Thank you for you work!

I want to get video's creation_time metadata, how can I do this? Is it easy to add this API to ffvideo?

I can get creation_time metadata through ffmpeg's commanline output:

ffmpeg version 1.0.1 Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 20 2012 10:14:31 with Apple clang version 4.0 (tags/Apple/clang-421.0.60) (based on LLVM 3.1svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/1.0.1 --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
  libavutil      51. 73.101 / 51. 73.101
  libavcodec     54. 59.100 / 54. 59.100
  libavformat    54. 29.104 / 54. 29.104
  libavdevice    54.  2.101 / 54.  2.101
  libavfilter     3. 17.100 /  3. 17.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/video.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 0
    compatible_brands: isom3gp4
    creation_time   : 2013-03-07 09:32:01
  Duration: 00:00:11.37, start: 0.000000, bitrate: 6046 kb/s
    Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1280x720, 5666 kb/s, SAR 65536:65536 DAR 16:9, 28.18 fps, 30 tbr, 90k tbn, 180k tbc
    Metadata:
      creation_time   : 2013-03-07 09:32:01
      handler_name    : VideoHandle
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 155 kb/s
    Metadata:
      creation_time   : 2013-03-07 09:32:01
      handler_name    : SoundHandle

Thank you for your attention!

Comments (0)

  1. Log in to comment