xiph / ezstream

[Mirror] A streaming source client for Icecast
https://gitlab.xiph.org/xiph/ezstream
Other
58 stars 25 forks source link

Could not stream mp3 with libshout 2.4.5 #30

Closed zygmund2000 closed 2 years ago

zygmund2000 commented 3 years ago

Hi,

I have some problem to stream mp3:

ezstream[19314]: stream: default: format: MP3: This libshout doesn't support the requested option

I have libshout 2.4.5

fungi commented 3 years ago

I encountered the same issue recently on a Debian/Sid machine after upgrading to ezstream 1.0.2 built against libshout3 2.4.5, and while switching the stream to Ogg worked around it, that resulted in some fairly terrible stream discontinuities. Downgrading to ezstream 1.0.1 with libshout3 2.4.4 restored things to working order with my original MP3 stream configuration..

soika1978 commented 3 years ago

Just to note that ezstream 1.0.1 + libshout 2.4.4 also required explicit < tls >none< /tls > tag, since default value as "May" fails

simon1tan commented 3 years ago

There is a patch from a user here which worked for me https://gitlab.xiph.org/xiph/ezstream/-/issues/2271

codekandis commented 3 years ago

That patch worked for me, too.

ThatOneRuffian commented 2 years ago

Thanks, the patch worked for me as well.

alexdowad commented 2 years ago

The patch worked for me too. I hope the maintainer will merge it into 'master' soon!

newmediacrew commented 2 years ago

Maybe a noob question, but how do you apply that patch via the terminal?

ThatOneRuffian commented 2 years ago

Maybe a noob question, but how do you apply that patch via the terminal?

The "patch" is just a text file showing the changes needed in the source code to be able to stream an mp3. After manually changing these lines, you must then compile the code to produce the new binary. However, this requires a working development environment to be able to compile for this project which requires a fair bit of setup that can change depending on which OS you're using.

At this point, I'd just recommend using liquidsoap

mgrimm commented 2 years ago

Thanks for the patience and the report ...

A fix is pushed to develop and will be part of the next release. Any help with testing is much appreciated.

roughnecks commented 1 year ago

I have the same issue on Debian 11, what's the current fix?

alexdowad commented 1 year ago

@roughnecks Did you try the patch which is linked above?

roughnecks commented 1 year ago

@roughnecks Did you try the patch which is linked above?

Yeah, I did now.. thought it was fixed in development. Thanks

erikreimann commented 1 year ago

I still have this problem with Ubuntu 22.04 (they provide ezstream 1.02 and libshout 2.4.5). It there any way to fix this without the need to compile myself?

PS: I made it work now: I downloaded the older ezstream version 1.01 from here: https://packages.ubuntu.com/focal/amd64/ezstream/download Then I installed the file: sudo dpkg -i ezstream_1.0.1-1_amd64.deb Works very well now :-) Thank you Moritz for providing this! PS2: I needed to put the package on hold so that it does not get overwritten with the next apt-get upgrade: sudo apt-mark hold ezstream

vfetisov commented 12 months ago

Many thanks, @erikreimann ! This works for me as well.

erikreimann commented 10 months ago

Thanks for the patience and the report ...

A fix is pushed to develop and will be part of the next release. Any help with testing is much appreciated.

A new release with the fix would be greatly appreciated. Otherwise I will need to give http://www.liquidsoap.info a try Thanks to @ThatOneRuffian for bringing this up

johnsie commented 7 months ago

On Ubuntu Jammy I'm still getting this issue with the ezstream from the default repos. The solution from erikreimann worked for me, but I had to do --fix-broken. I've detailed my full process below:

If the borked version of eztream is already installed then remove it: sudo apt-get --purge autoremove ezstream

Download the older ezstream version 1.01 from here: https://packages.ubuntu.com/focal/amd64/ezstream/download

Install the file: sudo dpkg -i ezstream_1.0.1-1_amd64.deb

Fix the broken dependencies: sudo apt --fix-broken install

Force the application to stay at this version by putting a hold on it: sudo apt-mark hold ezstream