ScreencastsInUbuntuSpec

Revision 2 as of 2007-09-27 10:23:19

Clear message

Summary

This spec describes Screencasts In Ubuntu whose aim is to develop an infrastructure to allow tutorial videos (screencasts) to be easily accessed from the Ubuntu desktop, and directly from within applications.

Rationale

The goal here is to make tuition video content directly available in Ubuntu. This content would be produced by the Ubuntu Screencasts team and it would be made available inside applications and the wider desktop. This could be available by clicking Help->Tutorial Videos and then browsing a range of videos that help the user with various aspects of using that application. We would also have a general purpose set of videos for using the Ubuntu desktop and other aspects of system. This way we could have application specific video tutorials and general system videos.

I believe that this needs to feel as embedded as possible inside Ubuntu - in other words, if you click the Help->Tutorial Videos link and it just links to a wiki page, that would be the wrong approach. I feel we need to include a small PyGTK application that would browse available videos and stream the video content from the server and play it back. It would also be useful if we stored/cached these screencasts in a folder on the disk so they can be retrieved at a later date without a network connection. This would provide the Ubuntu desktop with video on demand teaching various aspects of the system.

Use Cases

  • John buys a new Ubuntu system from Dell and wants to get started. When he logs in, a little notification bubble pops up telling him tutorial videos are available by clicking System->Tutorial Videos. He clicks the menu and a little program appears with a range of general purpose tuition videos.

  • Paul wants to learn how to use OpenOffice.org Writer - he clicks Help->Tuition Videos and the window appears with a range of videos for different tasks in that application.

  • Daniel is keen to learn how to contribute to Ubuntu. He clicks System->Contribute->Tuition Videos. Here the window appears and has a number of videos for packaging, bug triage, translations etc are available. He can now get started learning how to contribute easily.

  • Sarah is installing Ubuntu. When she boots from the CD and the desktop starts, a small window appears offering her a video tutorial of how to install Ubuntu.

Scope

Due to the nature of the spec, the scope reaches into a number of distinct areas:-

  • Client
    • Design and development of a client side search and playback tool
  • Application integration
    • The 'Help' menu in many popular applications should be modified to contain a contextual link to the client player for direct access to screencasts
  • Server side hosting and management
    • Deployment of videos to server infrastructure
    • Streaming technologies

Design

Client

The client application would essentially have two core views:

  • Browse - browse the videos available for that specific application / area / contribution type. This could also include a search feature.
  • Playback - viewing the video with typical transport controls.

This application should be written in PyGTK and use GStreamer, all of which are shipped by default in Ubuntu. Writing this kind of application is trivial, it would just need to talk to a back-end service. In terms of codecs we would need the player to stream the codec, and I feel that Ogg Theora could be a suitable codec and one that is built right into Ubuntu. We would need to determine bandwidth issues for the choice of codec, not only for the client to stream the data effectively, but also the cost of bandwidth to stream these videos to multiple clients from an IS perspective.

The client should download meta data from the server periodically (configurable) or when the user requests a refresh.

Browsing should allow the user to navigate through the library of screencasts and search/filter using terms stored in the meta data.

Possible search scenarios:-

  • Most recently added
  • Most popular
  • All pertaining to application 'foo'
  • All that I have not watched yet
  • All that I have already watched

Playback

A simple interface for playback should be used. Something similar to that used by other media players (such as Totem) [should we indeed _use_ Totem?]

Application Integration

Individual applications should have their "help centre" (most likely a menu item) modified to provide a link to start the screencast playback client. The application should pass to the client it's own name and version to allow the client to pre-filter the list of available screencasts and thus make it context sensitive.

Server hosting

We would need a means to store screencasts somewhere so that the client can request them. Launchpad seems a sensible place here, but any structured filesystem would also be suitable. This is something we would need to discuss in more detail and an area in which timescales would need to be discussed - Launchpad may have a longer lead time for this kind of functionality.

This would also require an investment from IS regarding serving and bandwidth. We would need to determine bandwidth requirements and affordability.

The server should host:-

  • Screencasts in Ogg / Theora / Vorbis format for streaming over http (or perhaps bittorrent?)
  • Screencast meta-data
    • Release of Ubuntu that each screencast pertains to
    • Application(s) and versions of, that each screencast pertains to.
    • Size, date created, popularity, duration, and availability of audio tracks and subtitles

Implementation

Unresolved issues

BoF agenda and discussion

Comments


CategorySpec