Avidemux Forum

Avidemux => Windows => Topic started by: KotCzarny on August 09, 2022, 04:35:19 PM

Title: BUG: misleading error message when out of disk space
Post by: KotCzarny on August 09, 2022, 04:35:19 PM
avidemux 2.8.1-220802

i was trying to save edited file (as .ts), then window popped that "the saved video is incomplete. ... this may be a result of invalid time stamps in the video". i have wasted good 2h trying to debug the problem, cutting with ffmpeg, etc. then i've noticed that destination drive ran out of free space. i hope this helps to improve avidemux
Title: Re: BUG: misleading error message when out of disk space
Post by: eumagga0x2a on August 09, 2022, 10:03:27 PM
The keyword is "may". The error message doesn't state that invalid timestamps are the reason.

I agree that we should include the human-readable description of the error code returned by libavformat. The user will get probably "I/O error" when disk is full. This is as good as it gets with FFmpeg libraries at the core.
Title: Re: BUG: misleading error message when out of disk space
Post by: KotCzarny on August 10, 2022, 05:52:58 AM
even non-human readable might do. also it might be sensible to add '- there may not be enough free disk space' to the popup if it's one of the reasons
Title: Re: BUG: misleading error message when out of disk space
Post by: eumagga0x2a on August 10, 2022, 12:39:49 PM
Should be fixed now: [1] (https://github.com/mean00/avidemux2/commit/a819f85d702ba5f736ce1ca751dd1acb73b583cf) + [2] (https://github.com/mean00/avidemux2/commit/975d81c679ed12a6aebf7f6ec59c20d9923ae786).