Re: liquidsoap
Каким теперь можно методом снести beta2, чтобы собрать 1.0.0?)
make uninstall в папке с beta2 - не канает.
А 1.0.0 что-то поверх не хочет даже конфигурироваться, в начале этапа конфигурации, уже ругается.
Первый русскоязычный форум посвященный интернет-радиовещанию
Страницы Назад 1 … 16 17 18 19 20 … 53 Далее
Чтобы отправить ответ, вы должны войти или зарегистрироваться
Каким теперь можно методом снести beta2, чтобы собрать 1.0.0?)
make uninstall в папке с beta2 - не канает.
А 1.0.0 что-то поверх не хочет даже конфигурироваться, в начале этапа конфигурации, уже ругается.
у меня всегда поверх нормально ствавало, то что не конфигурируеться проблема в другом, а в чем именно скажет ошибка которая отображаеться при конфигугировании ))
tarasian666
Благодарю! Скачаю потом новую версию, посмотрим, как встанет:)
Доброго времени суток!
Кто может настроить liquidsoap mp3 на centOS 5.7- не бесплатно
пишет Jack:
Доброго времени суток!
Кто может настроить liquidsoap mp3 на centOS 5.7- не бесплатно
Только настроить, или собрать из исходников?
собрать из исходников, чтобы играл поток в мп3
пишет 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#
пишет 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 13:04:28)
пишет Render:
configure script must not be run with root user!
и это обусловлено тем что конфигурация могла перетереть /dev/null в обычный файл
Спасибо, за рута разобрался...
До этого подобный же конфиг использовал и не бета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
пишет Render:
конфиг PACKAGES
нафига тебе столько всего?
Хоть знаешь для чего какой пункт нужен?
пишет 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 21:38:26)
пишет Render:
Input / output
случайно не на "сервере" собираешь ?
пишет tarasian666:
пишет Render:
Input / output
случайно не на "сервере" собираешь ?
Не поверишь, на "Марсе"
Шутки шутками, но пока не курил англоязычные доки, как думаете реально ли такое на мыле организовать?
Определять во время работы мыла, время текущего трека, на каждые 3-5 треков, из длительности по времени трека, вычитать 5-10 секунд, и на полученное в результате вычитания время, запускать наложением фон из альтернативного плейлиста.
То есть простыми словами.
Играет 3х минутный трек, на какой-нибудь скажем 5й по счёту, сработала функция, которая из длительности трека допустим = 3 мин, вычитает 5 секунд, и на 2:55 минуте, запускает наложение - фон альтернативного плейлиста, подобия функции:
smooth_add(normal=music,special=switch([({ 00m0s or 2m30s or 3m35s }, jingles)]))
я о чем, если сервер то тебе точно не надо этих пакетов
- AO (хотя без этого может не захотеть собираться)
- OSS
- ALSA
- Portaudio
- Pulseaudio
- JACK
вот у меня на домашней машине, и иногда приходиться выводить звук через jack но я все равно подключаю только его, без alsa oss portaudio pulseaudio
Ребят, может где уже писали, но все же..
Пытаюсь поставить этого зверя впервые..
Доходим до
checking lo/lo.h usability... no
checking lo/lo.h presence... no
checking for lo/lo.h... no
configure: error: LO headers not found.
Окей.. Ставим ocaml_lo
Получаем это же configure: error: LO headers not found.
Как бороться?
Новая трабла...
/usr/bin/install -c -d -o liquidsoap -g liquidsoap -m 2775 \
/usr/local/var/log/liquidsoap
/usr/bin/install -c -d -o liquidsoap -g liquidsoap -m 2775 \
/usr/local/var/run/liquidsoap
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install: cannot change permissions of `/usr/local/bin': Operation not permitted
make[1]: *** [install-local] Error 1
make[1]: Leaving directory `/var/www/liq/data/liquidsoap-1.0.0-full/liquidsoap-1.0.0'
make: *** [install] Error 2
пишет Leff27:
Новая трабла...
/usr/bin/install -c -d -o liquidsoap -g liquidsoap -m 2775 \
/usr/local/var/log/liquidsoap
/usr/bin/install -c -d -o liquidsoap -g liquidsoap -m 2775 \
/usr/local/var/run/liquidsoap
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install: cannot change permissions of `/usr/local/bin': Operation not permitted
make[1]: *** [install-local] Error 1
make[1]: Leaving directory `/var/www/liq/data/liquidsoap-1.0.0-full/liquidsoap-1.0.0'
make: *** [install] Error 2
Я после конфигурирования, из под рута делал make && make install. Т.к тоже такое было.
Только вроде через su - root -c 'make && make install' делал, если не ошибаюсь.
Вообщем такой вопрос, какой коммандой в telnet можно вывести очередь следующих песен, и прошедших
так, давно я тут не был )
есть парочка вопросов:
1)подставление в плей-лист в определённое время записи (switch не подходит т.к. если он traksesetive false, то нужно секунды высчитывать, а если true, то не факт что воспроизведёт т.к. песни разной длинны как и запись)
2) воспроизведение файликов в фоне по какой-нибудь команде
3) вход с аудио-плату
4) выход на аудиоплаты в реальном времени
5) и как можно запихнуть статистику в mysql? может у кого есть парсер?
конечным результатом обещаю поделиться
liquidsoap 0.9.3
Отредактировано Danila (24-12-2011 14:21:56)
1. как вариант через queue.push
2. создать queue.secondary_queue и микшировать через add
3. input.alsa или input.jack или что вам больше подходит (или что собереться и будет работать без ошибок )
4. output.asla или output.jack и тд
5. какую именно статистику?
Подскажите как побороть такую багу, если кто знает:
При добавлении чего либо через smooth_add ломаются теги. То есть, в момент "микширования" вставляется какой то левый тег, а хотелось бы чтоб выводился по прежнему тег из основного источника.
Вот пример конфига:
#!/usr/local/bin/liquidsoap
set("init.daemon",true)
set("log.file.path","/var/log/liquidsoap/liquidsoap.log")
set("init.daemon.pidfile.path","/var/run/liquidsoap/liq.pid")
jingles = playlist(reload=9000,"/data/air/jingles") #джинглы которые всплывают по времени
promo = playlist(reload=9000,"/data/air/promo") #джинглы которые просто вставляет в ротацию
music = playlist(reload=9000,"/data/air/music") #основная муз. библиотека
music = mksafe(music)
music = rotate(weights = [1, 11],[promo, music]) #добавление джинглов в ротацию
music = crossfade( fade_out = 4.0, fade_in = 3.0, start_next = 3.0, music ) #кроссфейд треков
radio = smooth_add(normal=music,special=switch([({ 00m0s or 30m0s }, jingles)])) #добавление джинглов по времени
#выход на icecast2#
output.icecast(
%mp3,
mount="/listen",
host="127.0.0.1", port=8000,
password="*****",
genre="Other",
url="http://domain.com",
description="Cool Internet Radio",
name="Mega Radio",
radio
)
Нашел похожую проблему в рассылке Liquidsoap, там говорится что нужно использовать map_metadata, но как - не догоняю пока.
Спасибо, буду пробовать,
по поводу статистики - время/дата/песня/из-какой-папки
всё есть в логах liquidsoap, но хочется всё видеть красиво в веб-интерфейсе
есть проблемка
предистория:
#старая
musicold = smart_crossfade(normalize(playlist(reload=43200, mode="randomize", "/home/radio/radio/music/rotation/old/")))
#новая
musicnew = smart_crossfade(normalize(playlist(reload=21600, mode="randomize", "/home/radio/radio/music/rotation/new/")))
#новогодняя
musicny = smart_crossfade(normalize(playlist(reload=10000, mode="randomize", "/home/radio/radio/music/rotation/newyear/")))
вот здесь что-то не то:
music1 = rotate(weights=[2,10,1],[musicnew, musicold,musicny])
лог:
2011/12/25 16:09:58 [newyear:3] Finished with "/home/radio/radio/music/rotation/newyear//Abba_-_Happy_New_Year_(Sprime_Remix)_[mp3.shmidt.net].mp3".
2011/12/25 16:09:58 [newyear:3] Prepared "/home/radio/radio/music/rotation/newyear//4_Kings_-_Last_Christmas_[mp3.shmidt.net].mp3" (RID 30).
т.е. он должен воспроизводить 1 песню из rotation/newyear/ и возвращаться к musicnew а восроизводит их до рестарта
может я что не то указал, подскажите плиз
Страницы Назад 1 … 16 17 18 19 20 … 53 Далее
Чтобы отправить ответ, вы должны войти или зарегистрироваться