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

liquidsoap

 

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


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

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

Отредактировано tarasian666 - 15.12.2011
0
7094
Dim @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.

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

liquidsoap --version
Liquidsoap 1.0.0-beta2.1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

0
7094
Dim @Render
tarasian666 пишет:

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

ver 1.0.0
  1. root@vps10:/home/radio/liq# ./configure
  2. -------------------------------------------------------------------------------
  3. | This configure file is provided in order for you to be able to build |
  4. | liquidsoap without having to install all the dependencies. |
  5. | If you want to use the libraries, use the configure of the subdirectories. |
  6. | This script will build liquidsoap with features indicated in PACKAGES. |
  7. | Edit it or build manually if you need something more specific. |
  8. -------------------------------------------------------------------------------
  9. ****** Configuring ocaml-cry-0.2.2
  10. ./configure --with-cry-dir=../ocaml-cry-0.2.2/src
  11. configure: WARNING: unrecognized options: --with-cry-dir
  12. configuring ocaml-cry 0.2.2
  13. checking for gcc... gcc
  14. checking whether the C compiler works... yes
  15. checking for C compiler default output file name... a.out
  16. checking for suffix of executables...
  17. checking whether we are cross compiling... no
  18. checking for suffix of object files... o
  19. checking whether we are using the GNU C compiler... yes
  20. checking whether gcc accepts -g... yes
  21. checking for gcc option to accept ISO C89... none needed
  22. checking build system type... x86_64-unknown-linux-gnu
  23. checking host system type... x86_64-unknown-linux-gnu
  24. checking for a BSD-compatible install... /usr/bin/install -c
  25. checking that calling user is not root... configure: error: configure script must not be run with root user!
  26. root@vps10:/home/radio/liq# su - radio -c /home/radio/liq/configure
  27. -------------------------------------------------------------------------------
  28. | This configure file is provided in order for you to be able to build |
  29. | liquidsoap without having to install all the dependencies. |
  30. | If you want to use the libraries, use the configure of the subdirectories. |
  31. | This script will build liquidsoap with features indicated in PACKAGES. |
  32. | Edit it or build manually if you need something more specific. |
  33. -------------------------------------------------------------------------------
  34. Please copy PACKAGES.default to PACKAGES
  35. and edit it to enable the packages you
  36. want to enable.
  37. root@vps10:/home/radio/liq# sudo ./configure
  38. -------------------------------------------------------------------------------
  39. | This configure file is provided in order for you to be able to build |
  40. | liquidsoap without having to install all the dependencies. |
  41. | If you want to use the libraries, use the configure of the subdirectories. |
  42. | This script will build liquidsoap with features indicated in PACKAGES. |
  43. | Edit it or build manually if you need something more specific. |
  44. -------------------------------------------------------------------------------
  45. ****** Configuring ocaml-cry-0.2.2
  46. ./configure --with-cry-dir=../ocaml-cry-0.2.2/src
  47. configure: WARNING: unrecognized options: --with-cry-dir
  48. configuring ocaml-cry 0.2.2
  49. checking for gcc... gcc
  50. checking whether the C compiler works... yes
  51. checking for C compiler default output file name... a.out
  52. checking for suffix of executables...
  53. checking whether we are cross compiling... no
  54. checking for suffix of object files... o
  55. checking whether we are using the GNU C compiler... yes
  56. checking whether gcc accepts -g... yes
  57. checking for gcc option to accept ISO C89... none needed
  58. checking build system type... x86_64-unknown-linux-gnu
  59. checking host system type... x86_64-unknown-linux-gnu
  60. checking for a BSD-compatible install... /usr/bin/install -c
  61. checking that calling user is not root... configure: error: configure script must not be run with root user!
  62. root@vps10:/home/radio/liq#

0
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
0
6245
Тарас @tarasian666
Render пишет:

configure script must not be run with root user!

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

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

конфиг PACKAGES
  1. # Edit this file by (un)commenting the libraries that you (don't) want to
  2. # build in order to get the corresponding features in liquidsoap.
  3. # The default file has every dependency enabled.
  4. # It is certain that you don't need everything.
  5. # If you don't know why you should have something, uncomment it,
  6. # especially if it does not build for some reason.
  7. # It is useless to add savonet packages that are not listed below,
  8. # like ocaml-fetch, ocaml-smbclient, etc. These are not dependencies of
  9. # liquidsoap.
  10. # ============================================================================
  11. # Input/output
  12. # ============================================================================
  13. # Cry is the lib for streaming to icecast and compatible servers.
  14. ocaml-cry
  15. # AO is portable and stable, but it does only output.
  16. ocaml-ao
  17. # Portaudio is a portable audio library with both input and output.
  18. ocaml-portaudio
  19. # ALSA is only for LINUX, and is sometimes not working.
  20. ocaml-alsa
  21. # PulseAudio is a cross-plateform audio sound server. It is intended to
  22. # be a single replacement for sound support under linux, windows or OSX.
  23. ocaml-pulseaudio
  24. # JACK is an audio connection kit, designed for low latency
  25. # and easy communication between audio applications.
  26. ocaml-bjack
  27. # Gstreamer is a library for constructing graphs of media-handling components.
  28. # It is currently used to provide V4l inputs for liquidsoap
  29. ocaml-gstreamer
  30. # ============================================================================
  31. # Codecs
  32. # ============================================================================
  33. # MAD is for MP3 decoding.
  34. ocaml-mad
  35. # TAGLIB is for MP3 ID3 tag reading
  36. ocaml-taglib
  37. # LAME is for MP3 encoding.
  38. ocaml-lame
  39. # AACPLUS is for AAC+ encoding.
  40. ocaml-aacplus
  41. # OGG is for ogg/vorbis and ogg/theora encoding and decoding
  42. #ocaml-ogg
  43. # VORBIS is for ogg/vorbis encoding and decoding.
  44. # you need ocaml-ogg to enable ocaml-vorbis.
  45. #ocaml-vorbis
  46. # SPEEX is for ogg/speex encoding and decoding
  47. # you need ocaml-ogg to enable ocaml-speex
  48. #ocaml-speex
  49. # THEORA is for ogg/theora encoding and decoding
  50. # you need ocaml-ogg to enable ocaml-theora
  51. #ocaml-theora
  52. # SCHROEDINGER is for ogg/dirac encoding and decoding
  53. # you need ocaml-ogg to enable ocaml-schroedinger
  54. #ocaml-schroedinger
  55. # VOAACENC is for AAC encoding.
  56. #ocaml-voaacenc
  57. # FAAD for AAC decoding.
  58. ocaml-faad
  59. # FLAC is for flac, native and/or ogg (if using ocaml-ogg)
  60. # format decoding and encoding.
  61. #ocaml-flac
  62. # ============================================================================
  63. # Sound processing
  64. # ============================================================================
  65. # LADSPA are audio plugins providing sound effects
  66. ocaml-ladspa
  67. # SoundTouch is for changing pitch and tempo of sound
  68. ocaml-soundtouch
  69. # Samplerate is for having better quality resampling
  70. ocaml-samplerate
  71. # ============================================================================
  72. # Video processing
  73. # ============================================================================
  74. # GAVL converts from and to many formats,
  75. # is very efficient and has a quality setting for
  76. # tweaking load vs. quality of the conversion.
  77. # It is the recommended module to use with video
  78. #ocaml-gavl
  79. # ============================================================================
  80. # Sound synthesis
  81. # ============================================================================
  82. # DSSI is a standard for synthesizer plugins
  83. ocaml-dssi
  84. # ============================================================================
  85. # Various modules
  86. # ============================================================================
  87. # Xmlplaylist allow support for various xml format, such as rss, podcast, etc..
  88. ocaml-xmlplaylist
  89. # Lastfm allow support for lastfm radios and the audioscrobbler protocol
  90. # It should be listed *after* ocaml-xmlplaylist in this file
  91. #ocaml-lastfm
  92. # A library supporting the OSC protocol to have external controls
  93. # such as faders
  94. ocaml-lo
  95. # ============================================================================
  96. # Finally, the mandatory lib dtools, duppy and liquidsoap...
  97. # ============================================================================
  98. ocaml-dtools
  99. ocaml-duppy
  100. ocaml-mm
  101. liquidsoap

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

конфиг PACKAGES

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

0
7094
Dim @Render
tarasian666 пишет:

Render пишет:

конфиг PACKAGES

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

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


  1. * Supported input formats
  2. - Vorbis : no (requires vorbis)
  3. - Theora : no (requires theora)
  4. - Speex : no (requires speex)
  5. - Dirac : no (requires schroedinger)
  6. - Flac (native) : no (requires flac)
  7. - Flac (ogg) : no (requires flac.ogg)
  8. - MP3 : yes
  9. - AAC : yes
  10. - text-to-speech : requires text2wave (festival) and sox at runtime
  11. - XML playlists : yes
  12. - Lastfm : no (requires lastfm)
  13. * Supported output formats
  14. - Vorbis : no (requires vorbis)
  15. - MP3 : yes
  16. - AAC : no (requires voaacenc)
  17. - AAC+ : yes
  18. - SPEEX : no (requires speex)
  19. - Theora : no (requires theora)
  20. - Dirac : no (requires schroedinger)
  21. * Tags
  22. - Taglib (ID3 tags) : yes
  23. - Vorbis : no (requires vorbis)
  24. - charset detection : yes
  25. * Input / output
  26. - Icecast/Shoutcast : yes
  27. - AO : yes
  28. - OSS : yes
  29. - ALSA : yes
  30. - Portaudio : yes
  31. - Pulseaudio : yes
  32. - JACK : yes
  33. - GStreamer : no (requires gstreamer)
  34. * Audio manipulation
  35. - Samplerate : yes
  36. - SoundTouch : no (requires soundtouch)
  37. - LADSPA : yes
  38. * Video manipulation
  39. - Gavl : no (requires gavl)
  40. - camlimages : no (requires camlimages)
  41. * MIDI manipulation
  42. - DSSI : no (requires dssi)
  43. * Visualization
  44. - Graphics : yes
  45. - SDL : no (requires sdl)
  46. - GD : no (requires gd)
  47. * Additional libraries
  48. - dynlink : yes
  49. - magic : yes
  50. - lo : yes
  51. - yojson : no (requires yojson)
  52. * Graphical interfaces
  53. - Python GUI : no

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

Input / output

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

0
7094
Dim @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)]))

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

0





Согласие на обработку данных на нашем сайте

Продолжая просматривать страницу, вы соглашаетесь с использованием файлов «Cookie» и с Политикой конфиденциальности «Privacy».
Наверху или внизу страницы вы можете изменить валюту и язык по умолчанию. Английская версия сайта ещё находится в доработке и доступна не полностью.