Audio Conversion sox WARN wav: Premature EOF on .wav input file

I have a .wav file that has the following properties

file.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 48000 Hz

And I am trying to use sox to modify the file as following

single-channel, 8000 Hz, 16-bit encoding PCM format

below is the code I used

sox -b 16 -c 1 -r 8k -t wav file.wav out.wav

However I keep getting

sox WARN wav: Premature EOF on .wav input file

How do I safely make this convertion? Because the length of the output doesn't match the original file.

Length (seconds):    175.103771

and after conversion

Length (seconds):    175.103750


from Recent Questions - Stack Overflow https://ift.tt/3kR0OVU
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation