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.49k stars 228 forks source link

Error: Unable to create file 'output/sonnet.words.aud' #216

Closed jarodtang closed 5 years ago

jarodtang commented 5 years ago

I was trying to enable mfcc by following command, but failed, could you tell how to fix?

python -m aeneas.tools.execute_task --example-words --presets-word tlp/c4.mp3 tlp/ch4.mplain "task_language=eng|os_task_file_format=srt|is_text_type=plain" tlp/ch4.srt [INFO] Preset for word-level alignment [ERRO] Unable to create file 'output/sonnet.words.aud' [ERRO] Make sure the file path is written/escaped correctly and that you have write permission on it

readbeyond commented 5 years ago

Hi, first of all, if you use "--example-words", it will run the built-in input files of that example, not your input files, so you probably want to remove "--example-words" from your command line.

The error "unable to create file ..." probably means that you do not have a directory "output" as child of your current working directory. As noted above, "output/sonnet.words.aud" is the sync map output file of the built-in example "--example-words".

jarodtang commented 5 years ago

thanks, got it