[FFmpeg-user] How to preserve file time

Reindl Harald h.reindl at thelounge.net
Sun Aug 18 12:36:00 EEST 2024



Am 18.08.24 um 00:51 schrieb Ulf Zibis:
> 
> Am 18.08.24 um 00:30 schrieb Reindl Harald:
>>
>>
>> Am 17.08.24 um 23:07 schrieb Ulf Zibis:
>>>
>>> Am 17.08.24 um 22:10 schrieb Bouke / Videotoolshed:
>>>>
>>>> The user input is parsed as ‘if file exists and not -y in line, abort’
>>> FFmpeg CLI does not abort in that case, it outputs a question to 
>>> system out stream, and then reads the input from system in stream. 
>>> These are again 2 additional OS calls.
>>
>> are you dumb?
>>
>> in case of "-y" ffmpeg opens the output file no matter if it exists or 
>> not - there is no need for any operation
> Are you able to read? Bouke wrote "_not_ -y in line". This is the 
> opposite case.

you pretended "But for convenience FFmpeg CLI provides option `-y` for 
this task" which is technically nonsense - that's the whole topic - period

-------- Weitergeleitete Nachricht --------
Betreff: Re: [FFmpeg-user] How to preserve file time
Datum: Wed, 14 Aug 2024 17:20:23 +0200
Von: Ulf Zibis <Ulf.Zibis at CoSoCo.de>
Antwort an: FFmpeg user questions <ffmpeg-user at ffmpeg.org>
An: ffmpeg-user at ffmpeg.org


Am 12.08.24 um 19:04 schrieb Mark Filipak:
 >
 > That's a question for your operating system. I can change file times 
to whatever I want via the TotalCommander file browser. There are 
probably others.

Isn't removing existing output files samely a question for the OS?

But for convenience FFmpeg CLI provides option `-y` for this task, so 
why not thinking about conveniently preserving file times by FFmpeg CLI?





More information about the ffmpeg-user mailing list