“cmu_sphinx4: eight one oh two one …”

Adventures of Huckleberry Finn by Mark Twain
~
http://www.gutenberg.org/ebooks/19640
~
chapter 36; from:
~
http://www.gutenberg.org/files/19640/m4b/19640-36.m4a
~
then I tried:
~
java -jar bin/Transcriber.jar /19640-36.m4a
~
but got:
~
Audio file format not supported: javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input URL
javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input URL
at javax.sound.sampled.AudioSystem.getAudioInputStream(AudioSystem.java:1153)
at edu.cmu.sphinx.frontend.util.AudioFileDataSource.setAudioFile(AudioFileDataSource.java:150)
at edu.cmu.sphinx.demo.transcriber.Transcriber.main(Transcriber.java:48)
Exception in thread "main" java.lang.NullPointerException
at edu.cmu.sphinx.frontend.util.AudioFileDataSource.setInputStream(AudioFileDataSource.java:178)
at edu.cmu.sphinx.frontend.util.AudioFileDataSource.setAudioFile(AudioFileDataSource.java:162)
at edu.cmu.sphinx.demo.transcriber.Transcriber.main(Transcriber.java:48)
~
then I checked what type of file it was and converted it to a wave file:
~
$ ffmpeg -i 19640-36.m4a 19640-36_02_ffmpeg.wav
ffmpeg version 0.8.2-6:0.8.2-2, Copyright (c) 2000-2011 the Libav developers
built on May 16 2012 19:58:09 with gcc 4.7.0
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '19640-36.m4a':
Metadata:
major_brand : M4A
minor_version : 0
compatible_brands: M4A mp42isom
creation_time : 2006-10-18 23:54:22
title : Ch. 36
artist : Mark Twain
album : The Adventures of Huckleberry Finn
genre : Speech
track : 36/43
gapless_playback: 0
encoder : iTunes v7.0.0.70, QuickTime 7.1.3
comment : http://www.librivox.org
disc : 0
Duration: 00:12:27.45, start: 0.000000, bitrate: 17 kb/s
Stream #0.0(und): Audio: aac, 22050 Hz, mono, s16, 16 kb/s
Metadata:
creation_time : 2006-10-18 23:54:22
Output #0, wav, to '19640-36_02_ffmpeg.wav':
Metadata:
major_brand : M4A
minor_version : 0
compatible_brands: M4A mp42isom
creation_time : 2006-10-18 23:54:22
title : Ch. 36
artist : Mark Twain
album : The Adventures of Huckleberry Finn
genre : Speech
track : 36/43
gapless_playback: 0
disc : 0
comment : http://www.librivox.org
encoder : Lavf53.21.0
Stream #0.0(und): Audio: pcm_s16le, 22050 Hz, mono, s16, 352 kb/s
Metadata:
creation_time : 2006-10-18 23:54:22
Stream mapping:
Stream #0.0 -> #0.0
Press ctrl-c to stop encoding
size= 32190kB time=747.45 bitrate= 352.8kbits/s
video:0kB audio:32190kB global headers:0kB muxing overhead 0.000140%

$ ls -l
total 66064
-rw-r--r-- 1 knoppix knoppix 32962606 May 10 14:53 19640-36_02_ffmpeg.wav
-rw-r--r-- 1 knoppix knoppix 1640801 May 10 14:30 19640-36.m4a
-rw-r--r-- 1 knoppix knoppix 32962606 May 10 14:23 19640-36_media.io_.wav
~
$ date; java -jar bin/Transcriber.jar /19640-36_02_ffmpeg.wav; date
Fri May 10 14:57:02 UTC 2013
eight one oh two one
oh eight one eight one two oh zero seven zero eight one oh eight
one eight eight one one seven eight eight oh seven six
eight nine two seven oh eight one oh nine
nine eight six
two one four eight one oh nine one eight two seven oh one zero one oh nine two eight
eight oh eight one five one one two nine
two eight eight one eight eight one three one eight eight one oh nine eight one eight eight oh
seven eight eight nine one oh two eight one eight eight one eight one two three one eight
one
eight eight one oh eight oh seven
eight nine
nine eight three eight one oh one oh nine eight three eight eight three oh eight eight oh one oh eight two eight one two eight eight one eight one two
two one two eight one eight oh one two eight one eight oh oh eight one eight one
eight oh four oh eight eight one one eight nine eight zero
eight eight zero
eight oh eight one eight one eight two nine eight one oh nine eight eight
two eight oh two eight two eight oh nine nine oh eight eight three oh seven oh nine zero
eight eight one one eight eight oh one one oh eight eight oh eight seven
one one eight nine eight one one one one oh eight eight eight nine eight oh one eight eight one one eight one oh eight two eight eight
eight one nine eight five eight two one eight eight nine zero one eight oh two zero two nine eight eight oh nine eight eight
eight eight oh one oh nine nine
eight eight oh oh eight three one eight eight three eight eight
eight oh nine
eight eight
eight nine
nine nine two eight eight one oh
oh eight zero nine oh one eight two one one eight eight oh nine two eight one
eight oh eight eight one oh one eight oh
eight eight oh one eight eight oh two nine oh eight eight oh two eight eight eight oh oh one oh four
one eight one two eight eight one eight eight seven
two eight eight
eight eight nine
oh eight eight oh
eight oh eight

four eight eight three one
eight one
two eight eight
eight oh zero oh eight eight oh six oh two eight eight oh one six two one eight oh two nine eight four eight
zero three two one oh seven one nine oh one eight eight oh nine eight oh nine eight eight one oh
eight eight oh three two
seven two oh six nine eight eight
eight one oh eight eight two nine
eight oh one six one eight oh nine
eight oh nine six six one one six oh nine oh nine eight eight oh nine zero two one seven
nine nine eight eight three one eight eight three nine oh two three six
eight nine oh nine oh eight one eight one
eight oh one two seven
eight
three one eight seven one two nine two eight one eight eight one oh nine eight eight two nine two one oh
two eight one two oh two nine eight oh
eight seven eight eight nine oh nine eight two one eight eight oh one oh seven oh two seven eight one oh eight one two nine one eight nine
zero eight eight oh nine two eight one eight three nine eight oh one oh eight eight one one eight eight eight oh eight four
eight oh nine eight oh one seven eight eight oh one oh eight eight one one eight eight one one eight
oh one one six nine eight two eight
nine eight
eight four nine two
eight eight nine oh
nine eight eight oh nine oh eight eight one eight eight three oh eight oh two nine oh nine oh nine eight
eight one eight zero eight one oh eight eight three one eight one eight
two one eight one eight oh seven one two nine two one eight one eight eight
eight oh seven oh seven oh three nine eight oh six zero seven
two nine two one oh two eight three eight oh eight eight two eight oh nine eight oh one seven eight one eight one eight oh five
nine eight three oh nine one eight one one eight one four oh one eight oh eight eight eight two eight one oh nine eight three two nine two eight
eight one oh eight one eight eight two eight
oh nine oh eight eight eight oh nine oh nine eight one eight one
two one oh eight eight one two eight eight
two nine two nine eight oh nine oh eight eight oh one one oh eight eight one oh one eight two oh eight two one two oh
eight two eight three oh six oh eight eight oh two eight eight two three one oh
two one oh one oh zero eight eight oh two eight eight one two eight one three oh eight
one three one eight one oh one two three nine eight one eight oh nine eight one oh two one eight eight oh one
eight oh nine oh eight eight three oh zero two two one seven eight oh nine two zero two oh eight oh two one eight
oh nine one four eight nine oh two six zero nine one seven eight eight oh one oh eight six nine oh two
two one eight three
eight eight oh two eight eight
nine seven oh one eight eight oh seven eight nine one two seven oh eight eight eight two one two one oh
eight oh oh one eight two eight eight one one eight two two four one seven eight two eight eight nine zero nine oh six
nine six
oh nine eight one eight eight two oh six nine nine eight eight three oh eight nine three one eight oh eight two nine
eight zero
nine oh nine eight one oh
two nine eight eight oh
eight eight oh
eight eight oh
oh two nine oh
oh nine two eight eight two nine zero nine eight eight nine two eight oh one eight oh eight eight eight three one oh nine eight zero nine one oh eight oh zero nine six seven eight oh one
two nine oh eight eight two nine
eight oh nine six one eight eight one oh
two one eight oh nine one four two nine eight eight oh one
eight eight
Fri May 10 14:58:01 UTC 2013
$

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: