1 (edited by shotgunshell 2017-10-13 23:10:21)

Hello.
So, I wanted to use liquid soap for streaming and automation and stuff like that, but the problem is, it's not compiled into an executable file. I asked someone before and they said,

Find liquidsoap repo's for your distro, download latest with apt.

I have no idea what that means though. Can someone explain it to me in lamence terms? Thanks in advance for the help.

You can follow me on twitter @brogar2000, and my Skype is garrett.brown2014. If you want to follow me on any of these things, please tell me you're from the forum, or else I won't follow you back. Also, it depends on who you are.

Thumbs up

2

Install OCaml and Opam, then let Opam do the heavy lifting for you. If you're installing to Ubuntu you're package manager will be apt; if you're installing to a REL-based distro it'll be yum. Replace yum with the correct tool for your system. Basically you want to do the following:
yum install ocaml
yum install opam
then run:
opam init
and follow the instructions.
then run:
eval `opam config env`
now run:
opam install liquid soap
This command may fail multiple times because of missing system packages. Opam will name the required package so you can usually just install that with your package manager just like you installed ocaml and Opam.
Eventually you will get the command to run to it's end.
This is the method that Liquidsoap officially recommends.

Proud to be the official hosting provider for http://www.vgstorm.com!

Thumbs up +1

3

I'm sorry, I have no idea what you're talking about. Is Liquidsoap only for Linux?

You can follow me on twitter @brogar2000, and my Skype is garrett.brown2014. If you want to follow me on any of these things, please tell me you're from the forum, or else I won't follow you back. Also, it depends on who you are.

Thumbs up

4

Are you trying to install it on Windows?
If so, you're going to need to install Cygwin (which will give you an emulated Linux command terminal) and follow the rest of the steps from there.
There are some accessibility annoyances with the Cygwin setup.. In Cygwin you don't install software using a command line package manager like you would with regular Linux. Instead you install it using the GUI installer that you use to install Cygwin itself. Accessibility-whise it works, but there's a lot of rooting involved and it's annoying.

Proud to be the official hosting provider for http://www.vgstorm.com!

Thumbs up

5

I don't know anything about Linux, so I'm not familiar with these terms like OCaml or Opam or whatever. Is there a simpler way to do this?

You can follow me on twitter @brogar2000, and my Skype is garrett.brown2014. If you want to follow me on any of these things, please tell me you're from the forum, or else I won't follow you back. Also, it depends on who you are.

Thumbs up

6

OCaml is a programming language. Opam is a tool which finds and installs libraries for use with the language OCaml.
There is probably no simpler way to install this product unless somebody has prepared a Windows installer for it, and I'd be surprised if that were the case.
You'll have to learn some Unix commands in order to install and use it.

Proud to be the official hosting provider for http://www.vgstorm.com!

Thumbs up

7

Yeah. As far as Liquidsoap is concerned, once a Linux product, always a linux product. And like i said before, I wouldn't go trying to run a stream off residential internet.

I'm the only adventure at c: master hahahaha I have unlocked just about everything!

Thumbs up

8

Thanks for these instructions.

Thumbs up

9

It's not exclusively a linux product. It'll work fine under Mac OS, or anything else for that matter that is based on a Unix kernel (so... anything but our favourite odd man out Windows).
I've actually seen a decent amount of Linux open source that does take steps to accommodate Windows (though to be fair, Libraries are more likely to do this more so than applications). Liquidsoap is dependant on a library called Libshout (this is the library that actually provides the streaming to Shoutcast and Icecast servers) that strongly refuses to build under visual studio due to baked-in use of unix-specific APIs.
Cygwin is the way around this, but it's not without it's caveats (external dependancies, executable becomes GPL-licensed, etc).
In my free time I've actually been working on a scriptable audio streaming application which I use for my own needs. If I had a lot of time to work on it I'd strive to bring it to the point where I'd be comfortable releasing it, but it too is dependant on libshout which ties it down pretty hard to unix like platforms. If I removed that dependancy and wrote the networking code myself I could make it build on Windows pretty easily.

Proud to be the official hosting provider for http://www.vgstorm.com!

Thumbs up

10

I stream on my home internet all the time, PG13 do that as well.

You can follow me on twitter @brogar2000, and my Skype is garrett.brown2014. If you want to follow me on any of these things, please tell me you're from the forum, or else I won't follow you back. Also, it depends on who you are.

Thumbs up

11

If you have Windows 10 you could try using the Ubuntu that comes in WSL, which is much easier to set up and probably ends up being smaller.

All that being said, yes, we stream from residential internet just like most amateur internet radio broadcasters. But we don't run our ice cast server on the  same computer that we use for streaming. Our Liquidsoap installation is running on a dedicated Linux server hosted by OVH which handles the ice cast as well as the website and a lot of other things. LiquidSoap is running on there 24-7, continuously playing archives and if it detects one of us connecting to a specific address, it switches to rebroadcasting that. If you wanted to do the same thing from your Home Windows computer, it would have to run 24 hours a day if you don't want your stream interrupted and you'd need a really decent upload to support multiple listeners.

If you're planning to stream to a remote iceCast server, if you can administrate it yourself install Liquidsoap on it or ask whoever owns it to do it for you. Otherwise, consider doing that yourself or even geet something like a raspberry  pi and run your icecast and liquid soap off of it.

The twins of Mammon quarrelled. Their warring plunged the world into a new darkness, and the beast abhorred the darkness. So it began to move swiftly, and grew more powerful, and went forth and multiplied. And the beasts brought fire and light to the darkness. - from The Book of Mozilla, 15:1

Thumbs up

12

I run my Windows computer 24 hours a day anyways, so that wouldn't be an issue. I would like to get a Pi though.

You can follow me on twitter @brogar2000, and my Skype is garrett.brown2014. If you want to follow me on any of these things, please tell me you're from the forum, or else I won't follow you back. Also, it depends on who you are.

Thumbs up

13 (edited by jack 2017-08-19 05:03:41)

That's not the point though, you need to have a computer that you can leave unattended 24/7. You should never run on a computer that you still plan to use. That goes for any server, and that's just common sense. Which is why I do agree, a Pi would really! be the best thing to use for this. As for Liquidsoap compatibility on OSX, I had figured it would be compatible with OSX as well since that is Unix based. I've seen a lot of packages that are available for Linux have more easy to find Mac equivalents.

I'm the only adventure at c: master hahahaha I have unlocked just about everything!

Thumbs up

14

Hi.
I agree with Pitermach here, I myself keep my stream 24/7 yes, it's a linode hosted server with quite descent upload speed. I tried hosting servers at home in the past and it's a no no. As soon as you turn off your computer, if you are hosting on windows your servers will die, people will complain and a big etc. I wouldn't recommend it.

Thumbs up

15

Oriol's right. I suppose you weren't using machines you could leave unattended 24/7? Even if you were, residential internet has its limits. On one hand, some isp's may flip a shit if they catch you hosting a server. Terms of service and all that. On the other hand, even without occasional isp-imposed limits, with residential internet you naturally aren't right on the front-lines of the internet, if you will. A vps, the good ones at least, guarantees you reliable, high-speed access. Even in-home bandwidth use can deter your server activity, so keep that in mind.

I'm the only adventure at c: master hahahaha I have unlocked just about everything!

Thumbs up

16

So, I have a pi now. I looked back at post 2, and I tried typing yum install ocaml, and it didn't work.

If you're installing to Ubuntu you're package manager will be apt; if you're installing to a REL-based distro it'll be yum.

I figured sense the yum command didn't work, I would try righting apt install ocaml, but doing that gave me this error.

Could not open lock file /var/lib/dpkg/lock
Unable to lock the administration directory

I'm sorry if there's something obvious that I'm missing, I've never used Linux before, and I'm a slow learner. Any help would be appreciated.

You can follow me on twitter @brogar2000, and my Skype is garrett.brown2014. If you want to follow me on any of these things, please tell me you're from the forum, or else I won't follow you back. Also, it depends on who you are.

Thumbs up

17

Well, if you do not have a vps, do not keep your computer always on cause this will destroy your harddrive and that can damage other components.

I am your friend, your spam bot reporter, I am what ever do you wan a be to you, but if it is not good, I will not be!
And please, give me a tumbsup, it makes me happy to see one.
Thanks.
Angel Productions, the producer of nothing :)

Thumbs up

18

You'll only use yum if the distro you chose uses yum as it's package manager. Might be apt-get.

Thumbs up

19

I just figured it out, you have to right sudo apt-get install.

You can follow me on twitter @brogar2000, and my Skype is garrett.brown2014. If you want to follow me on any of these things, please tell me you're from the forum, or else I won't follow you back. Also, it depends on who you are.

Thumbs up

20

So, do you just copy your archives and put the files in a certain folder, and do they have to be a certain file type? Are there simple to understand instructions for how to use the program somewhere?

You can follow me on twitter @brogar2000, and my Skype is garrett.brown2014. If you want to follow me on any of these things, please tell me you're from the forum, or else I won't follow you back. Also, it depends on who you are.

Thumbs up