- edited description
flv_size / mp4_size comparison is a little too sensitive
Issue #40
resolved
When downloading short episodes that compress well the code:
common.py
if abs(flv_size - mp4_size) < 0.1 * flv_size:
os.unlink(infile)
return True
else:
logging.error("The size of %s is suspicious, did the remux fail?", outfile)
return False
is just a little bit too sensitive. Chaning 0.1 to 0.2 fixes the issue.
the ABC's "Hey Duggee S01E08" is an example.
Comments (3)
-
reporter -
repo owner This should be fixed, now it uses the duration as reported by
ffprobe
:) -
repo owner - changed status to resolved
- Log in to comment