Closed majuss closed 2 years ago
I came across this issue yesterday, but managed to fix the audio thanks to this reply.
Just follow the installation steps for Ubuntu 18.04/20.04 and install gstreamer1.0-tools
and gstreamer1.0-pulseaudio
:
sudo apt-get install cmake libavahi-compat-libdnssd-dev libplist-dev libssl-dev \
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-libav \
gstreamer1.0-vaapi gstreamer1.0-plugins-bad
sudo apt-get install gstreamer1.0-tools gstreamer1.0-pulseaudio
Then rebuild and install the binary:
mkdir build
cd build
cmake ..
make
sudo make install
I ran the following command (using -ar gstreamer
) and audio worked like a charm.
rpiplay -n MyRpiPlay -a hdmi -ar gstreamer -l
我昨天遇到了這個問題,但由於此回复,我設法修復了音頻。
只需按照 Ubuntu 18.04/20.04 的安裝步驟進行安裝
gstreamer1.0-tools
和gstreamer1.0-pulseaudio
:sudo apt-get install cmake libavahi-compat-libdnssd-dev libplist-dev libssl-dev \ libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-libav \ gstreamer1.0-vaapi gstreamer1.0-plugins-bad sudo apt-get install gstreamer1.0-tools gstreamer1.0-pulseaudio
然後重建並安裝二進製文件:
mkdir build cd build cmake .. make sudo make install
我運行了以下命令(使用
-ar gstreamer
),音頻效果很好。rpiplay -n MyRpiPlay -a hdmi -ar gstreamer -l
This works sooooo good !! Thank you!
Latest raspbian on Pi 4/2 GB
So I started RPIplay in the following manner:
rpiplay -a hdmi
but I can't get any sounds to work. The output on my Mac is set correctly, a alsa test command is playing back audio on my TV.The logs show: