Activity Log

  • Worked out issues with esd sound daemon on Mac OS with USB sound input as implimented on WRUV X-Serve
  • Found a tad more disk space on badger for dSpace
Posted in Dspace, Projects, Scripts - Programming, Systems and Servers | Leave a comment

More WRUV Streamcasting

I spent most of today hacking at the esound code, and found the answer.

At this very moment,

    http://www.uvm.edu/cit/wruv.m3u

is employing the WRUV G4 Xserve for encoding.

Or it was, as of 10:48 AM. We’ll see

  • how long it stays up
  • if it come back automatically after system reboot
  • if the breaks up while DJ uses computer

Brian Bittman states:

and besides i think we can use that as our station archiver instead (recording the stream for on-demand streaming… this is another matter, go ahead ask)

podcasting?

are you comfortable with a linux box?  i’ve got a slackware 10.1 installation running on an athlon 550 with 90mb ram – i think it’ll pull it off but i haven’t really gotten to that part yet.  if it works, than we can encode on that, at the station, and have it send the stream to the darwin box at cit.

Worth a try

than as far as using darwin goes, there are a million and one shoutcast compatible server apps out there, why not pick one, they are all free – then we could use the features that shoutcast offers?  but i *do* think that having the server at cit is a good idea, that makes a lot of sense for many reasons, so i’m not arguing with that.  i just think that maybe using quicktime is a step backwards.

We’re not using QuickTime. We’re using a shoutcast Mp3 stream. It just happens to come from  Darwin Streaming Server rather than a true shoutcast server.

But yes, I see your point, and installation of an alternate server is on my do-list. So is going to British Columbia for a week+ of skiing, leaving Thursday night, be back Monday Feb 28.

so when i’ve got this machine streaming for real i’ll ping you again.  probably early next week, hope to get this done this weekend.

Until I or TSG gets an alternate CIT streaming server running, I do have another QTSS you can use for testing. It is behind the campus firewall, so you’ll need to either set up your encoder and listen on-campus or use the Cisco VPN client if off-campus (for both encoding and listening). I think this is the right info

weasel.uvm.edu
port 8000
password xxxxxxx
stream URL http://weasel.uvm.edu:8000/
Posted in Projects, Scripts - Programming, Systems and Servers, Video and Audio | Leave a comment

Dspace Needs a new home

The non-production, unsupported, unauthorized "test" version of Dspace, currently found at

    http://badger.uvm.edu/dspace

has hit the wall: interest in the Dspace platform has been sufficient to pretty much fill the tiny 14GB drive installed in badger — in fact, I did fill it last Thursday, upsetting a couple of researchers. I now have a (funded) researcher on my back looking to upload another GB of stuff.

Anyway, it needs a new home, and it is time to go production.

Dspace runs as a web application under the Tomcat-Jakarta java server. It also uses postgreSQL as a database server (or, with the latest version of Dspace, Oracle, but not mySQL). badger is currently running Fedora core. I also have a test Dspace installation on weasel.uvm.edu, running Mac OS X. QUite frankly, it was easier to install on OS X than Fedora: fewer Java installation and configuration issues. It doesn’t need a whole lot of horsepower, but it could conceivably use a mess of desk space.

Keith asked Steve to ask ACS people to file Project Plans. My plan includes making Dspace a production application. Fine, so I asked Steve yesterday, what now? he said write a one page proposal, and spec out a server.

So I did: a $10,000 Xserve with Xserve-raid or a more modest $4600 starter set

But I imagine TSG has other ideas, maybe even a concern or two. I would like to hear them.

Wesley’s Pirate DreamSpaceServer

  • Dual 2.3GHz PowerPC G5
  • 2GB DDR400 ECC SDRAM – 2x1GB
  • 80GB ADM (1x80GB Serial ATA boot disk)
  • Combo Drive (DVD-ROM/CD-RW)
  • Fibre Channel PCI-X card – (lower slot)
  • PCI video card (upper slot)
  • Xserve RAID (4x250GB)
  • Mac OS X Server, Unlimited License
  • Mac OS X Server Maintenance 36 Mths Unl. Client (Single Server), price per server

Subtotal $10,477.00

Wesley’s LittleSpaceServer

  • 2GHz PowerPC G5
  • 2GB DDR400 ECC SDRAM – 4×512
  • 880GB ADM (1×80 (boot) & 2x400GB Serial ATA (software raid)
  • Combo Drive (CD-RW/DVD-ROM)
  • PCI video card (upper slot)
  • Mac OS X Server, Unlimited License
  • Mac OS X Server Maintenance 36 Mths Unl. Client (Single Server), price per server

Subtotal $4,618.00

Posted in Dspace, Projects | Leave a comment

Activity Log

Posted in Documentation, Dspace, ElectronicArts, Projects, Systems and Servers | Leave a comment

WRUV Streaming Discussions

CIT already has a functioning MP3 ShoutCast-like server in the form of Darwin Streaming Server 4 (I’d like at least 5, but our Technical Service Group (TSG) has been busy with other things and hasn’t had time to install it) on quicktime.uvm.edu . But it is only "Shoutcast-Like", and seems to be missing some features of a "real" Shoutcast or Icecast installation. One can argue whether the missing features are important or not. Bottom line is, it works, it is installed and configured, it’s on a bona-fide and blessed CIT server (big old Sun box, same one housing real.uvm.edu).

Network Services can be a bigger PITA to deal with than even me. I haven’t been able to successfully get a firewall waiver from them, and I have my doubts that WRUV will be able to, either, without some UVM staff or faculty member lending their name to the application (and I wouldn’t even recommend my name, because like I said, I haven’t been able to successfully get a firewall waiver myself). So, using a CIT server can save the station a lot of fuss and bother — if they are willing to accept some compromises. Compromises such as getting something not exactly to your specification but perhaps good enough, and dealing with the 800 lump of clay that can be CIT (just big enough to be as unwieldy as an aircraft carrier, yet still understaffed to keep our 11,000+ clients happy. Ever been in our machine room? I was touring Art Students through there yesterday — there has to be 100+ servers in there, and this an upcoming administrative project is going to add another 50 or more — running a mix of AIX, SunOS, Redhat Linux  ES, and Fedora Core — and we have but three functioning unix admins).

CIT (Client Service) also officially "supports" Win XP and Mac OSX, but not Linux (don’t blame me).

WRUV either has no money or mismanages what it has. But it does have a 1.25 GHz X-Serve G4 rack mounted server in the engineer’s closet, attached to a big-ass monitor, keyboard, and mouse in the broadcast booth. There is a audio line in from the board to this server via a Griffin iMic USB audio device, as rack mounted servers usually don’t have sound cards. I forget what flavor of OS X  was on it, but it apparently was old and unmaintained and getting cranky, so at LJ’s request I wiped it clean recently and fresh-installed OS-X 10.3 (client, not server) and all the updates available at the time, so probably 10.3.4 or so.

OK, so OS X isn’t Linux. But it is Unix, and at the command prompt it is awful hard to tell the difference. My goal was similar to yours: to find a command-line MP3 encoding utility that I could launch during system startup and that would run happily in the background without any user intervention. I could then also launch it to run as owned by the default login user of the said Mac, thus allowing me to write a simple AppleScript interface that would have the proper permissions to relaunch the command-line  utility just in case it did crash or lose contact with the streaming server.

Using a test server in my office (weasel.uvm.edu), I cobbled together three utilities. The "Enlightened Sound Daemon" (esd, found at  http://www.tux.org/~ricdude/EsounD.html); the lame MP3 encoder (http://lame.sourceforge.net/); and the icecast libshout2 library (http://lame.sourceforge.net/ ).

The Enlightened Sound Daemon is launched first. It grabs the audio from (iirc) /dev/audio , and holds onto it until requested by one of its associated utilities; in particular, esdrec. esdrec outputs from the sound device’s current input. I obtained the "Darwin Ports" version of esd — one that had been hacked to run under Darwin/OS-X

Lame performs the encoding.

the icecast libshout2 library contains an example.c program that implements a simple ices-like source client that sends stuff to a designated icecast or shoutcast server.

My command line, then, after launching the esd daemon, was something like this

    usr/local/bin/esdrec | /usr/local/bin/lame -b 128 - - | /usr/local/bin/wruv_ice

where wruv_ice was my version of the libshout2 example program, with various "shout_set_name", "shout_set_host" parameters hard-coded for our Darwin Streaming Server.

It took a couple of days to get this all working right — esd was a bugger (authentication model had little documentation), but by gosh, it worked like a charm: sound was streamed automatically at system boot, and the Applescript utility had a simple interface (click "Start Stream" or "Stop Stream") that any idiot DJ could use if the stream went down (or they could just reboot, if that’s what they wanted to do).

On my Mac. But the Darwin Ports version of esd does not recognize USB sound. So on the Station server, nothing happened.

That was all in early November. I spent a little time trying to find a better esd hack, but came up empty, and I put the project on the back burner.

My backup plan, if time allows and I feel like continuing, was/is to try the semi-commercial Audion 3 application (hidden at http://www.panic.com). That’s what is running now on weasel.uvm.edu, providing the source for http://www.uvm.edu/cit/wruv.pls . But, like any other similar windowed application, it requires user to fill in the blanks and click OK and probably won’t work right if it works at all launched from a command line. I hope to take a crack at running it in the background later this week, if time permits.

And yes, I’d also like to try out icecast server and shoutcast server on weasel.uvm.edu (behind firewall in my office) or badger.uvm.edu (outside firewall in machine room — one and only server there for which I have root access ) before asking TSG if they would be willing to install it somewhere.  TSG is feeling a little over-extended right now

Posted in Projects, Systems and Servers, Video and Audio | Leave a comment

Activity Log

  • quicktime versus avi files questions from c mazzoni
  • mysql use and admin questions from Daniel Lefebvre daniel@binaryblacksmith.com, K Hytten
  • iTunes/MP3 questions from J Schwartz
  • g Mora-Klepeis questions about dspace admin
  • more discussions of WRUV MP3 streaming with b bittman
Posted in Dspace, MacOS Support, mysql, Projects, Video and Audio | Leave a comment

Activity Log

  • fixed issue with software downloads page edit features
  • dealt with dspace disk space issues
  • mysql admin issues for k Hytten, c Balduino,  b bittman
  • php consult for j bellum
  • dspace upload format questions from g Mora-Klepeis
  • long conversations with brian bittman/wruv re: streaming solutions for WRUV
  • taught art classes for kathy
Posted in Dspace, ElectronicArts, mysql, Projects, Scripts - Programming, Video and Audio | Leave a comment

Activity Log

  • met with k marmor to discuss me teaching her classes while she is gone
  • mysql admin issues for fiona abbott
  • more g nunley dreamweaver issues
Posted in Dspace, ElectronicArts, mysql, Projects, Web Publishing Support | Leave a comment

Activity Log

  • mysql admin for f swasey, a Hawley
  • web page problems solved for g nunley
  • Christian Behr asked about the C Wrapper trick and PHP. Still no change in status
  • long discussion with brian bittman over wruv streaming server progress
  • long discussion with p bierman over landscape change project plans
Posted in Landscape Change, mysql, Projects, Scripts - Programming, Video and Audio, Web Publishing Support | Leave a comment

Activity Log

  • I learned way more about java today than I wanted to, but it was for a good cause. See these expanded notes
  • investigated issues with streaming media for m tignor
Posted in Dspace, Projects, Scripts - Programming, Video and Audio | Leave a comment