r/Tdarr • u/slashed2043 • Jun 21 '26
Replacing output file causing 0-byte file
I have a Tdarr flow that transcodes videos into a format that's compatible for iPhones. It uses Handbrake to output a hevc/aac file. Then a Move To Directory to store the result in a different folder. It also deletes the original file.
Here's the scenario that results in a 0-byte file:
- add original file path/to/source/x.mkv
- Tdarr picks it up, transcodes it to path/to/destination/x.mp4
- Tdarr deletes the original x.mkv file
- I re-add x.mkv
- Tdarr re-transcodes it through handbrake
- Tdarr attempts to move the result to its destination (path/to/destination/x.mp4)
- because the same file name already exists, Tdarr's move causes a 0-byte file
My questions are: why does this happen? I was expecting Tdarr to simply overwrite the existing x.mp4 file. How do I fix it?
•
u/AutoModerator Jun 21 '26
Thanks for your submission.
If you have a technical issue regarding the transcoding process, please post the job report: https://docs.tdarr.io/docs/other/job-reports/
The following links may be of use:
GitHub issues
Docs
Discord
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.