[FFmpeg-devel] [PATCH] Enable dash output to work when the output isn't a local file

Derek Buitenhuis derek.buitenhuis at gmail.com
Mon Jan 4 20:10:05 CET 2016

On 1/4/2016 6:05 PM, Ganesh Ajjanagadde wrote:
> Personally, I think it should be ok to use rename here for now,
> especially since even projects like Python had trouble with this
> aspect: https://bugs.python.org/issue8828. Someone with greater
> Windows expertise can then examine the validity of
> https://stackoverflow.com/questions/167414/is-an-atomic-file-rename-with-overwrite-possible-on-windows#,
> where there seems to be a lack of clarity, and perhaps make a better
> effort at an atomic rename operation for Windows.

Windows API can lock files from read/write by other procs, which may "emulated"
it... kinda. Probably a bad idea.

- Derek

More information about the ffmpeg-devel mailing list