NickTiny / blender-rhubarb-2d-lipsync

Blender Rhubarb 2D Lipsync is an addon for Blender integrating Rhubarb Lip Sync to animate 2D Mouths via Integer Properties.
15 stars 1 forks source link

Error!!! Json Decoder #9

Closed ctrackim closed 10 months ago

ctrackim commented 1 year ago

When click the button "Rhubarb lipsync" in Blender I get the following error message "Error!!! Json Decoder". Any ideas if I am doing something incorrect?

GuillaumeGTHB commented 1 year ago

Same for me...

NickTiny commented 1 year ago

Hello @ctrackim and @GuillaumeGTHB,

In my testing this error message comes up when the sound file is encoded incorrectly, or the specific codec/container isn't supported by rhubarb. You can use the test files linked in the readme to test the application is working correctly on your machine.

This Error!!! Json Decoder comes from the source project that I forked, so this is a good opportunity to improve it.

To make this simpler, I have have already merged a new PR to improve error messages and to catch bad sound files in this latest release https://github.com/NickTiny/blender-rhubarb-2d-lipsync/releases/tag/v4.0.2 so if your sound file is incorrect the application should clearly tell you that.

Can you try this new version out and let me know if it fixes your issue?

AlesJelovcan commented 10 months ago

In my case this error showed when trying to work with MP3. Changing to WAV solved it.