#ffmpeg usage from esphome

1 messages · Page 1 of 1 (latest)

neat condor
#

Hello, Does ffmpeg_proxy need to be configured in configuration.yaml in order for esphome to use the transcoding features ie I'm currently trying to get the AAC radio stations working I believe they need to be transcoded to MP3.

neat condor
#
homeassistant:/config# whereis ffmpeg
ffmpeg: /usr/bin/ffmpeg /usr/share/ffmpeg
homeassistant:/config# ffmpeg -i INPUT -an -f null -
ffmpeg version 6.1.2 Copyright (c) 2000-2024 the FFmpeg developers
 built with gcc 14.2.0 (Alpine 14.2.0)
 configuration: --prefix=/usr --disable-librtmp --disable-lzma --disable-static --disable-stripping --enable-avfilter --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libmp3lame --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librav1e --enable-librist --enable-libsoxr --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-lto=auto --enable-lv2 --enable-openssl --enable-pic --enable-postproc --enable-pthreads --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-vulkan --optflags=-O3 --enable-libjxl --enable-libsvtav1 --enable-libvpl
 libavutil      58. 29.100 / 58. 29.100
 libavcodec     60. 31.102 / 60. 31.102
 libavformat    60. 16.100 / 60. 16.100
 libavdevice    60.  3.100 / 60.  3.100
 libavfilter     9. 12.100 /  9. 12.100
 libswscale      7.  5.100 /  7.  5.100
 libswresample   4. 12.100 /  4. 12.100
 libpostproc    57.  3.100 / 57.  3.100
[in#0 @ 0x76c0d6867940] Error opening input: No such file or directory
Error opening input file INPUT.
Error opening input files: No such file or directory

This is running in HA docker

tight cairn
neat condor
#

It seems it was an issue with the radio station link for some reason. I was trying to debug a hardware codec I was coding for esphome it's transcoding fine with the HA ffmpeg_proxy but a few stations were not working. I just wanted to see how to get the debug log for it on the HA side but seems like it doesn't exist.

#

Music Assistant will probably work. Alas I was trying to test the HA built in ffmpeg_proxy transcoder.

#

Do you know how to get the debug information from HA ffmpeg_proxy?

tight cairn
#

i do not, maybe someone else will jump in but realistically if music assistant works then thats probably the best solution