Discussion:
[Savonet-users] ogg opus input without resampling to output
Thorsten Schwartz
2017-06-15 08:21:26 UTC
Permalink
Hi,

I've got a single ogg opus file and I want to stream it to latest
icecast as ogg opus in a continous loop.

demo=single("./blabla.opus")

Therefore I don't need to resample the source, because it's already in
the same format.

I did not find any solution to take the input directly to icecast
without resampling. Resampling unfortunately leads to high CPU load on
my RasPi and is really senseless my case.

output.icecast(%opus(vbr="unconstrained", application="audio",
complexity=10, max_bandwidth="super_wide_band", samplerate=48000,
frame_size=20., bitrate="auto", stereo, signal="music"),
host="localhost", port=8000, password="topsecret", public=false,
mount="/demo.opus",
description="just for testing", name="demo", genre="not important",
url="anywhere",
demo)

Thanks for helping me.

Thorsten
Romain Beauxis
2017-06-16 20:56:50 UTC
Permalink
Hi Thorsten,

Unfortunately, Liquidsoap always decodes its input. The internal format for
audio data is raw PCM samples.. If you do not want to recode, you should
look at other tools such as ezstream.

Romain

2017-06-15 3:21 GMT-05:00 Thorsten Schwartz <
Post by Thorsten Schwartz
Hi,
I've got a single ogg opus file and I want to stream it to latest
icecast as ogg opus in a continous loop.
demo=single("./blabla.opus")
Therefore I don't need to resample the source, because it's already in
the same format.
I did not find any solution to take the input directly to icecast
without resampling. Resampling unfortunately leads to high CPU load on
my RasPi and is really senseless my case.
output.icecast(%opus(vbr="unconstrained", application="audio",
complexity=10, max_bandwidth="super_wide_band", samplerate=48000,
frame_size=20., bitrate="auto", stereo, signal="music"),
host="localhost", port=8000, password="topsecret", public=false,
mount="/demo.opus",
description="just for testing", name="demo", genre="not important",
url="anywhere",
demo)
Thanks for helping me.
Thorsten
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
https://lists.sourceforge.net/lists/listinfo/savonet-users
Loading...