You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ComfyUI-VideoHelperSuite\videohelpersuite\utils.py", line 172, in get_audio
match = re.search(', (\d+) Hz, (\w+), ',res.stderr.decode('utf-8'))
^^^
UnboundLocalError: cannot access local variable 'res' where it is not associated with a value
How to fix it.
The text was updated successfully, but these errors were encountered:
The prior implementation made a best effort to continue in the event of
an error, but immediately threw an error afterwards since there was no
output from the subprocess.
As get_audio isn't called until the audio connection from a Load Video
is used, it's safe to raise an exception here and properly expose the
error message from ffmpeg as is done elsewhere.
See #250
The prior implementation made a best effort to continue in the event of
an error, but immediately threw an error afterwards since there was no
output from the subprocess.
As get_audio isn't called until the audio connection from a Load Video
is used, it's safe to raise an exception here and properly expose the
error message from ffmpeg as is done elsewhere.
See Kosinkadink#250
ComfyUI-VideoHelperSuite\videohelpersuite\utils.py", line 172, in get_audio
match = re.search(', (\d+) Hz, (\w+), ',res.stderr.decode('utf-8'))
^^^
UnboundLocalError: cannot access local variable 'res' where it is not associated with a value
How to fix it.
The text was updated successfully, but these errors were encountered: