[FFmpeg-trac] #5673(avformat:new): Wrong creation_time

FFmpeg trac at avcodec.org
Wed Jun 29 20:17:39 CEST 2016

#5673: Wrong creation_time
             Reporter:  cehoyos      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  mov          |               Blocked By:
  regression                         |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |

Comment (by dart):

 Replying to [comment:1 cus]:
 > When you specify creation time in the CLI, it is interpreted in local
 timezone, therefore it is recalculated to UTC before saving it in MOV. So
 after my patch, the correct UTC time is stored in MOV.
 > Unfortunately when ffmpeg reads creation time metadata from mov, I guess
 it presents the UTC time, but without specifying it, that it is in UTC.
 The correct fix would be to fix the mov demuxer (and all demuxers having
 the same problem) to set the creation_time to an ISO 8601 compatible
 > Which other muxers are affected? I might work on this.

 Maybe a piece of email from user group could be helpful. I found no
 connection to local timezone, the time was just one hour less:
 > So I try to set 21:29, it's reported that 21:29 will be written into
 > the output file but the actual result is 20:29.
 > And it doesn't look like it's some timezone problem since I currently
 > have GMT+2, file date is in GMT+1 (March in Central European Time) but
 > I also tried GMT+2 dated files (April) and the result was that same.

Ticket URL: <https://trac.ffmpeg.org/ticket/5673#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list