Opened 8 years ago

Closed 8 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 by Carl Eugen Hoyos, 8 years ago

Component: undeterminedavcodec
Keywords: recorded date removed

Please provide a sample that shows a creation date.

comment:2 by laurfb, 8 years ago

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 by Carl Eugen Hoyos, 8 years ago

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

comment:4 by laurfb, 8 years ago

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

comment:5 by Carl Eugen Hoyos, 8 years ago

Please test the following:

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

comment:6 by Carl Eugen Hoyos, 8 years ago

And:

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

comment:7 by laurfb, 8 years ago

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 by Carl Eugen Hoyos, 8 years ago

Resolution: invalid
Status: newclosed

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.