I'm trying to transcribe MP3s and having some problems. I'm using the WavFile demo, and I installed the Titronis MP3 plugin. Now when I run the demo it gives no error, but also produces no result.
One thing I notice is that my Sphinx sees the file as
"MPEG (.mpeg) file, data format: MPEG2L3 16000.0 Hz, unknown bits per sample, mono, unknown frame size, unknown frame rate,"
and stops there (with a trailing comma), without reporting the endian type or frame length.
Did I miss some step, or are my MP3 files bad? I used Windows Sound Recorder to convert compliant .WAV files to 16kHz MP3s, but I don't know much about audio so I could be missing something pretty basic and not know it.
Thanks in advance for any help.
Carl
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You were right- my problem was with the plugin- I had not installed it correctly. I downloaded the jlGui player and it wouldn't play any of my MP3 files. After fixing the plugin, now the player will happily play all my files. But Sphinx still produces an empty result for the MP3 version of a file, where the WAV version works fine.
This is with the WaveFile demo, but the code looks like it should work for MP3s as well as WAVs once Java can support the format. Is this assertion accurate?
The runtime output from Sphinx now displays the frame rate but still stops early:
"MP3 (.mp3) file, data format: MPEG2L3 16000.0 Hz, unknown bits per sample, mono, unknown frame size, 27.777779 frames/second,"
Note that the output still stops with a comma, and doesn't show the endian type or frame length. Maybe it's time to find a Java debugger and step through it?
Any other suggestions or insights would be appreciated!
Thanks,
Carl
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm trying to transcribe MP3s and having some problems. I'm using the WavFile demo, and I installed the Titronis MP3 plugin. Now when I run the demo it gives no error, but also produces no result.
One thing I notice is that my Sphinx sees the file as
"MPEG (.mpeg) file, data format: MPEG2L3 16000.0 Hz, unknown bits per sample, mono, unknown frame size, unknown frame rate,"
and stops there (with a trailing comma), without reporting the endian type or frame length.
Did I miss some step, or are my MP3 files bad? I used Windows Sound Recorder to convert compliant .WAV files to 16kHz MP3s, but I don't know much about audio so I could be missing something pretty basic and not know it.
Thanks in advance for any help.
Carl
You were right- my problem was with the plugin- I had not installed it correctly. I downloaded the jlGui player and it wouldn't play any of my MP3 files. After fixing the plugin, now the player will happily play all my files. But Sphinx still produces an empty result for the MP3 version of a file, where the WAV version works fine.
This is with the WaveFile demo, but the code looks like it should work for MP3s as well as WAVs once Java can support the format. Is this assertion accurate?
The runtime output from Sphinx now displays the frame rate but still stops early:
"MP3 (.mp3) file, data format: MPEG2L3 16000.0 Hz, unknown bits per sample, mono, unknown frame size, 27.777779 frames/second,"
Note that the output still stops with a comma, and doesn't show the endian type or frame length. Maybe it's time to find a Java debugger and step through it?
Any other suggestions or insights would be appreciated!
Thanks,
Carl
I would think that the tritonus plugin is the reason for the problem. Maybe it does not support not all types of MP3s (VBR, nonVBR, etc.)?
-Holger