Answer the question
In order to leave comments, you need to log in
Why does ffmpeg not see sound cards when recording sound via php?
When running the script ffmpeg -f alsa -c:a pcm_s32le -channels 6 -i hw:1 -f segment -segment_time 3600 /storage/records/${name}_%06d.wav 2>&1
ffmpeg version
4.4-
static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 8 (Debian 8.3.0-6)
configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable- fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable- libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable -libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
libavutil 56.70.100 / 56.70.100
Libavcodec 58.134.100 / 58.134.100 Libavformat
58. 76.100 / 58. 76.100
Libavdevice 58. 13.100 / 58. 13.100
Libavfilter 7.110.100 / 7.110.100
Libswscale 5. 9.100 / 5. 9.100
libswressAMPEL
/ 3
9.100 / 55. 9.100
ALSA lib ../../../src/pcm/pcm_hw.c: 1829:(_snd_pcm_hw_open) Invalid value for card
[alsa @ 0x5d75dc0
] cannot open audio device hw: 1 (No such file or directory)
hw: 1: Input/output error
Found out that arecord -l does not see sound cards, how to win
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question