You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Prevent duplicate output paths and possible data loss #81
Two source files with the same stem can resolve to one output path, allowing one conversion to overwrite another.
Reproduce: add /A/clip.mov and /B/clip.mkv, keep their derived names, choose one output directory and the same output container, then queue both files.
Expected: Frame assigns distinct output paths or reports the conflict before conversion starts.
Actual: both tasks resolve to /exports/clip_converted.mp4.
The output name is derived from the filename stem, while every selected task receives the same output directory. The final path builder therefore receives identical names for these two inputs. FFmpeg is also invoked with -y, so sequential jobs can overwrite an earlier result and concurrent jobs can race over the same file.
Source media: distinct files named clip.mov and clip.mkv; media contents are not needed to reproduce path construction
FFmpeg logs: N/A; the collision is reproduced before process launch
Actual screenshot
A focused regression assertion builds both tasks through Frame's current task and output-path functions. It fails because the left and right paths are identical:
Suggested acceptance criteria
Detect collisions across all tasks in a batch before launching FFmpeg.
Produce deterministic unique paths or ask the user to resolve the conflict.
Cover same-stem files from different directories and different source extensions.
Avoid changing the normal output name for a single non-conflicting file.
Activity
66HEX commentedon Jul 17, 2026
Fixed in ef549a3
This fix will be included in the next release 😁
Kevinjohn commentedon Jul 17, 2026
Awesome!
I had an idea sketched out, but with it being an architectural decision, didn't want to overstep or spam PRs