readbeyond / aeneas

aeneas is a Python/C library and a set of tools to automagically synchronize audio and text (aka forced alignment)
http://www.readbeyond.it/aeneas/
GNU Affero General Public License v3.0
2.44k stars 218 forks source link

How to deal with "Segmentation fault" ? #261

Closed sunjianan9900 closed 3 years ago

sunjianan9900 commented 3 years ago

demos.zip

python -m aeneas.tools.execute_task 200828-143453104159_1.mp3 srt.txt "task_language=eng|os_task_file_format=json|is_text_type=plain" map.json

[INFO] Validating config string (specify --skip-validator to bypass)... [INFO] Validating config string... done [INFO] Creating task... [INFO] Creating task... done [INFO] Executing task... Segmentation fault

readbeyond commented 3 years ago

Please run with the verbose flag, and post its output. Also: what OS / version of python / version of aeneas are you running?

readbeyond commented 3 years ago

Your MP3 file is likely too long (1h38m) for the RAM available on your machine, likely the segmentation fault happens because the cdtw cannot allocate enough memory.