[FFmpeg-user] How to preserve file time
Ulf Zibis
Ulf.Zibis at CoSoCo.de
Tue Aug 13 12:12:48 EEST 2024
Am 12.08.24 um 23:05 schrieb Greg Oliver:
> On Mon, Aug 12, 2024 at 6:06 AM Ulf Zibis via ffmpeg-user <
> ffmpeg-user at ffmpeg.org> wrote:
>
>> Hi,
>>
>> is there an option how to preserve the file time from the input file to
>> the outputfile?
>> My search for "file time" on https://ffmpeg.org/ffmpeg-all.html was
>> resultless.
>>
>> -Ulf
>>
>
> DATE=$(stat -c %Y (filename) && <ffmpeg command where -i is the filename)>
> && touch -d @${DATE} filename
Now see: https://trac.ffmpeg.org/ticket/11139
More information about the ffmpeg-user
mailing list