tomaszzmuda / Xabe.FFmpeg

.NET Standard wrapper for FFmpeg. It allows to process media without know how FFmpeg works, and can be used to pass customized arguments to FFmpeg from dotnet core application.

Home Page:https://xabe.net/product/xabe_ffmpeg/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mitigation of file modification during execution

djon2003 opened this issue · comments

Shall the code be protected against modification of a file meanwhile executing?

One example:
Xabe.FFmpeg.FFprobeWrapper:154 If the file is renamed before executing this line than then "infos.format" is null. It could also happen if it is on network share that is not more available, file deleted, etc.

What I mean by protection is not throwing NullException when the real reason is file no more exist.

What do you think about that?