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

RME 9632 + liqiudsoap

 

14
Иван_Владимирович @Иван_Владимирович
Доброго дня,
ребята нужен хелп туплю уже второй день
ни как не могу захватить звук с карты через мыло... видимо что то делаю не так. вот конфиги
  1.  
  2. #!/usr/bin/liquidsoap -v
  3. set("frame.audio.samplerate",48000)
  4. set("frame.audio.channels",2)
  5. set("root.max_latency",30.)
  6. set("tag.encodings",["UTF-8"])
  7. set("alsa.alsa_buffer",60) #0
  8. set("alsa.buffer_length",128) #1
  9. set("alsa.periods",0) #0
  10. radio = input.alsa(device="hw0,0")
  11. output.icecast(%mp3(stereo=false, bitrate=16, samplerate=22050),
  12. host="127.0.0.1",
  13. port=8000, password="pass", genre="Muzic",
  14. description="RADIO", mount="/radiorbs",
  15. name="FM", user="source",
  16. url="http://www.radiorbs.md", radio)


Log iquidsoap
  1.  
  2. 2016/08/04 13:26:29 >>> LOG START
  3. 2016/08/04 13:26:29 [protocols.external:3] Found "/usr/bin/wget".
  4. 2016/08/04 13:26:29 [main:3] Liquidsoap 1.1.1
  5. 2016/08/04 13:26:29 [main:3] Using: graphics=[distributed with Ocaml] pcre=7.0.2 dtools=0.3.1 duppy=0.5.1 duppy.syntax=0.5.1 cry=0.2.2 mm=0.2.1 xmlplaylist=0.1.3 lastfm=0.3.0 ogg=0.4.5 vorbis=0.6.1 opus=0.1.0 speex=0.2.0 mad=0.4.4 flac=0.1.1 flac.ogg=0.1.1 dynlink=[distributed with Ocaml] lame=0.3.2 shine=0.1.1 gstreamer=0.2.0 frei0r=0.1.0 voaacenc=0.1.0 theora=0.3.0 schroedinger=0.1.0 gavl=0.1.5 bjack=0.1.4 alsa=0.2.1 ao=0.2.0 samplerate=0.1.2 taglib=0.3.1 magic=0.7.3 camomile=0.8.4 inotify=1.0 faad=0.3.2 soundtouch=0.1.7 portaudio=0.2.0 pulseaudio=0.1.2 ladspa=0.1.4 dssi=0.1.1 sdl=0.9.1 camlimages=4.0.0 lo=0.1.0 yojson=1.1.7 gd=1.0a5
  6. 2016/08/04 13:26:29 [dynamic.loader:3] Could not find dynamic module for fdkaac encoder.
  7. 2016/08/04 13:26:29 [dynamic.loader:3] Could not find dynamic module for aacplus encoder.
  8. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/faad.cmxs.
  9. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/cry.cmxs.
  10. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/ogg.cmxs.
  11. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/pulseaudio.cmxs.
  12. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/lame.cmxs.
  13. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/alsa.cmxs.
  14. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/flac.cmxs.
  15. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/voaacenc.cmxs.
  16. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/vorbis.cmxs.
  17. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/flac_ogg.cmxs.
  18. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/mad.cmxs.
  19. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/taglib.cmxs.
  20. 2016/08/04 13:26:29 [frame:3] Using 48000Hz audio, 25Hz video, 48000Hz master.
  21. 2016/08/04 13:26:29 [frame:3] Frame size must be a multiple of 1920 ticks = 1920 audio samples = 1 video samples.
  22. 2016/08/04 13:26:29 [frame:3] Targetting 'frame.duration': 0.04s = 1920 audio samples = 1920 ticks.
  23. 2016/08/04 13:26:29 [frame:3] Frames last 0.04s = 1920 audio samples = 1 video samples = 1920 ticks.
  24. 2016/08/04 13:26:29 [threads:3] Created thread "generic queue #1".
  25. 2016/08/04 13:26:29 [threads:3] Created thread "generic queue #2".
  26. 2016/08/04 13:26:29 [threads:3] Created thread "input.alsa_4870" (1 total).
  27. 2016/08/04 13:26:29 [input.alsa_4870:3] Using ALSA 1.0.27.2.
  28. 2016/08/04 13:26:29 [/radiorbs:3] Connecting mount /radiorbs for source@127.0.0.1...
  29. 2016/08/04 13:26:29 [threads:1] Thread "input.alsa_4870" aborts with exception Alsa error: No such file or directory!
  30. 2016/08/04 13:26:29 [/radiorbs:3] Connection setup was successful.
  31. 2016/08/04 13:26:29 [threads:3] Created thread "wallclock_alsa" (1 total).
  32. 2016/08/04 13:26:29 [clock.wallclock_alsa:3] Streaming loop starts, synchronized by active sources.
  33. 2016/08/04 13:26:29 [main:3] Shutdown started!
  34. 2016/08/04 13:26:29 [main:3] Waiting for threads to terminate...
  35. 2016/08/04 13:26:29 [/radiorbs:3] Closing connection...
  36. 2016/08/04 13:26:29 [clock.wallclock_alsa:3] Streaming loop stopped.
  37. 2016/08/04 13:26:29 [threads:3] Thread "wallclock_alsa" terminated (0 remaining).
  38. 2016/08/04 13:26:29 [main:3] Cleaning downloaded files...
  39. 2016/08/04 13:26:29 [main:3] Freeing memory...
  40. 2016/08/04 13:26:29 >>> LOG END

Прошу ткните носом в ошибки) делаю первый раз)

Отредактировано Иван_Владимирович - 04.08.2016
0
29
Григорий @gyurgin_1_3
Какая система и .asoundrc покажите.

0
14
Иван_Владимирович @Иван_Владимирович
gyurgin_1_3 пишет:

Какая система и .asoundrc покажите.

Система ubuntu 14.04 LTS .asoundrc не настраивал щас вот гуглю. звук у меня выходит с пульта и заходит в SPDIF

0
14
Иван_Владимирович @Иван_Владимирович
Ребята мне все еще нужен хэлп.
вот инфа с aplay -l
  1.  
  2. **** List of PLAYBACK Hardware Devices ****
  3. card 0: DSP [Hammerfall DSP], device 0: RME Hammerfall HDSP 9632 [RME Hammerfall HDSP 9632]
  4. Subdevices: 1/1
  5. Subdevice #0: subdevice #0

звук подан на spdif в микшере видно что звук есть.
но не могу захватить его вернее не умею.

Отредактировано Иван_Владимирович - 06.08.2016
0
29
Григорий @gyurgin_1_3
При чем тут aplay, Вам же arecord нужен. Что совсем нет опыта работы с аудио на linux? Но это не так страшно, надо все равно настраивать alsa, сходите на **********, так наверно быстрее дело пойдет.

0
14
Иван_Владимирович @Иван_Владимирович
gyurgin_1_3 пишет:

При чем тут aplay, Вам же arecord нужен. Что совсем нет опыта работы с аудио на linux? Но это не так страшно, надо все равно настраивать alsa, сходите на **********, так наверно быстрее дело пойдет.

нет опыта с аудио нету)
  1.  
  2. **** List of CAPTURE Hardware Devices ****
  3. card 0: DSP [Hammerfall DSP], device 0: RME Hammerfall HDSP 9632 [RME Hammerfall HDSP 9632]
  4. Subdevices: 1/1
  5. Subdevice #0: subdevice #0


вот arecord что выдает

0