I had a lot of trouble getting gstreamer to work on Mac OS X which pinnacled in
the fact that it refused to get a wav of an h264 AAC video. What I did in the
end was to replace the subprocess call in file_2_wav (fm.py:79) using the
following command:
utils.start_subprocess("ffmpeg -i '" + filename
+ "-vn -acodec pcm_s16le -ar 16000 -ac 1 -f wav " + name + ".wav ")
which spits out a wav coded correctly as demanded in the doc.
Hence I recommend using ffmpeg instead of gstreamer in future versions. Ffmpeg
is widely available for the systems voiceid supports. Unless there are some
issues with the license, of course.
Original issue reported on code.google.com by
tokyo.t...@gmail.comon 14 Oct 2014 at 4:50