[FFmpeg-devel] [PATCH] avcodec/libspeexdec: initialize channels

hu heng heng.hu.1989 at gmail.com
Sat Jul 16 13:33:11 EEST 2022


Thanks for your advice.
But native speex decoder also has its own issue when decoding speex packet
which contains multiple frames.

ffmpeg -i someaudio -ac 1 -ar 16000 -c:a libspeex  -frames_per_packets 3 -f
flv xx.flv
ffplay xx.flv

native speed decoder only get the first frame of every packet as speex in
flv has no header.

so I prefer use  libspeexdec as an alternative before the native speex
decoder issue is fixed and send this patch for libspeexdec.

Paul B Mahol <onemda at gmail.com> 于2022年7月16日周六 15:24写道:

> use native decoder
>


More information about the ffmpeg-devel mailing list