{"id":37,"date":"2005-04-21T09:09:58","date_gmt":"2005-04-21T14:09:58","guid":{"rendered":"\/?p=37"},"modified":"2005-04-21T09:09:58","modified_gmt":"2005-04-21T14:09:58","slug":"wruv-icecast","status":"publish","type":"post","link":"https:\/\/blog.uvm.edu\/waw\/2005\/04\/21\/wruv-icecast\/","title":{"rendered":"WRUV icecast"},"content":{"rendered":"<p>What a pain this has been, but at least it&#8217;s now working, sort of.    <\/p>\n<p>I found something called esd sound daemon, ported to MacOSX via darwin   ports project. Needed a bit of a hack to work with Griffin iMic USB   sound input, but it works. <\/p>\n<ul>\n<li>Wrote a perl script to start esd sound daemon at   startup. esd captures   sound, does nothing with it. <\/li>\n<li>Wrote a perl script to launch <span style=\"font-style: italic\">encoder<\/span> at startup. <\/li>\n<li>esdrec grabs sound from esd, pipes it   through stdout. <\/li>\n<li>lame encodes it. <\/li>\n<li>Another custom perl script uses   libshout and Shout.pm perl mod to send sound to icecast server. <\/li>\n<\/ul>\n<p>\nSo, the   <span style=\"font-style: italic\">encoder<\/span> looks like this    <\/p>\n<div style=\"margin-left: 40px\">\n<pre><font size=\"1\">\/usr\/local\/bin\/esdrec | \/usr\/local\/bin\/lame -b 256 - - | \/usr\/local\/bin\/ice_send.pl \/usr\/local\/etc\/ice_send_256.conf<\/font><\/pre>\n<\/div>\n<p>\nice_send_256.conf has the server name, password, username, and mount   point for the stream. <\/p>\n<p>Actually doing two streams    <\/p>\n<pre style=\"margin-left: 40px\"><font size=\"1\">\/usr\/local\/bin\/esdrec | \/usr\/local\/bin\/lame -b 128 - - |  \/usr\/local\/bin\/ice_send.pl \/usr\/local\/etc\/ice_send_128.conf<\/font><\/pre>\n<p>\nBeen using weasel as server and source, now using wruv mac as source.   been using weasel, badger, and now funnelweb as server. Listen at     <a href=\"http:\/\/funnelweb.uvm.edu:8005\/wruv_test_128.m3u\"> http:\/\/funnelweb.uvm.edu:8005\/wruv_test_128.m3u<\/a>   <a href=\"http:\/\/funnelweb.uvm.edu:8005\/wruv_test_256.m3u\"> http:\/\/funnelweb.uvm.edu:8005\/wruv_test_256.m3u<\/a><\/p>\n<p>meanwhile, Brian Bittman, external WRUV non-student volunteer, has been   setting up an alternate linux box for encoding. Which will ultimately   be used is to be determined.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What a pain this has been, but at least it&#8217;s now working, sort of. I found something called esd sound daemon, ported to MacOSX via darwin ports project. Needed a bit of a hack to work with Griffin iMic USB &hellip; <a href=\"https:\/\/blog.uvm.edu\/waw\/2005\/04\/21\/wruv-icecast\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6517,8026,141],"tags":[],"class_list":["post-37","post","type-post","status-publish","format-standard","hentry","category-projects","category-systems-and-servers","category-video"],"_links":{"self":[{"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/posts\/37","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/comments?post=37"}],"version-history":[{"count":0,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/posts\/37\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/media?parent=37"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/categories?post=37"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/tags?post=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}