python-video-converter icon indicating copy to clipboard operation
python-video-converter copied to clipboard

Exception when converting small videos even if the conversion worked

Open dumoulinj opened this issue 9 years ago • 0 comments

Hi,

When converting very small videos (for instance 2-3 seconds), the exception "Unknown ffmpeg error" is raised, because the yielded variable did not have the time to be set to True (I think). But the video has correctly been converted!

Line 493 of ffmpeg.py:

if not yielded:
    raise FFMpegConvertError('Unknown ffmpeg error', cmd,
         total_output, line, pid=p.pid)

dumoulinj avatar May 12 '15 07:05 dumoulinj