[FFmpeg-user] libspeex to wav pipe

Haarman haarman at gmail.com
Wed May 21 20:27:32 CEST 2014


I had a working pipe in which I converted a libspeex stream to wav. After
reinstalling my PC with Kubuntu 14.04 it does not work anymore ( I used
latest git version of ffmpeg). This was the command:
| stdbuf -i0 -o0 ffmpeg -analyzeduration 0 -probesize 32 -acodec libspeex
-i - -f s16le - |

this is the first error:
[NULL @ 0x2586a40] Specified probe size value 32 cannot be < 2048
pipe:: Invalid argument

The value 32 used to work and is also specified in the docs. Anyone knows
what causes this to fail?
When I change that to 2048 I now get the errors:
[libspeex @ 0x1e03980] Invalid sample rate: 0
Decoding as 32kHz ultra-wideband
[libspeex @ 0x1e03980] Invalid channel count: 0.
Decoding as stereo.
Input #0, flv, from 'pipe:':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Audio: speex, 5512 Hz, mono, s16
[libspeex @ 0x1e03980] Invalid sample rate: 5512
Decoding as 32kHz ultra-wideband
Output #0, s16le, to 'pipe:':
  Metadata:
    encoder         : Lavf55.33.100
    Stream #0:0: Audio: pcm_s16le, 5512 Hz, mono, s16, 88 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (libspeex -> pcm_s16le)
[libspeex @ 0x1e03980] This decoder does not support parameter changes, but
PARAM_CHANGE side data was sent to it.
[libspeex @ 0x1e03980] Error applying parameter changes.

And it is playing the stream much to slow.

On 13.10 this all worked fine. any suggestions?

hm


More information about the ffmpeg-user mailing list