Skip to content
Advertisement

Tag: espeak

subprocess.call can not send stdout to ffmpeg

My code is python. It call espeak command to generate .wav audio. Then call ffmpeg to convert wav to mp3. But this command can not send stdout from espeak to ffmpeg via subprocess.call of python: The example: What is the mistake? How can I do? Answer The pipeline you wrote is handled by the shell, and won’t work (as written)

Advertisement