Monday, September 27, 2010

With the Pages application (part of Apple's iWork suite), we can now easily include audio and video in our ePub-based eBooks. These advanced eBooks are viewable only in the iBooks application on an iPad, iPhone or iPod touch but these iOS devices are selling like hotcakes so that's OK for now. The others will catch up eventually.

However, easy as it is to include audio and video in an ePub using Pages, we still have to exercise care in preparing these media files for our eBooks. It's is quite easy to create a video file that won't play back properly or at all and we don't want to inflict that kind of experience on our readers.

Obviously, Flash is out so we are talking about files that are in an MPEG-4 or QuickTime container. But that's not all. We also have to make sure that the CODEC used for the video track is H.264 and the CODEC used for the audio track is AAC. In addition to that, we must take care to keep the data rate, expressed in bits per second, below certain threshold values. Here, for example, are the
technical specifications for the iPad. Read the sections on "Audio playback" and "TV and video" to get the general idea. No need to study or memorize these, just get the flavor and we'll move on.

These specifications are all aimed at accommodating the requirements of the firmware chips in most mobile devices that decompress and display video. Using dedicated and specialized firmware is far more efficient than decompressing video in software. This yields superior performance and a good video experience.

So, with all of these specifications, it should be easy to get things wrong, right? No, that's not the case. There are lots of virtually foolproof ways to make sure that the audio and video you include in an ePub file will play back properly in iBooks on an iOS device, currently the only venue where this kind of media can be played back in an ePub file.

There are two general scenarios that will determine how best to proceed: whether we are creating the media from scratch or repurposing extant media. Let's examine both cases.

Creating and exporting media from scratch. This is easiest scenario but has the most variations. If you are creating video with or without an audio track, always export using the iPhone preset (480x360 ). This will usually keep the data rate below one megabit per second which will perform very well on any iOS device. There are many applications that create video. Similarly, audio-only applications have iPhone presets. Here's a screencast medley of popular MacOS X apps that export video and audio that will be playable in the iBooks app on iOS devices.



Repurposing extant media. There are several good approaches to this task depending upon the characteristics of the source video. The general goal is to convert the source file into a 480x360 H.264/AAC file in an MPEG-4 or QuickTime container. Source files can be almost anything (Flash, DVD, Windows Media, AVI and so on) but you may need to extend your MacOS X system with extra QuickTime components in order to handle all of these. Here is a short list of the most important QuickTime components to add:

Perian (free) Formats supported: AVI, DIVX, FLV, MKV, GVI, VP6, and VFW
Flip4Mac WMV ($29) Formats supported: Windows Media video and audio

Here is a list of applications that are useful in repurposing non-MPEG-4 files to the proper iPhone specs:

Handbrake 0.9.4 (free) Converts DVDs to MPEG-4, including iPhone output.
Miro Video Converter 2.2 (free) Converts almost anything to MPEG-4, including iPhone output.
CosmoPod ($12) Downloads and converts YouTube and other Flash video to MPEG-4 iPhone output.
QuickTime X Player (free) Converts anything it can play (see components above) to iPhone format.
MacOS X Automator
Movie Services (free) Converts andy QuickTime movie to iPhone format.

Here's a screencast medley of these applications at work repurposing video that will be playable in the iBooks app on iOS devices.



Friday, September 17, 2010

My proposal for a presentation to the 39th University System Annual Computing Conference entitled, "Creating and Publishing eBooks Using the EPUB Standard" has been accepted. This conference is not held in a hotel in some big city. Rather, it happens on the 1,452 acre Rock Eagle 4-H Center just outside Eatonton, Georgia. Here's the official site for the conference where you'll find all of the info on it that you might want.

Thus, I'll be holding forth on this topic for 45 minutes beginning at 8:30 AM on Thursday October 21 in the "International Paper 3" room. Not exactly the "Boom Boom" room but it will be a good experience I'm sure. Here is the abstract:

Creating eBooks using the EPUB standard is now within the grasp of faculty as well as any other subject matter expert with basic computer skills.  Additionally, publishing eBooks for consumption by students and others on desktop. laptop and mobile devices will soon be a drag and drop operation.  In addition to an overview of the eBook creation and publishing process, attendees will have access to a companion web site with links to in-depth information, tutorials and resources.

See you at the Rock!

Tuesday, August 31, 2010

Apple's iWork Suite is composed of three applications: Pages, a word processor and page layout application, Keynote, a slide show app like Powerpoint and Numbers, a spreadsheet app like Excel. Microsoft Office (Word, Powerpoint, Excel, etc.) is also available to MacOS X users. The essential difference is that iWork is focused on elegance and ease-of-use whereas Microsoft Office is focused on power, cross-platform compatibility, feature parity and so on.

An update to the iWork suite late last week included a new export option for Pages. The Pages app can now export a document as an .epub file, the predominant standard for eBooks. While there have been other WYSIWYG editors for producing ePub documents such as Sigil and eCub, Pages is the first mainstream commercial application to support ePub export. What's more, Pages is somewhat ahead of the standard by enabling the inclusion of audio and video media in an ePub document.

In addition to the Pages update, Apple has provided this support page which describes a number of ePub best practices and includes a link to download a very helpful sample file that can be used as a template or a source from which the proper ePub styles may be imported. I used it as a template by saving that file with a different name and then replacing the content with my own.

The key to creating a properly formed ePub document is to select the appropriate Pages Section types (Title Page, TOC, Forward, Chapter, etc.) and use the appropriate Paragraph Styles as you insert the content.

Here's a brief tour of the Pages template showing how Sections and Paragraph Styles are used to define the structure (cover, TOC, chapters, etc.) of the exported ePub file. First, we look at the template as Apple provided it and then with a different file name and different content.


Sunday, August 22, 2010

We've talked about publishing via RSS and via OPDS Catalogs but that is all about publishing unencumbered EPUB documents without payment to the author. While that may be your intent, there are other options. It is also possible to market an ePUb document and be compensated for that work. One attractive option is to use Apple's iBookstore which uses the agency model: you set the price and get 60% of all sales with Apple getting the remainder.

There are two basic approaches to using the iBookstore, doing all the work yourself or getting some help from an approved aggregator.

Your first step should be to acquaint yourself with the rules. They are simple and few in number. Go to
iTunes Connect where you will see this :




... be sure to use the drop-down menu to choose "Books."
Here you'll see the requirements for submitting an eBook to the iBookstore.





The next two screenshots show the application and the info requested prior to uploading your .epub files. Of course it is essential that your book be exactly as you intend it to be. Involving an editor or at least other literate people as critical readers would be a wise move before uploading.







If this seems too much to bear, you always have that second option which is to involve an Apple-approved aggregator. For a small fee, these folks will handle most of what needs to be done. However, they generally do not support or market the book. That's your job and it can be a mighty challenge. There are lots of comments by other authors on this point so it's good to make an effort to find, read and consider the experience of others.





You'll want to investigate the requirements of each aggregator as they are not all the same. Smashbooks, for example, has a Style Guide that you should consult well ahead of time. Their style guide is an .epub file and they only accept manuscripts in the form of a Microsoft Word document. Smashwords also offers the option to publish via other venues in addition to the iBookstore.



Monday, August 9, 2010

An ePub document need not be a full length novel or textbook. It could well be a set of class notes, a handout, a monograph, or any other instructional support document. So, rapid and easy publishing of .epub files is of great interest to academics these days now that students have a wide variety of hardware and software that is optimized for reading the ePub format.

All one needs is access to a server with an RSS feed capability. In Georgia, all university system faculty have access to the USG Podcasting Server which is very easy to use and has the ability to dynamically generate RSS feeds. However, any standard web server can be used if you can create and maintain your own RSS feed, a simple text document that follows the
RSS 2.0 Standard.

The following screencast will take you through the process of uploading an .epub file to the USG Podcasting Server, copying the subscription address to share with students and then follow the student path of subscribing to the RSS feed with the iTunes application and synchronizing those eBooks with a mobile device running Apple's iBooks application.





Note: If a student doesn't have an Apple device running the iBooks application, there are other options that we'll examine in an upcoming blog post covering the many ways there are to read an .epub file.

Sunday, August 1, 2010

Now that we can create ePub-based eBooks quickly and easily, our thoughts naturally turn to finding ways and means of publishing those digital books and other ePub documents. There are several options to consider so I'll take them on one at a time in successive blog posts. This post will deal with establishing an online catalog that enables remote access to your book collection. Depending upon who you share the address and optional password with, this could be just for your personal convenience or it could be where your students go to discover and acquire ePub documents (books, monographs, handouts, etc.) that you have made available to them.

A tool that can help us achieve this end is the free, cross-platform application called "Calibre."
Calibre has many attributes such as managing your eBook library, converting eBooks, syncing to eBook reading devices, viewing eBooks and providing you with a content server for online access to your book collection. It is this last capability that we'll be focusing on here.

Calibre's content server is based upon the
Open Publication Distribution System (OPDS). Many eReader applications such as Stanza are capable of browsing an ODPS catalog by categories such as newest, title, ratings, publishers, series, authors, tags, etc. and then downloading selected items. The catalog can be password protected. Here's a screenshot of the server settings:



One thing that you'll want to be sure of is that you network administration has arranged for access via HTTP port 8080 or whatever other port you have configured the server to "listen" to for requests. There may be a firewall in place that would prevent that. If that is not possible, just use port 80 which is the default port for HTTP. If you can surf the web, port 80 is open and, so, this should work.

Here's a screen shot showing Stanza on iPad browsing an OPDS catalog:



It's also possible for Caliber to send eBooks and magazines via email. Here's the setup for that:




Tuesday, July 27, 2010

We continue our story of how a typical faculty person might create ePub documents with a more complex example. The screencast below will show and tell you how to create an ePub document with a video in it. Other media possibilities include static images and audio files.
Our example uses the poem "Invictus" by William Ernest Henley (1849-1903). Not only do we have the text of the poem to share with students but we also have a video of the actor Sir Alan Bates reciting it. There is only one chapter in this example but there could just as well be any number of chapters, each with media and text.




You may want to download this ePub-based eBook, "side load" it into the iTunes application and synch to a device running the iBooks application (iPad, iPhone or iPod touch). If you find an eReader other than iBooks that will display this eBook properly, please let me know.