ОсновноеRadiotalkПользовательское
Технологии вещания, софт, скрипты
3   •   Посмотреть все темы

liquidsoap

 

6245
Тарас @tarasian666
только что собрал на домашней машине последнюю версию из меркурия, полет нормальный


на серваке ступориться Unbound value Dynlink.is_native походу надо обновлять ленни ))

обновил ocaml до версии 3.11 и все собралось

Отредактировано tarasian666 - 15.12.2011
7094
--- @Render
tarasian666 пишет:

только что собрал на домашней машине последнюю версию из меркурия, полет нормальный


на серваке ступориться Unbound value Dynlink.is_native походу надо обновлять ленни ))

обновил ocaml до версии 3.11 и все собралось

Не стал мучиться с beta3, итак почти сутки убил времени чтоб все либы проставить и собрать.
Поставил таки beta2, ждите вопросов по мыло уже скоро :)


:~/l# liquidsoap --version
Liquidsoap 1.0.0-beta2.1
Copyright (c) 2003-2011 Savonet team
Liquidsoap is open-source software, released under GNU General Public License.
See <**********> for more information.

223
Игорь @devilben
Render пишет:

liquidsoap --version
Liquidsoap 1.0.0-beta2.1

А чего бета? Есть же 1.0.0 релиз давно

30
Azat @Azat
Спасибо за ответ!
Сорри, время дисконнекта это harbor.timeout? Но прикол то в том, что если вещать не на harbor, а на icecast, который на том же сервере, то все нормально.

А на счет кириллицы. Если в названии песни хоть один кириллический символ есть - liquidsoap уже не передает метаданные на основные маунты. Хотя с нон-стопом все нормально передает. В логах так же пишет, что метаданные дошли. Но не отдает их почему то icecast'у.

Заранее благодарю!

Отредактировано Azat - 16.12.2011
6245
Тарас @tarasian666
Azat пишет:

Сорри, время дисконнекта это harbor.timeout?

да, хотя впринципе там дефолт 30 секунд так что не там проблема
пробуйте обновить до версии 1.0.0, также следите за использованием ресурсов во время конекта к harbor
для метаданных возможно надо camomile

7094
--- @Render
Каким теперь можно методом снести beta2, чтобы собрать 1.0.0?)
make uninstall в папке с beta2 - не канает.
А 1.0.0 что-то поверх не хочет даже конфигурироваться, в начале этапа конфигурации, уже ругается.

6245
Тарас @tarasian666
у меня всегда поверх нормально ствавало, то что не конфигурируеться проблема в другом, а в чем именно скажет ошибка которая отображаеться при конфигугировании ))

30
Azat @Azat
tarasian666
Благодарю! Скачаю потом новую версию, посмотрим, как встанет:)

17
Jack @Jack
Доброго времени суток!
Кто может настроить liquidsoap mp3 на centOS 5.7- не бесплатно

223
Игорь @devilben
Jack пишет:

Доброго времени суток!
Кто может настроить liquidsoap mp3 на centOS 5.7- не бесплатно

Только настроить, или собрать из исходников? :)

17
Jack @Jack
собрать из исходников, чтобы играл поток в мп3

7094
--- @Render
tarasian666 пишет:

у меня всегда поверх нормально ствавало, то что не конфигурируеться проблема в другом, а в чем именно скажет ошибка которая отображаеться при конфигугировании ))

ver 1.0.0
root@vps10:/home/radio/liq# ./configure
-------------------------------------------------------------------------------
| This configure file is provided in order for you to be able to build |
| liquidsoap without having to install all the dependencies. |
| If you want to use the libraries, use the configure of the subdirectories. |
| This script will build liquidsoap with features indicated in PACKAGES. |
| Edit it or build manually if you need something more specific. |
-------------------------------------------------------------------------------


****** Configuring ocaml-cry-0.2.2

./configure --with-cry-dir=../ocaml-cry-0.2.2/src
configure: WARNING: unrecognized options: --with-cry-dir
configuring ocaml-cry 0.2.2
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking that calling user is not root... configure: error: configure script must not be run with root user!
root@vps10:/home/radio/liq# su - radio -c /home/radio/liq/configure
-------------------------------------------------------------------------------
| This configure file is provided in order for you to be able to build |
| liquidsoap without having to install all the dependencies. |
| If you want to use the libraries, use the configure of the subdirectories. |
| This script will build liquidsoap with features indicated in PACKAGES. |
| Edit it or build manually if you need something more specific. |
-------------------------------------------------------------------------------

Please copy PACKAGES.default to PACKAGES
and edit it to enable the packages you
want to enable.
root@vps10:/home/radio/liq# sudo ./configure
-------------------------------------------------------------------------------
| This configure file is provided in order for you to be able to build |
| liquidsoap without having to install all the dependencies. |
| If you want to use the libraries, use the configure of the subdirectories. |
| This script will build liquidsoap with features indicated in PACKAGES. |
| Edit it or build manually if you need something more specific. |
-------------------------------------------------------------------------------


****** Configuring ocaml-cry-0.2.2

./configure --with-cry-dir=../ocaml-cry-0.2.2/src
configure: WARNING: unrecognized options: --with-cry-dir
configuring ocaml-cry 0.2.2
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking that calling user is not root... configure: error: configure script must not be run with root user!
root@vps10:/home/radio/liq#

223
Игорь @devilben
Jack пишет:

собрать из исходников, чтобы играл поток в мп3

Jack пишет:

liquidsoap mp3 на centOS 5.7

Центось не лучший вариант под Liquidsoap, лучше использовать Debian/Ubuntu
Render пишет:

hecking that calling user is not root... configure: error: configure script must not be run with root user!

В новых версиях нельзя конфигурацию от рута запускать

Отредактировано devilben - 19.12.2011
6245
Тарас @tarasian666
Render пишет:

configure script must not be run with root user!

и это обусловлено тем что конфигурация могла перетереть /dev/null в обычный файл

7094
--- @Render
Спасибо, за рута разобрался...
До этого подобный же конфиг использовал и не бета3 и на бета2, всё конфигурировалось, а на 1.0.0:
Что за либа не подскажите?
checking for gcc option to produce PIC... -fPIC
configure: error: Cannot find camlidl.

конфиг PACKAGES
# Edit this file by (un)commenting the libraries that you (don't) want to
# build in order to get the corresponding features in liquidsoap.

# The default file has every dependency enabled.
# It is certain that you don't need everything.
# If you don't know why you should have something, uncomment it,
# especially if it does not build for some reason.

# It is useless to add savonet packages that are not listed below,
# like ocaml-fetch, ocaml-smbclient, etc. These are not dependencies of
# liquidsoap.


# ============================================================================
# Input/output
# ============================================================================

# Cry is the lib for streaming to icecast and compatible servers.
ocaml-cry

# AO is portable and stable, but it does only output.
ocaml-ao

# Portaudio is a portable audio library with both input and output.
ocaml-portaudio

# ALSA is only for LINUX, and is sometimes not working.
ocaml-alsa

# PulseAudio is a cross-plateform audio sound server. It is intended to
# be a single replacement for sound support under linux, windows or OSX.
ocaml-pulseaudio

# JACK is an audio connection kit, designed for low latency
# and easy communication between audio applications.
ocaml-bjack

# Gstreamer is a library for constructing graphs of media-handling components.
# It is currently used to provide V4l inputs for liquidsoap
ocaml-gstreamer

# ============================================================================
# Codecs
# ============================================================================

# MAD is for MP3 decoding.
ocaml-mad

# TAGLIB is for MP3 ID3 tag reading
ocaml-taglib

# LAME is for MP3 encoding.
ocaml-lame

# AACPLUS is for AAC+ encoding.
ocaml-aacplus

# OGG is for ogg/vorbis and ogg/theora encoding and decoding
#ocaml-ogg

# VORBIS is for ogg/vorbis encoding and decoding.
# you need ocaml-ogg to enable ocaml-vorbis.
#ocaml-vorbis

# SPEEX is for ogg/speex encoding and decoding
# you need ocaml-ogg to enable ocaml-speex
#ocaml-speex

# THEORA is for ogg/theora encoding and decoding
# you need ocaml-ogg to enable ocaml-theora
#ocaml-theora

# SCHROEDINGER is for ogg/dirac encoding and decoding
# you need ocaml-ogg to enable ocaml-schroedinger
#ocaml-schroedinger

# VOAACENC is for AAC encoding.
#ocaml-voaacenc

# FAAD for AAC decoding.
ocaml-faad

# FLAC is for flac, native and/or ogg (if using ocaml-ogg)
# format decoding and encoding.
#ocaml-flac

# ============================================================================
# Sound processing
# ============================================================================

# LADSPA are audio plugins providing sound effects
ocaml-ladspa

# SoundTouch is for changing pitch and tempo of sound
ocaml-soundtouch

# Samplerate is for having better quality resampling
ocaml-samplerate

# ============================================================================
# Video processing
# ============================================================================

# GAVL converts from and to many formats,
# is very efficient and has a quality setting for
# tweaking load vs. quality of the conversion.
# It is the recommended module to use with video
#ocaml-gavl

# ============================================================================
# Sound synthesis
# ============================================================================

# DSSI is a standard for synthesizer plugins
ocaml-dssi

# ============================================================================
# Various modules
# ============================================================================

# Xmlplaylist allow support for various xml format, such as rss, podcast, etc..
ocaml-xmlplaylist

# Lastfm allow support for lastfm radios and the audioscrobbler protocol
# It should be listed *after* ocaml-xmlplaylist in this file
#ocaml-lastfm

# A library supporting the OSC protocol to have external controls
# such as faders
ocaml-lo

# ============================================================================
# Finally, the mandatory lib dtools, duppy and liquidsoap...
# ============================================================================

ocaml-dtools
ocaml-duppy
ocaml-mm
liquidsoap

6245
Тарас @tarasian666
Render пишет:

конфиг PACKAGES

нафига тебе столько всего?
Хоть знаешь для чего какой пункт нужен?

7094
--- @Render
tarasian666 пишет:

Render пишет:

конфиг PACKAGES

нафига тебе столько всего?
Хоть знаешь для чего какой пункт нужен?

/upd
Отключил ещё кое-что. Посмотрим соберётся ли теперь. В итоге конфиг таков


* Supported input formats
- Vorbis : no (requires vorbis)
- Theora : no (requires theora)
- Speex : no (requires speex)
- Dirac : no (requires schroedinger)
- Flac (native) : no (requires flac)
- Flac (ogg) : no (requires flac.ogg)
- MP3 : yes
- AAC : yes
- text-to-speech : requires text2wave (festival) and sox at runtime
- XML playlists : yes
- Lastfm : no (requires lastfm)

* Supported output formats
- Vorbis : no (requires vorbis)
- MP3 : yes
- AAC : no (requires voaacenc)
- AAC+ : yes
- SPEEX : no (requires speex)
- Theora : no (requires theora)
- Dirac : no (requires schroedinger)

* Tags
- Taglib (ID3 tags) : yes
- Vorbis : no (requires vorbis)
- charset detection : yes

* Input / output
- Icecast/Shoutcast : yes
- AO : yes
- OSS : yes
- ALSA : yes
- Portaudio : yes
- Pulseaudio : yes
- JACK : yes
- GStreamer : no (requires gstreamer)

* Audio manipulation
- Samplerate : yes
- SoundTouch : no (requires soundtouch)
- LADSPA : yes

* Video manipulation
- Gavl : no (requires gavl)
- camlimages : no (requires camlimages)

* MIDI manipulation
- DSSI : no (requires dssi)

* Visualization
- Graphics : yes
- SDL : no (requires sdl)
- GD : no (requires gd)

* Additional libraries
- dynlink : yes
- magic : yes
- lo : yes
- yojson : no (requires yojson)

* Graphical interfaces
- Python GUI : no

Отредактировано Render - 19.12.2011
6245
Тарас @tarasian666
Render пишет:

Input / output

случайно не на "сервере" собираешь ?

7094
--- @Render
tarasian666 пишет:

Render пишет:

Input / output

случайно не на "сервере" собираешь ?

Не поверишь, на "Марсе" :D
Шутки шутками, но пока не курил англоязычные доки, как думаете реально ли такое на мыле организовать?
Определять во время работы мыла, время текущего трека, на каждые 3-5 треков, из длительности по времени трека, вычитать 5-10 секунд, и на полученное в результате вычитания время, запускать наложением фон из альтернативного плейлиста.
То есть простыми словами.
Играет 3х минутный трек, на какой-нибудь скажем 5й по счёту, сработала функция, которая из длительности трека допустим = 3 мин, вычитает 5 секунд, и на 2:55 минуте, запускает наложение - фон альтернативного плейлиста, подобия функции:
smooth_add(normal=music,special=switch([({ 00m0s or 2m30s or 3m35s }, jingles)]))

6245
Тарас @tarasian666
я о чем, если сервер то тебе точно не надо этих пакетов
- AO (хотя без этого может не захотеть собираться)
- OSS
- ALSA
- Portaudio
- Pulseaudio
- JACK
вот у меня на домашней машине, и иногда приходиться выводить звук через jack но я все равно подключаю только его, без alsa oss portaudio pulseaudio