ОсновноеRadiotalkПользовательское
Общие вопросы по интернет радио вещанию
7   •   Посмотреть все темы

Icecast 2.3.2 + Ices 0.4

 

2
Ramzes44 @Ramzes44
Приветствую уважаемые форумчане. Необходима небольшая помощь от вас коллеги.
Сначала установил icecast 2.3.2, на нем ведутся радио трансляции в определенное время(примерно с 9 утра до 6 вечера). Затем нужно было сделать так,чтобы радио было нон-стоп. То есть с 6 вечера до 9 утра играла музыка. Решил воспользоваться программой ices 0.4(мп3 воспроизводит в отличии от 2 версии). И тут у меня затык, такого плана:

  1. DEBUG: Sending following information to libshout:
  2. DEBUG: Stream: 0
  3. DEBUG: Mount: /nonstop, Password: xxxxxxxxxxxxx
  4. DEBUG: Name: xxxxxxxx stream
  5. DEBUG: Genre: Default genre Desc: xxxxxxxx nonstop
  6. DEBUG: Bitrate: 192 Public: 1
  7. DEBUG: Dump file: (null)
  8. DEBUG: Initializing playlist handler...
  9. DEBUG: Initializing builting playlist handler...
  10. DEBUG: Randomizing playlist...
  11. DEBUG: Startup complete
  12. DEBUG: Builtin playlist handler serving: /media/nonstop/18_will.i.am_-_it_s_my_b
  13. irthday.mp3
  14. DEBUG: Filename cleaned up from [/media/nonstop/18_will.i.am_-_it_s_my_birthday.
  15. mp3] to [18_will.i.am_-_it_s_my_birthday]
  16. DEBUG: ID3v2: version 3.0. Tag size is 240 bytes.
  17. DEBUG: ID3v2: Title found: ▒▒I
  18. DEBUG: ID3v2: Artist found: Will.I.Am
  19. DEBUG: MPEG-1 layer III, 256 kbps, 44100 Hz, j-stereo
  20. DEBUG: Ext: 0 Mode_Ext: 2 Copyright: 0 Original: 1
  21. DEBUG: Error Protection: 0 Emphasis: 0 Padding: 0
  22. Playing /media/nonstop/18_will.i.am_-_it_s_my_birthday.mp3
  23. DEBUG: Updated metadata on /nonstop to: Will.I.Am - ▒▒I
  24. Error during send: Mount failed on http:// xxxxxxx:8001/nonstop, error: Login failed


В конфигах icecast и ices пароли одинаковые. Пробовал ezstream такая же беда. Подозреваю, что-то не то сделал в конфиге icecast но что пока понять не могу.

Конфиг Icecast:

  1. <limits>
  2. <clients>1000</clients>
  3. <sources>10</sources>
  4. <threadpool>5</threadpool>
  5. <queue-size>524288</queue-size>
  6. <client-timeout>30</client-timeout>
  7. <header-timeout>15</header-timeout>
  8. <source-timeout>10</source-timeout>
  9. <burst-on-connect>0</burst-on-connect>
  10. <burst-size>0</burst-size>
  11. </limits>
  12. <authentication>
  13. <source-password>xxxxxxxxxxxxxxxx</source-password>
  14. <relay-password>xxxxxxxxxxxxxxxx</relay-password>
  15. <admin-user>admin</admin-user>
  16. <admin-password>xxxxxxxxxxxxxxxx</admin-password>
  17. </authentication>
  18. <hostname>xxxxxxxx</hostname>
  19. <listen-socket>
  20. <port>8001</port>
  21. <bind-address>IP</bind-address>
  22. <shoutcast-mount>/xxxxxxx-1</shoutcast-mount>
  23. </listen-socket>
  24. <listen-socket>
  25. <port>8001</port>
  26. <bind-address>IP</bind-address>
  27. <shoutcast-mount>/xxxxxxx-2</shoutcast-mount>
  28. </listen-socket>
  29. <listen-socket>
  30. <port>8001</port>
  31. <bind-address>IP</bind-address>
  32. <shoutcast-mount>/xxxxxxx-3</shoutcast-mount>
  33. </listen-socket>
  34. <listen-socket>
  35. <port>8001</port>
  36. <bind-address>IP</bind-address>
  37. <shoutcast-mount>/nonstop</shoutcast-mount>
  38. </listen-socket>
  39. <mount>
  40. <mount-name>/xxxxxxx-1</mount-name>
  41. <username>admin</username>
  42. <password>xxxxxxxxxxxxxxxx</password>
  43. <max-listeners>1000</max-listeners>
  44. <fallback-mount>/nonstop</fallback-mount>
  45. <fallback-override>1</fallback-override>
  46. <fallback-when-full>0</fallback-when-full>
  47. <charset>utf-8</charset>
  48. <hidden>0</hidden>
  49. <public>1</public>
  50. </mount>
  51. <mount>
  52. <mount-name>/xxxxxxx-2</mount-name>
  53. <username>admin</username>
  54. <password>xxxxxxxxxxxxxxxx</password>
  55. <max-listeners>1000</max-listeners>
  56. <fallback-mount>/nonstop</fallback-mount>
  57. <fallback-override>1</fallback-override>
  58. <fallback-when-full>0</fallback-when-full>
  59. <charset>utf-8</charset>
  60. <hidden>0</hidden>
  61. <public>1</public>
  62. </mount>
  63. <mount>
  64. <mount-name>/xxxxxxx-3</mount-name>
  65. <username>admin</username>
  66. <password>xxxxxxxxxxxxxxxx</password>
  67. <max-listeners>1000</max-listeners>
  68. <fallback-mount>/nonstop</fallback-mount>
  69. <fallback-override>1</fallback-override>
  70. <fallback-when-full>0</fallback-when-full>
  71. <charset>utf-8</charset>
  72. <hidden>0</hidden>
  73. <public>1</public>
  74. </mount>
  75. <mount>
  76. <mount-name>/nonstop</mount-name>
  77. <username>admin</username>
  78. <password>xxxxxxxxxxxxxxxx</password>
  79. <max-listeners>1000</max-listeners>
  80. <charset>utf-8</charset>
  81. <hidden>0</hidden>
  82. <public>1</public>
  83. </mount>
  84. <fileserve>1</fileserve>


Остальной конфиг думаю не интересен будет.

Отредактировано Ramzes44 - 31.07.2014
0
2
Ramzes44 @Ramzes44
Конфиг ices:


  1. <Playlist>
  2. <File>/media/nonstop/playlist.txt</File>
  3. <Randomize>1</Randomize>
  4. <Type>builtin</Type>
  5. <Module>ices</Module>
  6. <Crossfade>5</Crossfade>
  7. </Playlist>
  8. <Execution>
  9. <Background>1</Background>
  10. <Verbose>0</Verbose>
  11. <BaseDirectory>/tmp</BaseDirectory>
  12. </Execution>
  13. <Stream>
  14. <Server>
  15. <Hostname>xxxxxxxx</Hostname>
  16. <!-- Port of the same -->
  17. <Port>8001</Port>
  18. <Password>xxxxxxxxxxxxxxxx</Password>
  19. <Protocol>http</Protocol>
  20. </Server>
  21. <Mountpoint>/nonstop</Mountpoint>
  22. <Name>XXXXXXX stream</Name>
  23. <Genre>Default genre</Genre>
  24. <Description>XXXXXXX nonstop</Description>
  25. <Public>1</Public>
  26. <Bitrate>192</Bitrate>
  27. <Reencode>0</Reencode>
  28. <Channels>2</Channels>
  29. </Stream>
  30. </ices:Configuration>

0





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

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