[FFmpeg-user] unsubscribe

Audette, Michel A. maudette at odu.edu
Thu Jun 22 20:56:39 EEST 2023



Michel Audette, Ph.D.
Associate Professor, Department of Electrical and Computer Engineering,
Graduate Program Director, Biomedical Engineering,
Old Dominion University,
Norfolk, VA.
maudette at odu.edu; office phone: 757-683-6940.
________________________________
From: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> on behalf of Kevin Willard via ffmpeg-user <ffmpeg-user at ffmpeg.org>
Sent: Thursday, June 22, 2023 1:35 PM
To: FFmpeg user questions <ffmpeg-user at ffmpeg.org>
Cc: Kevin Willard <kevin14450 at yahoo.com>
Subject: Re: [FFmpeg-user] How to keep the original creation date?

EXTERNAL to ODU: This email is not from an ODU account. Do not click links or open attachments unless you recognize the sender and know the content is safe.

 Thanks for your effortKevin
    On Thursday, June 22, 2023 at 01:19:01 PM EDT, Michael Koch <astroelectronic at t-online.de> wrote:

 Am 22.06.2023 um 18:06 schrieb Michael Koch:
> Am 22.06.2023 um 16:36 schrieb Kevin Willard via ffmpeg-user:
>> I've got 3000 family videos from 2009-2014 that played perfect back
>> then on Windows 7 but have the wrong aspect ratio today (all
>> stretched even though it says it is 1920X1080). The code belowfixes
>> the problem, but changes all the dates to current. It would be nice
>> to have the original time/date stamp for sorting and looking at the
>> family timeline.Google search brings me to Stackoverflow (ffmpeg keep
>> original file date?) They us PowerShell, I don't know how to use it
>> and I don't think it will work because in the example the PS
>> operation is done after the FFmpeg conversion is done. FFmpeg in the
>> copy sets the creation time, last modified, and last access to the
>> time/date the FFmpeg was run.
>> The code below is in a .bat file located in the directory that
>> contains the 3000 *.MP4 files. When run
>> it puts the corrected files in the subdirectory Fixed_Directory.
>> for %%a in ("*.mp4") do ffmpeg -i "%%a" -aspect 1920:1080 -c copy
>> "Fixed_Directory\%%~na.mp4"
>>
>> With all the switches I would think there would be one to keep the
>> original dates, any ideas?
>
> Which FFmpeg version are you using? In my test the creation time is
> almost kept as it was, it's only changed by a few minutes. I don'*t
> know why.

What I wrote was wrong. It keeps the creation date of the output file,
if that file did already exist.
Sorry, I have no idea how to keep the creation date of the input file.
-map_metadata 0 does also not work in this case.

Michael

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-user&data=05%7C01%7Cmaudette%40odu.edu%7C85e22958b8bf466a570a08db734722d6%7C48bf86e811a24b8a8cb368d8be2227f3%7C0%7C0%7C638230521593407373%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=z66qhT%2FYwM36osia1c4H9qYZyvDS%2BypEGumeP0UI1V8%3D&reserved=0<https://ffmpeg.org/mailman/listinfo/ffmpeg-user>

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-user&data=05%7C01%7Cmaudette%40odu.edu%7C85e22958b8bf466a570a08db734722d6%7C48bf86e811a24b8a8cb368d8be2227f3%7C0%7C0%7C638230521593407373%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=z66qhT%2FYwM36osia1c4H9qYZyvDS%2BypEGumeP0UI1V8%3D&reserved=0<https://ffmpeg.org/mailman/listinfo/ffmpeg-user>

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list