mkvmerge could not be found on system error message when set_duration is large, works fine when set_duration is small #164
When the duration is decreased on the video_manager (tested a 20 second duration) the split_video_mkvmerge method works fine. Furthermore, the output of the is_mkvmerge_available() shows as True.
Here are the contents of the two python files:
Error Received after running main.py
The text was updated successfully, but these errors were encountered:
When you cut it into 4 portions, I think mkvmerge will produce "extras" at the cutoffs, correct? If so, I'll need to figure out how to manage & rename these temporary files - but this is technically possible.
Not sure if it's worth the effort to address though if it's so infrequent and the workaround is obvious (e.g. detect it and tell the user to to just do it manually as you did and run mkvmerge X times, and I would need to add a line in the new FAQ page I'm writing)... I'll give it some thought.
Thank you so much for the thorough report and investigation!
I've updated the code now to properly detect & provide an error message when this occurs. I'll also add an entry in the FAQ explaining why this occurs and how users can overcome it.
I'd rather not have to actually deal with creating/deleting temporary files as that might incur some risks with respect to code maintenance, so I think so long as the correct message is delivered, that should address the real issue here (and informs people that they can just invoke mkvmerge or ffmpeg themselves with a smaller sub-set of scenes to be cut).
Basically, when this happens now, you will see:
If you're okay with that as a "fix" for this issue, then I'll resolve this after hearing back from you and push it as part of the v0.5.4 release. Thanks again for the report.