Tag Archives: STEEPLE

Shooting footage for Steeple Videos

Whilst the rest of the country, and indeed our colleagues, are beset by this frozen precipitate, we’re hard at work recording a series of interviews with Steeple and related people. Our aim, aided by such a determined push to carry on regardless of the obstacles, is to produce a series of bitesize outputs for our project that will help our colleagues at other institutions get to grips with the core issues being handled by our work.What follows below is a few shots from our first day of filming, featuring a tame student and one of our collaboration partners, using an improvised studio setup in our Apple Approved Teaching Centre for Education, here at OUCS in Oxford.I’ll let you know (soon I hope) when the edited outputs are ready for public viewing.Carl

See and download the full gallery on posterous

Permalink

| Leave a comment  »

Faster File Transfers

I’ve long been aware of how slow various mechanisms are for transferring files across the networks, and this is most noticeable when dealing with the initial ingest of a master edit for podcasting content (video, especially). HTTP uploads via webforms are perhaps the worst approach. Bespoke JAVA or Flash based embedded clients have improved this, often using FTP as a faster mechanism, however they too are still quite slow. Over local networks (or where a suitable path can be created) lower level protocols like AFP, SMB and NFS are better in some regards, but not great.
With that in mind, I’ve seen a couple of products recently that I’m hoping to take a closer look at that could help improve this. The first to cross my path was Storage DNA File Sharing product.
http://www.storagedna.com/solutions.html
This appears to be a P2P solution that can, in effect, synchronise large data files across many computers. Perhaps more oriented to the realm of video editors collaborating, but not entirely unsuited to internal content transfer (i.e. between content provider’s large file and the central transcoding engine). The second link is below, and should also be of interest (though cost could be prohibitive).
http://www.asperasoft.com/
Aspera offer a product range based on their FASP transfer protocol – essentially a UDP stream with only the essential resend and checking done, thus negating TCP’s need to send-confirm-send_next-confirm-etc cycle. They appear to offer web browser integration and perhaps can be merged into existing DAM or upload-form type systems. If nothing else, Aspera’s web pages on the limitations of TCP make for interesting reading (http://www.asperasoft.com/en/technology/shortcomings_of_TCP_2/the_shortcomings_of_TCP_file_transfer_2).>
Carl

Permalink

| Leave a comment  »

Flash in the Cloud

Amazon adds media streaming to S3 storage cloud • The Register

Amazon Web Services, the cloud computing subsidiary of online retailer Amazon, today has put a media serving and caching front end on its Simple Storage Service (S3) storage cloud that lets it act as a distributed (as in globally) media server to feed streaming content on the cheap.
The streaming media service is called CloudFront, and you can start using it here. AWS says that it has put media caching servers in 14 different locations globally, ensuring that the streaming media can be fed to users with low latency. Amazon is promising that the CloudFront service will be low-cost as well, and even though the service is only in beta now, pricing information is available. (Imagine that. An IT company that tells you what something is going to cost long before you commit to using it, and lets you see how it works in a beta.)
While the S3 storage utility is the back-end for the CloudFront service, Adobe’s Flash Media Server 3.5.2 is the front end. Media content can be delivered in the Real Time Messaging Protocol (RTMP) or the encrypted version (RTMPE). There is an API that connects the Flash Media Server to the S3 “buckets,” and you can serve the files from a CloudFront.net domain or alias one of your own domains if you want to look like it is your own infrastructure doing the job. The media server is able to do dynamic bit rate streaming, which adjusts the bit rate of the media stream based on the quality and speed of the connection between an end user and the media server.
AWS says that it can currently support stored, on-demand media now but will support the streaming of live events sometime in 2010. (So much for not having any competition there, Cisco Systems.) The CloudFront service is priced only on the amount of data they stream out of the Amazon systems; there are no minimum fees and no up-front costs. The CloudFront approach to pricing also means that a company that is streaming media doesn’t pay the full cost of a user hitting the media when they stop viewing a video stream or listening to an audio stream. Some media streaming firms charge per user connection, but Amazon is pricing based on terabytes served.
For the edge servers located in the United States, it costs 17 cents per GB for the first 10 TB of data beamed out from CloudFront, with the price rapidly dropping per GB until you are down to 5 cents per GB for a petabyte of data out; it costs 1 cent for every 10,000 GET requests. Pricing in Europe is the same for data transfers on CloudFront, but it costs 1.2 cents per 10,000 GETs. Pricing in Hong Kong and Japan are considerably higher for data transfers and a little higher for GETs. Amazon says that it is charging more where its costs are higher and simply passing on the costs. ®

via theregister.co.uk
This could prove cloud hosting to be even more interesting for media serving, especially for institutions wanting a global reach but perhaps without a strong networking and fileserver infrastructure internally to use. 
Carl

Permalink

| Leave a comment  »

Podcasts on Podcasting from the OU

The eagle eyed amongst you will have already spotted the three recently added videos on the steeple website, but this note is for the rest of you.
The Open University have been working on producing some easy to consume insider knowledge on their experiences with media production and podcasting for iTunes U and the current results are available from our media player at http://steeple.oucs.ox.ac.uk/. The three videos talk about the OU’s experiences with launching their iTunes U site last year, the work involved in creating podcasts using high production values, and ten top tips for podcasting.
Let us know what you think about them as we’re looking to do some more video/audio pieces along a similar vein covering a range of topics from the rest of our work and the feedback will help us shape these outputs to best serve you.
Carl

Permalink

| Leave a comment  »

Failure is an option

Noticed this just now when reviewing the command line help for the pcastaction command on OS 10.6, it’s an extension that’s missing from 10.5 and could be rather handy for doing custom workflow tasks where something can be allowed to fail without killing the entire workflow.
“By specifying ‘–no_fail’ pcastaction will ignore any failures and always exit with an exit code of 0.”
Previously I’ve been thinking about (and discussing implementations around) a shell script wrapper to put in place around custom Podcast Producer workflow tasks that would always return success, regardless of whether the wrapped task suceeded or not. This was in part to work around the limitation within the workflow system of not allowing conditional operations (i.e. having a test performed to determine whether to do one thing or another – or nothing).
If failure is now an option, then it may be possible to write inefficient workflows that allow all possible tasks and combinations to be done, but if any fail, then we can continue on to the end of the flow without stopping everything. I’ll try to experiment with this after Christmas and report back.
Carl

Permalink

| Leave a comment  »

What Apple Hardware to buy for processing?

We quite often get asked questions about what levels of hardware need to be spec’d out for various institutions to setup their Podcast Producer systems – and the answers really boil down to how much can you afford, and what do you want to prioritise? It’s also a little like asking how long is a piece of string.
Podcast Producer systems can be run on any Mac hardware that supports OS Server 10.5 or 10.6. I’d say just focus on the 10.6 requirements. To put this into perspective, we’ve run systems on both a single Mac Mini, to a small cluster of Mac Minis and graduated up the scale to our present setup of a small XSan with 4 Xserves. Recently at a workshop we setup a two node cluster using a Mac Pro and and Macbook!
The following notes are mostly observations from our own experiences and those of others we’ve talked to. At the end of the day, what you need compared to what you want, compared to what you can afford will determine what you get.
Single Box solutions
We’ve run a complete PcP system on a single Mac Mini (Core 2 Duo 2Ghz, 2Gb RAM, 160Gb HDD, Intel GMA 950 with 64Mb VRAM), and it works fine, though very very slowly. For each hour of submitted content we would need to allow 3 hours of processing time. Moving up to bigger systems doesn’t necessarily equate to greater gains in turnaround time, but does improve overall throughput (a factor to consider when you’ve got multiple jobs being submitted simultaneously). To that end, the newly released Mini Servers are a nice starting point and it is good to see Apple begrudgingly accepting that these small devices are very practical.
Typical PcP workflows may have 4 or so tasks that *can* run in parallel (most of the time it is a serial list of tasks), so anything over 4 processing cores will see improvements in terms of concurrent processing and therefore throughput. Higher CPU ratings will be a significant factor here in terms of turnaround rate (how long it takes to get something out from something put in) as will copious quantities of RAM, and also a good spec GPU will help (some workflows use Quartz transformations which are rendered on the GPU rather than the CPU).
Mac Pros can be an option here, especially if you’re wanting to cram in as much (cheapish) disk storage as possible (they hold more disks than any other Mac system). However, they are rather pricey, and don’t really scale easily/cheaply beyond the single box setup, nor fit into server room racks.
If you’re looking at machines for the server room, then even the base level Xserve (single Quad Core Nehalem 2.26GHs, 3GB RAM) is going to be fine for handling light loads (e.g. 12 hours of content per day – though really, this is a crude approximation and metric because this is about batch processing, and as long as disk space allows, everything will get processed eventually). However, I’d recommend: 2 * 160Gb + 1 * 1TB HDDs, 6Gb RAM, and 2 PSUs. More RAM is good, though more than 12Gb is probably excessive at current prices. I’ll touch on this again in a moment.
Storage
Storage configurations will need considerations. If you’ve got a SAN, then you need to know can it be effectively accessed via OS X platforms, and by what mechanisms (Ethernet? Fibre Channel?). The data throughput you can get from your storage system to your processing system needs to be understood, and if not sufficient can be a significant bottleneck to processing rates.
Likewise, have you got a backup solution that is compatible with your OS X setup? Keeping podcasting data separate from the system data (e.g. OS and logs on one disk and PcP shared filestore on another disk) will help in terms of backup strategies. This topic alone is worth several long reports, but in short:

Find a way to back up your system disks. OS X’s ability to clone their drives to Disk Image files on another system makes for a simple and easy way to both backup and restore systems in cases of disk failure or system corruption.
Are you using your server as a hosting platform as well as a processing platform? Then you’ll want to back up the data partition/disk (shared filestore) to ensure your hosted outputs are not lost. If you’re having difficulties getting funding for this, remember to factor in the wages costs of everyone involved in recreating lost content, both in terms of restoration

of backups, or worst case, creating the content again from scratch. Now weigh this against the cost of various disks, tapes and backup solutions (and these range from the weak consumer level approach of disposable hard disks on shelves, through to multiple tape copies in many locations and tape system, etc).
This is a topic that really tells you how much your content is worth to your institution.

XServes again
For single xserve solutions, there’s really two choices to pick between in terms of disk configurations: 2 * 160Gb + 1 * TB, or 1 * 160GB = 2 * 1TB. Your choice here is likely to be influenced by your backup options and where you consider the most risk to your setup to exist. I’d strongly avoid considering a 3 * 1Tb setup, perhaps thinking that you can RAID them all into one large (more) resilient setup. This will adversely affect system performance as a single volume is not well suited to both many small read/write operations (e.g. log files, system configs, database accesses) at the same time as large read/write operations (multi GB data files, i.e. videos). Our preference is the 2 * 160 setup, with the two smaller disks in a RAID 1 setup for the system partition, and the 1 * 1TB drive as a scratch disk (PcP Shared volume).
Whilst I think about it, also consider:

The SSD option is a luxury that’s probably not worth it at current prices. Likewise the RAID card (the onboard RAID is fine). 
Dual Power supply is nearly always a good idea – though only if you’ve got a separate power feed to take it from (e.g. one from Raw mains, one from a UPS, or two separate Raw supplies). Having a spare to hand is good if you’ve only got the single PSU in the box, or when you’ve got multiple machines. Whilst XServe hardware is pretty damn reliable, the most common (of rare events) is for either a PSU to die, or one of the HDDs. Oh, and the HDDs Apple use are not regular desktop drives, hence the seemingly obscene costs compared to consumer hardware.
Ensure you’ve got the relevant video adaptor dongle – you’ll need to be able to plug it into a monitor occasionally.
If you can, take out the Apple Care Extended warranty. It at least covers parts for 3-4 years and provide some technical support.

Thinking ahead
If you’re looking at serious infrastructure, you’re probably working towards an XSan and multiple Xserve setup, and in that instance you might want to have that future in mind when you get your first system. As always, your milage may vary, and my answers to your specific setup needs may likely vary significantly from these notes. I hope though that you might gain a little insight into some aspects to consider about the physical infrastructure for an OS X Server based system.
Carl

Permalink

| Leave a comment  »

Where’s my XGrid gone?

If you’ve been using Mac OS X Server’s xgrid service for processing (such as Podcast Producer does) then you may have had a nasty shock on upgrading to 10.6, and especially 10.6.2. Where 10.5 was confused by HyperThreading in the latest Intel processors and thus reported twice as many cores as existed, 10.6 is now reporting half the physical number of cores in a system, and thus halving the throughput and power of an XGrid system.
In concrete terms, we have 3 Quad Core processors in the main cluster (i.e. 12 cores @ 2.26GHz), on 10.5 XGrid reported 24 processors, but 10.6 reports 6 cores.
There is a workaround you can find here http://lists.apple.com/archives/Xgrid-users/2009/Oct/msg00001.html.
In short, for each server:

Stop the XGrid service (e.g. via Server Admin)
Open terminal / ssh to each server
Run “sudo vi /Library/Preferences/com.apple.xgrid.agent.plist”
Add the following lines (remember the integer number is the number of cores in your server): ProcessorCount 8
[ESC] :wq [ENTER] (to save and quit)
Restart the XGrid service

Lo and behold. the correct amount of processing capacity is now reported.
Carl

Permalink

| Leave a comment  »

Compressor Irritations

Following on from my minor rant about Encoder Irritations, I’ve been having a quick stab at getting Compressor installed on our processing cluster. Quick though, is not the correct word.
First up, we had to deal with the issue of the OS believing it did not have a graphics card equipped. This took a (first) trip to the machine room to attach the rack monitor to the relevant machine. Now I come back to find that I can’t access the system by Apple Remote Desktop (VNC by another name) – all I get is a connection and a black screen. I know from the monitor and the ARD status page that the system is on, working and displaying the login screen, but all I see is black.
Attempt to restart the ARD service on the server, no effect, still black upon connection.
So, to prove a point, I take another trip back to the machine room and disconnect the monitor. Return to office and connect, successfully with ARD, and can now see the server’s screen and interact. Third trip to the machine room and I reconnect the monitor, see the desktop (as I had logged in before I left the office) and return to find ARD is still working. At least now I’ve got access, and there’s a monitor attached to the server, let’s try the Compressor install.
Attempting to install from our Final Cut Studio 2, and we at stopped first with the error that the resolution is too low, and that “Final Cut Studio Installer requires that your system have a Quartz Extreme capable video card”. One change of the resolution and a restart of the installer, and now I’m faced with just the Quartz Extreme message.

This is a latest generation XServe, with an NVidia GeForce GT 120 PCIe graphics card, complete with 256Mb of VRAM (twice the required amount requested by the installer previously). The next image shows you the System Profiler information for the server, just for reference, taken with the monitor attached and accessed via ARD. The line that says “Status: No Display Connected” puzzles me somewhat.

Going through Google and Apple’s Support pages reveals nothing of help.

http://support.apple.com/kb/HT2863 – tells me that the requirements for Quartz Extreme are pretty low in terms of modern graphics cards. It links to… 
http://support.apple.com/kb/TA22294 – which gives me two links; the first of which is broken and should describe Quartz Extreme’s feature, the second is to the developer site with code samples. 
http://docs.info.apple.com/article.html?path=Mac/10.6/en/8749.html – tells me about 10.6 Help and that the above System Profiler image should have a value on display for Quartz Extreme. I can’t see it, can you? 
http://support.apple.com/kb/SP543 – tells me about Technical Specifications for Compressor 3, all of which I’m exceeding handily. 
http://support.apple.com/kb/TS1888 – tells me about Compressor Troubleshooting, but only applies once it has been installed. If offers instructions on removing Compressor, but the reinstall instructions state: “From your install disc, reinstall Compressor and Apple Qmaster (and Motion, if applicable).”

So, how did I solve all of this and actually get Compressor (and QMaster) installed?
I rebooted the server.
After a discussion with a colleague, we were reminded about a similar problem on another machine recently where the OS was mis-reporting the graphics capability and resolutions on offer, but was resolved after the hardware (a projector in this case) had been left connected and active whilst the machine was rebooted. Our current theory is that there is a startup process that checks for attached display hardware, and if it does not find any, does not start the graphics processes, such as Quartz Extreme. Unfortunately, we don’t have any further information to back this up, nor do we have much time to investigate further.
Based on this experience, it seems to install compressor in the rest of the cluster I will have to:

Attach the monitor to the relevant system 
Reboot the server 
Then install Compressor

Rebooting servers is not a trivial operation, and not one to be undertaken lightly. Having suitable hardware in place, but being stymied by a dumb installer (is Compressor even going to work when there is no monitor attached?? If it is, then why have one attached in the first place??) that is held up by what seems like an OS bug, is not going to win friends.
And all this before I possibly come to the conclusion that it isn’t any better than what we’ve tried previously, just different drawbacks…
Carl

Permalink

| Leave a comment  »

Educational content through your home multimedia setup?

Somewhat of a placeholder topic, but I’m thinking a little bit of investigation could be useful into how podcast/media content from universities could be fed out to home entertainment/multimedia systems (for example XBMC) and if easy, perhaps further work for someone to investigate how worthwhile this could be.
Given the rise of computers/DVRs/games-consoles in the home environment, and their increased connectivity and desire to access content, this could be an interesting (and not necessarily tech oriented) audience to address, perhaps on the grounds that they are naturally inclined towards online content.
Carl
P.S. Yes, it’s been a day of sorting through emails and reports, hence the outpouring of blog notes ;-)

Permalink

| Leave a comment  »

How to capture whiteboards…?

In a conversation about how to capture activities in a teaching and learning space, it was highlighted that not all teachers/presenters use the technology, and that some, for example, need to generate content as they go (think whiteboards and flipcharts). This came to mind again last week when Peter and myself were pulling together ideas for the presentation of the Steeple findings and wanting to be able to communicate this with our project partners. Given we were working in one of our flexible teaching/learning spaces, the following image might give you pause to consider how do you go about capturing the activity, and more importantly, automating that process.

The jist of the conversation previously revolved around how to be flexible enough to capture all relevant activities and information for remote viewing, and that, after much discussion about pros and cons, the answer was that it would need a human operated video camera approach. This has a range of pros and cons, but I think mostly cons.
Either way, more questions than answers abound so far, for example: If the activity was pedagogically sound, what technological approach could be taken to make it effective? And if the activity isn’t perhaps as well executed for remote understanding, but the need to capture and distribute was still there, what compromises are worth making?
Due to this being on the fringe of pure Steeple activities, I can’t devote much time to pursuing this, but I can appreciate that this and the resultant outputs can have an impact on the activities that can be supported by the technologies and processes we’re working on.
Carl

Permalink

| Leave a comment  »

Copyright © 2007 Institutional Innovation. All rights reserved.