Open maciekpoplawski opened 1 year ago
I suspect that the default setting for video codec simply is not supported by some platforms for some reason. But good to know that it is at least fixable. I will take a look at what could be done with that.
@volotat Quickly switched for avc1 and video is properly uploadable to whatsapp and video shows in the UI after generating! But....
Total progress: 15it [00:04, 4.01it/s]
Failed to load OpenH264 library: openh264-1.8.0-win64.dll
Please check environment and/or download library: https://github.com/cisco/openh264/releases
[libopenh264 @ 000001d0eb622140] Incorrect library version loaded
[ERROR:0@0.002] global cap_ffmpeg_impl.hpp:3049 open Could not open codec libopenh264, error: Unspecified error (-22)
[ERROR:0@0.002] global cap_ffmpeg_impl.hpp:3066 open VIDEOIO/FFMPEG: Failed to initialize VideoWriter```
Generated videos have some error in it. Cant upload them here on gh, cant upload them on WhatsApp. When i reconvert them in VLC to mp4 - they are OK. Original txt2vid generation file:
https://github.com/volotat/SD-CN-Animation/assets/54249329/a91ec7b3-1326-413b-b406-afe8c058080b
Fixed in VLC:
https://github.com/volotat/SD-CN-Animation/assets/54249329/fb9c5ff1-9960-4d4c-a7d5-fe6707127348