I am trying to do a little thing for practice. So, I'm trying to send POST request to google speech recognizer. I have a .wave file that is encoded to .flac with FLACFileEncoder with following code
FLAC_FileEncoder encoder = new FLAC_FileEncoder();
encoder.encode(new File("test.wav"), new File("test.flac"));
But google won't accept it and i don't know why. BUT if I use some kind of online converters(http://www.freefileconvert.com/ for example), it's OK.
Where I did wrong? Thanks for the help.
Last edit: Goringo 2014-01-11
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello.
I am trying to do a little thing for practice. So, I'm trying to send POST request to google speech recognizer. I have a .wave file that is encoded to .flac with FLACFileEncoder with following code
But google won't accept it and i don't know why. BUT if I use some kind of online converters(http://www.freefileconvert.com/ for example), it's OK.
Where I did wrong? Thanks for the help.
Last edit: Goringo 2014-01-11