Opened 2 years ago

Closed 2 years ago

#5110 closed defect (invalid)

Incorrect metadata for DV files

Reported by: laurfb Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: dvvideo metadata
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
Metadata "Recorded date" for DV files is always set to "1970-01-01 00:00:00.000"
How to reproduce:
ffmpeg -i input_files -target pal-dv output.dv
or
ffmpeg -i input_files -c:v dvvideo output.avi
and view file infos with mediainfo (https://mediaarea.net/en/MediaInfo).

Change History (8)

comment:1 Changed 2 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords recorded date removed

Please provide a sample that shows a creation date.

comment:2 Changed 2 years ago by laurfb

Hi.
RAW DV Test file 1: http://www6.zippyshare.com/v/dUnu9gPa/file.html
(ffmpeg -i input_files -target pal-dv out_test_dv.dv)

and
RAW DV Test file 2: http://www8.zippyshare.com/v/lVkskYZN/file.html
(ffmpeg -i input_files -c:v dvvideo out_test_dv2.dv)

DV files metadata contains no "Creation date" record, only "Recorded date : 1970-01-01 00:00:00.000"

regards
laur

P.S. - in first post, by mistake, I write "output.avi" instead "output.dv" in second ffmpeg console command line

comment:3 Changed 2 years ago by cehoyos

Please provide a dv sample that shows a recording date not equal to 1970-01-01.

comment:4 Changed 2 years ago by laurfb

Hi. Requested sample: http://www19.zippyshare.com/v/LHl0tEgF/file.html
regards,
laur

comment:5 Changed 2 years ago by cehoyos

Please test the following:

$ ffmpeg -i input -target pal-dv -metadata creation_time=2015-12-12 out.dv

comment:6 Changed 2 years ago by cehoyos

And:

$ ffmpeg -i input -target pal-dv -metadata creation_time=now out.dv

comment:7 Changed 2 years ago by laurfb

Hi. In both case Record date of DV file is modified ("2015-12-12" or system current date/time).
Seems that we need to explicitely set creation_time. Thanks!
regards,
laur

comment:8 Changed 2 years ago by cehoyos

  • Resolution set to invalid
  • Status changed from new to closed

Thank you for the sample!
A related thread is http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/24767

Note: See TracTickets for help on using tickets.