rafael2k / darkice

DarkIce is a live audio streamer. It records audio from an audio interface (e.g. sound card), encodes it and sends it to a streaming server. This is the official development repository of Darkice.
http://www.darkice.org
198 stars 46 forks source link

aacplus not working on Ubuntu 20.04.2 LTS #169

Open 1opeti opened 3 years ago

1opeti commented 3 years ago

I have managed to compile darkice-v.14. Applied a patch to get around some compile issues. It works encoding mp3 on Ubuntu 20.04.2 LTS the aacplus codec is not working and appears to be hard coded at 22050 exploring earlier versions

Using config file: /etc/darkice.cfg 15-Feb-2021 21:32:31 Using ALSA DSP input device: default 15-Feb-2021 21:32:31 buffer size: 882000 15-Feb-2021 21:32:31 encoding 15-Feb-2021 21:32:31 scheduler high priority 99 15-Feb-2021 21:32:31 Using POSIX real-time scheduling, priority 3 15-Feb-2021 21:32:31 HTTP/1.0 200 15-Feb-2021 21:32:31 Using aacplus codec 15-Feb-2021 21:32:31 nChannelsAAC 2 15-Feb-2021 21:32:31 sampleRateAAC 22050 15-Feb-2021 21:32:31 inSamples 4096 15-Feb-2021 21:32:31 MultiThreadedConnector :: transfer, bytes 0 15-Feb-2021 21:32:31 MultiThreadedConnector :: ThreadData :: threadFunction, was (thread, priority, type): 0x55c683b56b70 3 SCHED_FIFO 15-Feb-2021 21:32:31 MultiThreadedConnector :: ThreadData :: threadFunction, now is (thread, priority, type): 0x55c683b56b70 1 SCHED_FIFO Segmentation fault