[FFmpeg-user] How to preserve file time

Reindl Harald h.reindl at thelounge.net
Mon Aug 19 19:47:24 EEST 2024



Am 19.08.24 um 17:40 schrieb James Ralston:
> On Mon, Aug 19, 2024 at 6:41 AM Reindl Harald <h.reindl at thelounge.net> wrote:
> 
>> Am 19.08.24 um 07:56 schrieb James Ralston:
>>
>>> The fact that ffmpeg does it this way [queries for the existence
>>> of the output file itself) is a bug (albeit perhaps one of
>>> convenience, since ffmpeg supports more operating systems than just
>>> Unix/Linux)
>>
>> it doesn't at all
>> with "-y" it just opens the file and that's it
> 
> I don’t understand what you’re attempting to refute

that this while disussion is as braindead as Ulf

it don't matter what sepcific implementation is used - the point is it 
don't need additional operations to overwrite a file becaus eit donÄt 
make a differnence if it already exists

ffmpeg don't need ANYTHING to do for it

read the timestamp from the input file and set it to the output file 
would be a active operation

overwrite a file isn't - the only active operation is the warning and 
aboort when you don#t specify "-y" but has NOTHING to do with manipulate 
filestamps

do it in your script - not a job for ffmpeg
wrtite the output file is a job of ffmpeg


More information about the ffmpeg-user mailing list