Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Include libspeex codec #75

Closed
titoudoc opened this issue Feb 1, 2024 · 11 comments
Closed

Request: Include libspeex codec #75

titoudoc opened this issue Feb 1, 2024 · 11 comments
Labels
enhancement New feature or request

Comments

@titoudoc
Copy link

titoudoc commented Feb 1, 2024

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
@titoudoc titoudoc added the bug Something isn't working label Feb 1, 2024
@hjdhjd hjdhjd added enhancement New feature or request and removed bug Something isn't working labels Feb 1, 2024
@hjdhjd
Copy link
Collaborator

hjdhjd commented Feb 1, 2024

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

@hjdhjd hjdhjd closed this as completed Feb 1, 2024
@hjdhjd hjdhjd changed the title libspeex codec Request: Include libspeex codec Feb 1, 2024
@titoudoc
Copy link
Author

titoudoc commented Feb 1, 2024

Ok thanks, should I submit an enhancement request ?

@hjdhjd
Copy link
Collaborator

hjdhjd commented Feb 1, 2024

Already took care of it. Thanks!

@n0rt0nthec4t
Copy link
Contributor

Any chance to update the build after all these months with libspeex? Not a major change to include the library in the build

@hjdhjd
Copy link
Collaborator

hjdhjd commented Sep 30, 2024

PRs are always welcome. The builds will be updated when time allows for it...it's not a trivial process, timewise.

TL;DR: always a chance. They'll be updated as time allows.

@n0rt0nthec4t
Copy link
Contributor

Ok.. just testing one now, including bumping to ffmpeg 6.1.2

@hjdhjd
Copy link
Collaborator

hjdhjd commented Sep 30, 2024

Enjoy. It’s harder than it looks. 😄

@n0rt0nthec4t
Copy link
Contributor

#80

@n0rt0nthec4t
Copy link
Contributor

Completed under 04cee63

@hjdhjd
Copy link
Collaborator

hjdhjd commented Oct 2, 2024

Included in v2.1.2. Thanks for the contributions.

@n0rt0nthec4t
Copy link
Contributor

No worries. Thanks for the fast version release update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants