[FFmpeg-user] Keep creation date while converting on Windows 7
Moritz Barsnick
barsnick at gmx.net
Tue Feb 23 15:31:16 CET 2016
On Tue, Feb 23, 2016 at 09:16:03 -0500, Jim Shupert wrote:
> The new files you create have the new creation date ?
> ..... and that is a problem :)
It is if you want to preserve the date to indicate something, like
recording date or order. Metadata is probably better for that, but
there may be programs which can't access or present that. Think file
system listings.
To come to a solution for this: Any other program "suffers" the same
issue as ffmpeg, it has to do tricks to preserve the date. Better you
do it from an OS perspective. Under Unix, it's easy:
$ ffmpeg -i original_file.mov [...] new_file.mov
$ touch -r original_file.mov new_file.mov
(Using "-r", this tells touch to modify the date of "new_file.mov"
using "original_file.mov" as a timestamp reference.)
Moritz
More information about the ffmpeg-user
mailing list