Opened 11 years ago

Closed 11 years ago

#2047 closed defect (fixed)

FFmpeg 1.0 reports wrong creation_time metadata

Reported by: Jim Wang Owned by:
Priority: important Component: avformat
Version: 1.0 Keywords: creation_time mov regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:
Since FFmpeg 1.0 release all creation_time extracted with ffprobe are wrong. Time is shifted for about 70 years.

How to reproduce:
ffprobe any MP4 file.

For example, FFmpeg 1.0:

ffprobe version 1.0 Copyright (c) 2007-2012 the FFmpeg developers
  built on Nov  7 2012 11:51:12 with gcc 4.4.0 (GCC) 20090506 (Red Hat 4.4.0-4)
  configuration: --disable-yasm
  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
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/jwang/clips/MP4/Avatar1080.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isomavc1mp42
    creation_time   : 1939-10-21 02:15:28
  Duration: 00:02:34.58, start: 0.000000, bitrate: 2821 kb/s
    Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 120 kb/s
    Metadata:
      creation_time   : 1939-10-21 02:15:28
      handler_name    : (C) 2007 Google Inc. v08.13.2007.
    Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 3274 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
    Metadata:
      creation_time   : 1939-10-21 02:15:30
      handler_name    : (C) 2007 Google Inc. v08.13.2007.

FFmpeg 0.11.1:

ffprobe version 0.11.1 Copyright (c) 2007-2012 the FFmpeg developers
  built on Jun 14 2012 18:01:36 with gcc 4.4.0 20090506 (Red Hat 4.4.0-4)
  configuration: --disable-yasm
  libavutil      51. 54.100 / 51. 54.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.100 / 54.  6.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/jwang/clips/MP4/Avatar1080.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isomavc1mp42
    creation_time   : 2009-11-25 08:43:44
  Duration: 00:02:34.58, start: 0.000000, bitrate: 2821 kb/s
    Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 120 kb/s
    Metadata:
      creation_time   : 2009-11-25 08:43:44
      handler_name    : (C) 2007 Google Inc. v08.13.2007.
    Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 3274 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
    Metadata:
      creation_time   : 2009-11-25 08:43:46
      handler_name    : (C) 2007 Google Inc. v08.13.2007.

Change History (1)

comment:1 by Carl Eugen Hoyos, 11 years ago

Component: undeterminedavformat
Keywords: mov regression added
Priority: normalimportant
Reproduced by developer: set
Resolution: fixed
Status: newclosed

For future tickets: Please always provide a sample.

Thank you for reporting this, it is a duplicate of ticket #1817, but it wasn't fixed for 1.0.

Will be fixed in 1.0.2, you can test with git checkout release/1.0

Note: See TracTickets for help on using tickets.