DanRuta / xVA-Synth

Machine learning based speech synthesis Electron app, with voices from specific characters from video games
GNU General Public License v3.0
590 stars 54 forks source link

ffmpeg: MP3 format crash with Deesing #61

Open Pendrokar opened 7 months ago

Pendrokar commented 7 months ago

By default, the Deesing setting is set to 0.1. This makes ffmpeg go into a fatal error and display the pop-up: Output ./resources/app/output/temp-16335802487988227_ffmpeg.mp3 same as Input #0 - exiting FFmpeg cannot edit existing files in-place.

This part of the code is at fault, as it expects WAV. https://github.com/DanRuta/xVA-Synth/blob/master/python/audio_post.py#L81

Pendrokar commented 7 months ago

Workaround: Either use WAV format or set Deesing to zero within xVASynth settings.

Pendrokar commented 6 months ago

_audiopost.py seems to require a development environment for code changes to take affect.