Open WGrav01 opened 3 months ago
When sending a video, captioning it, uncaptioning it, and trying to caption it again, the command fails:
discord.app_commands.errors.CommandInvokeError: Hybrid command raised an error: Command 'caption' raised an exception: CMDError: Command ('ffmpeg', '-i', '/dev/shm/mediaforge/yxAOvEDM.png', '-i', '/dev/shm/mediaforge/cFJJjEtB.gif', '-filter_complex', '[0]format=pix_fmts=yuva420p[0f];[1]format=pix_fmts=yuva420p[1f];[0f][1f]vstack=inputs=2', '-c:v', 'png', '-fs', '1G', '-fps_mode', 'vfr', '/dev/shm/mediaforge/GrWtjORZ.mp4') failed.
traceback.txt
The gif was captioned as intended without throwing a traceback
1) send a gif as a discord link 2) run /caption on it 3) run /togif on the output 3) run /uncaption on the output 4) try running /caption again, exception gets thrown
Duplicate of https://github.com/reticivis-net/mediaforge/issues/241 with extra details, sorry, I will leave this open as there are some details missed in other requests.
Describe the bug
When sending a video, captioning it, uncaptioning it, and trying to caption it again, the command fails:
Traceback
traceback.txt
Expected Behavior
The gif was captioned as intended without throwing a traceback
Steps To Reproduce
1) send a gif as a discord link 2) run /caption on it 3) run /togif on the output 3) run /uncaption on the output 4) try running /caption again, exception gets thrown
Anything Else