Closed doskebaby closed 3 weeks ago
Hi @doskebaby, the error happens because of the mkv extension which is currently not supported. I think it may work by just renaming the file such as a.mp4
since opencv would accept mkv files, but not sure about it.
Please refer to the source code down below for supported video formats https://github.com/plemeri/transparent-background/blob/22ab534b252b5c032b2b60eb9ec12a18ac4364d8/transparent_background/utils.py#L46
I guess your problem has been resolved since there's no further question. Closing the issue.
Thank you for your excellent and user-friendly project. I’m reporting an error that occurred in my environment. While it works fine with images, an error occurs when trying to make the video GreenBack. The path to FFmpeg is set correctly.
Windows 10 Home 22H2 19045.4412 NVIDIA-SMI 531.61 Driver Version: 531.61 CUDA Version: 12.1 Python 3.10.11