homebridge/ffmpeg-for-homebridge

Request: Include libspeex codec

titoudoc opened this issue · 3 comments

Describe The Bug:
Nestcam plugin error in homebrige : missing libspeex codec

To Reproduce:
Install ffmpeg-for-homebridge make Nest-cam pluggin work (prior error was saying FFMEG is missing).
Camera stream is visible but I can't send audio to the camera via iPhone microphone.
Error show in RED in log : This version of FFMPEG does not support the audio codec 'libspeex'. You may need to recompile FFMPEG using '--enable-libspeex' and restart homebridge.

Expected behavior:
Working bidirectionnal audio

ffmpeg output:

ffmpeg -version
ffmpeg version 6.0-homebridge-alpine-armv7l-static Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 12.2.1 (Alpine 12.2.1_git20220924-r10) 20220924
configuration: --enable-hardcoded-tables --enable-nonfree --enable-gpl --enable-hardcoded-tables --enable-hardcoded-tables --enable-openssl --enable-libdav1d --enable-libsvtav1 --enable-libx264 --enable-libxvid --enable-libvidstab --enable-libzimg --enable-lv2 --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libtheora --enable-libfdk-aac --enable-libwebp --enable-libsrt --disable-debug --disable-shared --enable-pthreads --enable-static --enable-version3 --extra-cflags='-I/build/workspace/include -I/build/workspace/include/lilv-0' --extra-ldexeflags=-static --extra-ldflags=-L/build/workspace/lib --extra-libs='-ldl -lpthread -lm -lz' --pkgconfigdir=/build/workspace/lib/pkgconfig --pkg-config-flags=--static --prefix=/build/workspace --extra-version=homebridge-alpine-armv7l-static
libavutil      58.  2.100 / 58.  2.100
libavcodec     60.  3.100 / 60.  3.100
libavformat    60.  3.100 / 60.  3.100
libavdevice    60.  1.100 / 60.  1.100
libavfilter     9.  3.100 /  9.  3.100
libswscale      7.  1.100 /  7.  1.100
libswresample   4. 10.100 /  4. 10.100
libpostproc    57.  1.100 / 57.  1.100

Screenshots:
Sans titre 2

Environment:

  • Operating System: cat /etc/os-release
    PRETTY_NAME="Raspbian GNU/Linux 12 (bookworm)"
    NAME="Raspbian GNU/Linux"
    VERSION_ID="12"
    VERSION="12 (bookworm)"
    VERSION_CODENAME=bookworm
    ID=raspbian
    ID_LIKE=debian
  • Homebridge version: 1.7.0
  • Node.js version: v20.11.0

This isn’t a bug but an enhancement request. Will look into it for future releases. Thanks for the request.

Ok thanks, should I submit an enhancement request ?

Already took care of it. Thanks!