Streaming raspberry pi darkice缓冲区溢出
我想和Darkice一起做流媒体。控制台显示:Streaming raspberry pi darkice缓冲区溢出,streaming,audio-streaming,raspberry-pi,raspbian,Streaming,Audio Streaming,Raspberry Pi,Raspbian,我想和Darkice一起做流媒体。控制台显示: root@raspberrypi:~# darkice Using config file: /etc/darkice.cfg Using ALSA DSP input device: hw:1,0 Using POSIX real-time scheduling, priority 98 Buffer overrun! Buffer overrun! ... Buffer overrun! Buffer overrun! DarkIce: Als
root@raspberrypi:~# darkice
Using config file: /etc/darkice.cfg
Using ALSA DSP input device: hw:1,0
Using POSIX real-time scheduling, priority 98
Buffer overrun!
Buffer overrun!
...
Buffer overrun!
Buffer overrun!
DarkIce: AlsaDspSource.cpp:265: Input/output error [0]
root@raspberrypi:~#
我使用:
- 树莓皮B
- Raspbian软浮动Debian“喘息”(我需要使用Java进行其他操作)
- Darkice 1.2
[general]
duration = 0
bufferSecs = 1
reconnect = yes
[input]
device= hw:1,0
sampleRate = 44100
bitsPerSample = 16
channel= 2
[shoutcast-0]
bitrateMode = cbr
bitrate = 56
format = mp3
quality = 1.0
...
设备hw:1,0是正确的,因为当我使用Audacity时,我记录良好
我遵循这个指示:。。。越橘皮/
但问题依然存在
我看到其他帖子都在谈论这个问题,但没有任何帮助
有什么想法吗?我能做什么?这可能属于超级用户,而不是堆栈溢出。我能够使用Darkice,通过USB卡和Wolfson Pi卡,在Pi上成功地流式传输到Icecast2和Shoutcast。我确实关掉了所有我能关掉的服务。播放mp3和aac。
cd ..
tar -zxvf libaacplus-2.0.2.tar.gz
cd ./libaacplus-2.0.2/
apt-get install autoconf #I need the utility "autoconf" for the installation
apt-get install libtool #and the library "libtool"
./autogen.sh
./configure
make
make install
cd ..
tar -zxvf lame-3.99.5.tar.gz
cd ./lame-3.99.5/
./configure
make
make install
wget http://www.mega-nerd.com/SRC/libsamplerate-0.1.8.tar.gz
tar -zxvf darkice-1.2.tar.gz
cd ./libsamplerate-0.1.8
./configure
make
make check
make install
ldconfig -v
sndfile-resample
cd ..
tar -zxvf darkice-1.2.tar.gz
cd ./darkice-1.2/
apt-get install libasound2-dev
./configure --with-vorbis-prefix=/usr/local/lib/ --with-lame-prefix=/usr/local/lib/ --with-aacplus-prefix=/usr/local/lib/ --with-alsa-prefix=/usr/lib/arm-linux-gnueabi/ --with-samplerate-prefix=/usr/local/lib --with-jack-prefix=/usr/lib/arm-linux-gnueabi/
make
make install
[general]
duration = 0
bufferSecs = 1
reconnect = yes
[input]
device= hw:1,0
sampleRate = 44100
bitsPerSample = 16
channel= 2
[shoutcast-0]
bitrateMode = cbr
bitrate = 56
format = mp3
quality = 1.0
...