Software :: Multiple Sources For Icecast?
Jan 19, 2011If I have a icecast program broadcasting to the net, and I want ppl from around the world to connect to it and mix their own audio into the stream ,what do I do?
View 6 RepliesIf I have a icecast program broadcasting to the net, and I want ppl from around the world to connect to it and mix their own audio into the stream ,what do I do?
View 6 RepliesI have to implement a client/server solution that pretty much does this:
1) Client broadcasts UDP packet;
2) client receives answer packet from multiple servers - it includes the TCP port to use next and a list of files;
3) user picks file from list;
4) client downloads from server via TCP.
I got the client to broadcast and the servers reply. However, i'm not yet getting the client to be able to receive multiple packets.
I'm very inclined and have tried to implement select, but most examples i find are for stream sockets. Once the fsSet shows a read event would i create a new socket or just use the main socket for recvfrom()ing? I assume i need at least two sockets. However i'm not sure if this will allow the client to actually receive simultaneously... so i'm kinda not wanting to guess that this implies fork and threads... Also, i assume the socket must be nonblocking (done), although i've read somewhere select would take care of this?
i'm using optical s/pdif output, called "hda intel, ad198x digital (iec958 (s/pdif) digital audio output)" in phonon preferences. sounds works just fine -- except i can't use multiple audio sources simultaneously: for example amarok+videos is a no-no. only the first audio source plays, so i have to close amarok in order to listen to any flash videos. i had this problem already with opensuse 11.2, but couldn't figure it out (using 11.3 now).
i just recently got a hunch that it might have something to do with mixing and the s/pdif, and i tried using analog output ("hda intel (ad198x analog)"). lo and behold, it works! amarok+flash that isash still doesn't still consider this a major leap forward.however, i'd like to keep using my optical output.
i need a mod with the option multiple alternate sources download.
View 9 Replies View RelatedI have suspicious requests in my haproxy logs from multiple sources to the same target. I could deny them in /etc/hosts.deny, but there are too many to keep track of. Is there a way to deny all requests to a specific target either in haproxy or through iptables?
Here's an example of the request: Apr 12 15:11:37 127.0.0.1 haproxy[28672]: 41.105.42.150:27072 [12/Apr/2011:15:11:37.315] web_servers frontend_farm/######## 3/0/1/1/169 404 1073 - - --NI 3/3/2/1/0 0/0 "GET /images/comment_icon.gif HTTP/1.1"
I've commented out my amazon instance id for security purposes. The request is for comment_icon.gif which does not exist. All requests go to that. The source IPs are from different countries as well. Blocking a certain country won't work either. Basically, if there was a way to send all requests for comment_icon.gif to /dev/null or something it would work.
I've got the following problem: I just noticed that there were just very few notifications about updating the system (usually there are damn many of them in a week) So I opened the update manager and clicked on "refresh list". The following result popped up: p,li{white-space:pre-wrap;}E: Error http://ppa.launchpad.net natty/main/Sources Sources 404 Not Found First I thought, it would be just some kind of server problem, but it didn't stop. The next thing was to research the thread and I even found something. However, the solution suggested didn't work at all. (Things, which might have caused this: I installed the default software center |I'm using Kubuntu, but in this case that fact doesn't matter| and used it. To sum up:
- not able to update the system referring to the launchpad main sources for 11.04
- following error: E: Error http://ppa.launchpad.net natty/main/Sources Sources 404 Not Found It would be great if this was a common issue and I've been simply too stupid to find a proper solution. So you could just post the link.
I am running Jolicloud on my netbook (which I believe is an Ubuntu derivative) and I am tried to enter the getdeb.net sources in so I can install apps from the website through APT but
1) When I entered the sources into sources.list and then the key into Terminal and then went to the site and tried to install an app it didn't work.
2) I deleted the line of code in the sources.list file and when I opened terminal and entered "sudo apt-get update" it showed the list of sources, but on the list were Getdeb.net sources.
My question is how do I delete sources that aren't in /etc/apt/sources.list ?
I am installing a hp officejet pro 8500 all in one printer to knoppix 6.0.1. install hangs saying i need to disable cd sources in etc/apt/source.list. How do i do this?
View 1 Replies View RelatedI am trying to set up an MPD and ICECast box and i have it all working, with one small problem.
ufw / iptables is not allowign me to connect to my mpd daemon.
I do get an error on mpd startup:
Code:
root@HOSTNAME/var/log/mpd# /etc/init.d/mpd start
* Starting Music Player Daemon mpd listen: bind to 127.0.0.1:6600 failed: Address already in use (continuing anyway, because at least one address is bound)
[ OK ]
[Code]....
I'm sort of at my wit's end with this one, both with reading what i can of the documentation and online as well. I am running Slackware 13.37 32bit on my netbook and want to use it as a music server over my LAN.
I have many ogg and mp3 files on my machine I want to let people listen to on my local LAN. I have divided them by genre and placed (full path) into /home/icecast/$genre.pls on the machine that I would like to use to serve the music. The music files physically exist on the machine I would like to use as the server, so it's /home/user/Music/$genre/*. I made sure the icecast user on this machine ("asus") is a bonified user and has access to /home/user/Music/$genre as read-only (or read & execute for directories in it). The music stash on asus (the server) is /home/user/Music/$genre/$artist/$album/$title.$extension etc
I configured Icecast the best I know how, then realized I need Shoutcast itself. I configured Shoutcast the best I know how and fired it up with my playlists, same result. I have no streams/sources/anythings.
I've read everything and I don't know why it's not working. Does someone have any example configs for a LAN-only way to stream audio to others (friends) in a way that they cannot copy the music off (similar to shoutcast)?[URL]...
(Passwords and users were removed from the .xml/.conf but exist in the versions I am/was trying to use.)
Please note that it says .ogg but the file is actually a .pls style file (just a text file list of file names in static form, i.e. /home/user/Music/Rock/Who/Are/You.ogg) Icecast starts fine from other computers but no streams are listed. Shoutcast also loads fine from other computers but no streams are listed. I could swear I read or gathered from the pages I read that I can host right from specific .pls-type files (text file with a literal local file listing).
I'm trying to get configured: (domain.com to be used for the purpose of explaining setup)
Root/naked domain (domain.com/www.domain.com) to be setup and configured with Apache/PHP/MySQL. Then radio.domain.com being controlled by IceCast with multiple streams (some live, some MP3 based).
The primary domain is already setup and configured under Apache, and IceCast is already installed, but here is where the problems start showing up.
It's my understanding that Ices2 cannot serve MP3's but only OGG files through IceCast. So just for the sake of testing and wanting to get a sample stream working, I placed a public domain OGG file into /etc/icecast2/music/ and called it "book.ogg."
Then the following are my configuration files: /etc/icecast2/icecast.xml
HTML Code:
We install liveice and icecast version 2.3.Liveice is on a computer on our network. icecast is on a computer on the remote site. the computer with icecast hava a fixed IP 201.122.78.13.When we access the computer with the icecast server we do not see any stream. But computer have ubuntu version 9.10LTS.How can we verify that the stream is reaching. liveice and icecast are runing, but we do not see the stream...liveice read form soundcard..we want to broadcast a live program on the internet..
View 26 Replies View RelatedI run my own icecast2 server. In the near future it looks like, I will be doing some shows. I would like to beable to change my link, so if I am broadcasting, to go to the stream if not pop a box for my schedule.Now from when I was checking to see if my webcam was up or not, i used this.does anyone know haw to change my code for this? I know when I'm not stream it generates a 404 error, in winamp (on windows)
View 3 Replies View RelatedI have following error when trying to lauch Icecast:
Starting icecast2: start-stop-daemon: Unable to set gid to 121 (Operation not permitted)
I've been trying to set up MPD & Icecast to stream my music to my HTC Incredible. I have it set up now to the point that I can open my stream on my laptop through VLC. I can also open my icecast server on my phone's web browser, however, when I try to open up the stream in StreamFurious it seems to download, but then upon finishing says something to the effect of "Broken Pipe - Stopped"
View 3 Replies View RelatedI'm starting an online Internet radio station and my server Linux Distro is Red Hat Enterprise Linux ES release 4 (Nahant Update 4) and I want to install icecast so I can stream music and video onto my website. I already check the package manger to see if it was there and it was not so how do I install icecast?
View 3 Replies View RelatedI want to configure icecast2 server with authentication in mount point so i did as was in help file but was not able to add user in htpasswd file
config file details
=====================
<mount>
<mount-name>/live</mount-name>
<max-listeners>500</max-listeners>
<max-listener-duration>3600</max-listener-duration>
<charset>ISO8859-1</charset>
<public>1</public>
[Code]...
I am a college broadcaster developing both websites for the stations I work for. We have recently switched from streaming exclusively in Apple Quicktime .mov (which gave constant headaches for myself and others involved behind-the-scenes) to that of an Icecast MP3 pls stream. The stream works within Rhythmbox v0.12.8, Audacious v2.3 and Totem Movie Player v2.30.2. However, I'm in a bit of a bind in regards to streaming this Icecast pls file within Ice Weasel v3.6.13 using Debian GNU/Linux 6.0.How can I code these sites so that Totem Movie Player plays the stream within the web page? Also, where it states object type="video/quicktime"
View 2 Replies View RelatedSo I am (excitedly frustrated) 3-4 months from the first working install of my linux server. So I am setting up a team to work on the server, I have a couple questions. first what the server will do.The server will host icecast (internet broadcasting program similar to shoutcast), podcast versions of said shows, and a website.
1. Will icecast or similar interfere with normal hosting of the website (though they are coming from the same server I believe its broadcasted on different ports so I imagine not)
2. Should I use a seperate server to store the mp3's or is it ok to keep them where on the same machine ( I would like to keep them on the same machine, logicly I would think it would cut down on load time)
3. I am worried about server maintaince in the way of hackers n such as well as hardware and software, memory usuage, bandwidth is there a checklist and maybe a way to automate this.
I should clarify, I know how to tell schedule a task but what if I need it in perverbial safe mode (yay windows) and I can't be there for it to happen and when its finished return to work as usual by its self.
4. I was thinking my content (file) manager, server maintainer, and I would have access to wlan when we can't physically be there, is this safe? Can I make it safer? What about ftp for my webdesigners and podcasters?
5. I started having doubt about myself using linux (ubuntu server) because for cost saving I am sacrificing a gui as well as general knowledge. I have previously installed and got working a server in linux before but I don't know what hole I could have possibly left open. Question would it be better and easier to use someone else to host my site for me such as amazon or o-f.com or should I keep going with linux, or buy windows server?
I've been trying for the past week to install an icecast server on my centos 5 VPS hosted through phurix.
I've tried compiling it, installing it from RPM. but im getting nowhere. Has anybody had any luck installing it, who wouldn't mind explaining how they went about it?
I've searched google for hours on end and all I can come up with is generic cent os 4 guides that just wont work. Im not the best when in comes to linux. I do a great job of copying and pasting to a shell prompt and can use ftp etc.
if this is any use.. heres the last output from my last attempt and compiling it...
[root@vps613 icecast-2.3.2]# ./configure --prefix=/usr/local/icecast
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
[Code]...
I'm trying to connect one computer to two others in an ad-hoc infrastructure.
[computer 1] ---- [computer 2] ---- [computer 3]
computer 2 is running Linux and has a single NIC wlan0. I want to it to connect to both computer 1 and computer 3 so each computer can talk to the other. No switch is available so it needs to be an ad-hoc setup.
[Code]...
I am to rename all the files within a directory (which contains multiple subdirectories) recursively without invalid characters.
I tried the coding posted above.
find . -type f -printf '%p
' | while read file; do
oldfile=$(basename "$file")
newfile=$(echo "$oldfile" | sed 's/[^A-Za-z0-9_.]/_/g')
if [ ! "$newfile" == "$oldfile" ]; then
echo mv "$file" "${file%$oldfile}$newfile"
code....
but I get an error on both of them stating "find: bad option -printf find: [-H | -L] path-list predicate-list"
I'm starting to have A LOT of opened windows in my machine. Sometimes within a project, I have e-mail/task management/personal e-mail/twitter, and a lot of different opened applications/terminals in my Linux workstation.Sometimes it would be interesting to have different workspaces to projects instead of this configuration I have nowadays that are classes of work (bad name, I know, but I think you got the idea).I'm starting to think about using two monitors: one with Corporate Management, Work and Personal. The second monitor is only the development state: each workspace here is about a project being worked on instead of groups of works like before. A workspace may be implementing different classes for example.
My question is: I just want to change to a second monitor using the mouse. I want to still be able to change workspaces in the same monitor using keyboard shortcuts. The keyboard shortcuts wouldn't change monitors, just worskpaces on the same monitor. All the tutorials I read (like this one) only tells how to use multiple monitors but doesn't answer my question about keyboard shortcuts.Does Linux (Ubuntu 10.04 Lucid Lynx or Debian 5.0.5 Lenny) support this envisioned setup (Different workspaces in a way that keyboard workspace switching only works in the current monitor) ? If so, how?I haven't tested this setup, that's why I'm asking. In this question the user says it works exactly how I want it to behave, can someone else confirm it?
We are working on a project to create a display wall of 8 monitors arranged as 2 high by 4 wide. Each monitor is connected to a single machine and all machines are networked with a master machine with its own, seperate monitor.
Our goal is to get the 8 machines to share a single desktop, with the master machine acting as the server. We have looked at using Xinerama or NMM, but we are unsure about how to get started configuring the multi-machine, multi-head display.
My ubuntu 10.04 has two monitors connected both being treated as individual desktops.But only one desktop is showing the wifi network icon in the notification area.Is it possible to have more than one wifi icon going at one time?
View 1 Replies View RelatedI'm using Ubuntu 10. I want to apply different themes for desktops.. I want to apply windows 7 theme,ubuntu, mac os themes for my multiple desktops
View 1 Replies View Relatedhave a large amount of 7z files in multiple folders which I need to extract.The directory structure is like this:
/main-folder/
multiple subfolders/
1 or more 7z files per subfolder
I would like to get the output of this action in one separate folder, all together in 1 folder.How can I do this?
I often use the rpl command to make changes to multiple html files at once. For example:
rpl -R '<br />' '<br /><br />' mydirectory However, I haven't been able to figure out how to change multiple lines. For example, let's say I want to change all occurrences of :
<br />
<br />
to:
<br />
I've tried
rpl -R '<br />
<br />' '<br />' mydirectory
but that didn't work. how to do this with rpl or some other way?
I have an old pentium 3 computer that has ~7 NICs installed. These NICs are attached to modems and other networking equipment. According to the linux ping page on computerhope.com, it seems that one could send a ping from a certain specified NIC. How would one go about this?
View 6 Replies View RelatedI'm looking at setting up a couple automated systems: Here are a few examples:
* Internal accounting system to download and process emails
* Public web server to visit
I could put each system on its own separate box -- for example, it's generally good practice to separate anything that external users have access to (such as a webserver) from internal processes such as accounting. Now, rather than dishing out the money for two separate servers, could I get away with just installing new instances of VMWare on the same box for each system?
To give you an idea, these are not large scale computationally sensitive systems. The accounting one is simply downloading and tallying emails, and the latter is just a webserver with maybe 5 hits per day on a good day. I could definitely pick up a new box for say $50, but I wanted to know the general practice of using VMWare on the same box versus two separate boxes.