I already reported this issue to the AzuraCast developers 
(https://github.com/AzuraCast/AzuraCast/issues/1459) but after some 
investigation, their project manager told me that probably there's something 
wrong in Liquidsoap so I should report the issue here.

On my VPS, I'm using AzuraCast suite and running a couple of radio stations, 
currently mainly for the purposes of testing and checking out what AzuraCast 
has to offer. All of my stations use Liquidsoap and ALMOST all audio formats 
work very well, except OPUS.

I noticed a strange problem with OPUS streams. There appears a distortion which 
makes them sound like they were badly resampled from 44100 Hz to 48000 Hz 
without proper filtering. I recorded a sample to illustrate the issue:

left channel: OPUS 192kbps, 48000 Hz
right channel: MP3 128kbps, 44100 Hz

In the left channel, the distortion is very clearly audible, especially with 
sibilants.

[Untitled.Session.2_mixdown 
(1).zip](https://github.com/savonet/liquidsoap/files/3109743/Untitled.Session.2_mixdown.1.zip)

I also did a couple of other tests, among others, I was experimenting with 
changing sample rate in liquidsoap.liq. I changed samplerate from 48000 to 
24000, then I changed permissions in order to prevent the file from being 
overwritten when Liquidsoap is restarted, and I restarted Liquidsoap. Audio 
bandwidth was cut to 24000 Hz, of course, but the distortion was still there.

Another test included creating two streams, one in OGG and the other in OPUS:

OGG: https://s.paranormalium.pl/radio/8020/ogg
OPUS: https://s.paranormalium.pl/radio/8020/opus

Audio bandwidth of the file being played by AutoDJ is 8000 Hz. In OGG stream 
the sound is clear, whereas in OPUS stream a heavy distortion is clearly 
audible.

I also tried playing files with sample rate of 48000, however, no success, the 
distortion was still present.

The distortion is present all the time in all OPUS streams I create.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/759
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to