[FFmpeg-devel] [PATCH] avcodec: add native Speex decoder

Michael Niedermayer michael at niedermayer.cc
Tue Sep 21 21:47:57 EEST 2021


On Tue, Sep 21, 2021 at 12:33:40AM +0200, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavcodec/Makefile    |    1 +
>  libavcodec/allcodecs.c |    1 +
>  libavcodec/speexdata.h |  780 ++++++++++++++++++++
>  libavcodec/speexdec.c  | 1584 ++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 2366 insertions(+)
>  create mode 100644 libavcodec/speexdata.h
>  create mode 100644 libavcodec/speexdec.c

ffmpeg -i ~/tickets/2096/m.f4v out.wav

...
Error while decoding stream #0:1: Invalid argument
[speex @ 0x5642163fa400] get_buffer() failed
Error while decoding stream #0:1: Invalid argument
[speex @ 0x5642163fa400] get_buffer() failed
Error while decoding stream #0:1: Invalid argument
[abuffer @ 0x564216653980] Value inf for parameter 'time_base' out of range [0 - 2.14748e+09]
    Last message repeated 3 times
[abuffer @ 0x564216653980] Error setting option time_base to value 1/0.
[graph_0_in_0_1 @ 0x5642162e9a00] Error applying options to the filter.
Error reinitializing filters!
Error while filtering: Numerical result out of range
Finishing stream 0:0 without any data written to it.
[abuffer @ 0x56421656b500] Value inf for parameter 'time_base' out of range [0 - 2.14748e+09]
    Last message repeated 3 times
[abuffer @ 0x56421656b500] Error setting option time_base to value 1/0.
[graph_0_in_0_1 @ 0x5642162ea200] Error applying options to the filter.
Error configuring filter graph
Conversion failed!

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Avoid a single point of failure, be that a person or equipment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210921/40ce656e/attachment.sig>


More information about the ffmpeg-devel mailing list