If scanning directory of mp4/mkv files with final container to be mp4. If video file contains a surround sound channel, ffproc adds a second 2 channel file to the working copy as expected, then moves temp file over the original video file if original container was mp4 and proceeds to remove the original file. The end result is original video file is deleted. I added check into worker.py to ensure infile and outfile are not same before removal. This worked for my use case. I wanted to ensure fix was reported.
Below is the modified lines added to worker.py at line 35:
if torun.infile != torun.outfile:
os.remove(torun.infile)
If scanning directory of mp4/mkv files with final container to be mp4. If video file contains a surround sound channel, ffproc adds a second 2 channel file to the working copy as expected, then moves temp file over the original video file if original container was mp4 and proceeds to remove the original file. The end result is original video file is deleted. I added check into worker.py to ensure infile and outfile are not same before removal. This worked for my use case. I wanted to ensure fix was reported.
Below is the modified lines added to worker.py at line 35: if torun.infile != torun.outfile: os.remove(torun.infile)