that is a terrible bad idea and unlikely works
what should ffmpeg do with the output in the meantime?
hold it in memory since it can't write to the sourcefile

>> I do not want to create a new file and then delete the
>> old file and then rename the new file to the old file name

nosense, you don't need 3 steps

* ouput to temp-file
* atomic mv to the source name

that's also safe in case the conversion get interrupted and makes sure you damage the source file and is typicall a 1-liner "ffmpeg params && mv tmp sourcename"

Am 06.07.2015 um 11:51 schrieb Patrick Roelli:
Have you tried it?

2015-07-06 1:03 GMT+02:00 Dani A <[email protected]>:

I want to convert  files where the source and destination files are have
the same name and on the same folder.

Can FFMPEG allow that?
The command below and as you can see, I am using the same file name in
both the source and destination.

ffmpeg -i video.mp4 -c:a copy -c:v copy -movflags faststart video.mp4

  I do not want to create a new file and then delete the old file and then
rename the new file to the old file name

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to