Opened 10 years ago

#1600 new defect

MEncoder continues to encode when it can't write out

Reported by: bahamutzero8825@… Owned by: reimar
Priority: normal Component: core
Version: unspecified Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

I'm using MEncoder r29355 on Windows Vista

Occasionally, I run out of space unexpectedly during an encode. When this happens, MEncoder will continue to run as if nothing were wrong (and if I'm not mistaken, it will exit with success when the encode is finished). The encoded audio and video are basically thrown away and if I clear space during the encode, new bits will be written, but there are missing frames and sync problems. At a minimum, MEncoder should exit with an I/O error message stating it can't write out. The time and CPU cycles spent on the encode will have been wasted, but at least MEncoder will not continue to waste time and resources. A better solution would be to have MEncoder pause the encode when disk space is about to run out and wait for input from the user (e.g. a keystroke) before resuming.

This is reproducible 100% of the time.

Change History (0)

Note: See TracTickets for help on using tickets.