eheikes / tts

Tools to convert text to speech :books::speech_balloon:
Apache License 2.0
94 stars 19 forks source link

Throws error when running under Windows (ffmpeg) #9

Closed eheikes closed 7 years ago

eheikes commented 7 years ago

Trying to run the ffmpeg CLI throws an error:

C:\>aws-tts test.txt test.mp3
√ Reading text
√ Splitting text
√ Convert to audio (1/1)
× Combine audio
Error: ffmpeg returned an error (1)
    at ChildProcess.ffmpeg.on.code (C:\Users\Eric\AppData\Roaming\npm\node_modules\aws-tts\lib.js:160:25)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Socket.<anonymous> (internal/child_process.js:334:11)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:498:12)