2

When I tried:

sox file.wav -c 1 file.wav

I got:

sox WARN wav: Premature EOF on .wav input file

When I tried:

ffmpeg -i file.wav -ac 1 file.wav

I got:

[pcm_s16le @ 0x2997880] Invalid PCM packet, data has size 2 but at least a size of 4 was expected
Error while decoding stream #0:0: Invalid data found when processing input
1
  • 1
    Please always post the full, uncut command line output, not just the warnings or errors you think are relevant.
    – slhck
    Feb 2, 2015 at 6:35

1 Answer 1

2

The problem was in using the same file as input and output.

1
  • 1
    thanks, please accept your own answer. That was the problem
    – UserK
    Oct 5, 2017 at 13:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .