I have a process that receives a video file (RAW) and transcodes it with FFMPEG generating three (different resolutions) resultant files. I'm using a distributed task queue system (Celery) to process every process from FFMPEG in a different asynchronous task.
The three tasks run, according to the flow
- Convert video
- Upload result to a bucket in cloud
- Delete result
And a last task upload the RAW video (used for transcoding) to bucket, and delete it.
If I start the three tasks asynchronously, and delete the RAW file just after, will the tasks (that are using the RAW file) be interrupted by deleting the file?
PS: I assuming that, the RAW file is loaded in memory, and opened three times, while the transcoding task were started.