04 February 2011

Authoring a DVD with mixed 4:3 and 16:9 content

Last week I was quickly throwing some short films onto a DVD project, and somehow I stumbled across a method of authoring a DVD which correctly displays 4:3 and 16:9 movies without any unwanted scaling or stretching of the picture.

Firstly, some provisos...

This tutorial requires the iDVD software running on an Apple Mac computer.  Unfortunately I don't know of any similar solutions using Windows software, although I'm sure they exist.  I was using iDVD 7.0.4 within Mac OS X 10.5.8, but any version of iDVD with widescreen options should work fine.

The finished disc worked perfectly with the Panasonic Blu-ray player and HD projector used by Huddersfield Film Makers Club.  However when tried at home with a cheap DVD player and widescreen TV, the 4:3 videos did not display correctly; they were scaled up to fill the width of the frame and therefore the top and bottom portions were cropped somewhat.  I suspect this is a function within the DVD player but there were no options to adjust it.  So this is not a foolproof method but it does work with our club's display equipment.

How to do it

If you've already exported a high bit-rate file of your video, feel free to skip the first step. 
  • Export your videos from your editing software. Export using the ‘Current settings’ that you edited with -- don't worry about making any changes to the frame aspect at this stage.  If you have the option to ‘Make movie self-contained’, un-check this box. The editing software will now make a small reference movie file which does not contain any media but points to your captured media that is already on your hard disk.  (Note: to learn more about reference movies and how they can be useful, see this Larry Jordan article.)
  • Open iDVD from the Applications folder and create a new DVD project. From the menu choose Project > Project Info and make sure the project is set to 16:9 frame aspect ratio (see below). After setting this you may be asked to reload the project theme or choose a new theme.  You will notice the DVD menu screen is in widescreen format, if it wasn't already.
  • Find the reference movie that you created earlier, and drag the file icon directly into the iDVD project. A button will appear on the DVD menu (usually a text button showing the filename of the reference movie). iDVD will start encoding the video, either immediately or when you ask to burn the disc.
  • Add any other movies that you've prepared.  Whether they are 4:3 or 16:9 they don't need any special preparation, just drag them straight into the DVD menu.
  • When you burn the disc, iDVD will finish encoding and then write to your blank DVD disc.  When it's done play the disc and check the results.  The 4:3 videos should appear in their proper frame aspect, displaying black borders on the sides to fill the widescreen frame.

    31 January 2011

    Filming with an iPod

    The latest versions of Apple's omnipresent mobile phone, iPhone 4, and its slightly-less featured sibling, iPod Touch 4, have raised a few eyebrows with their ability to shoot HD video.  When given the opportunity to buy one of these iPods on the cheap, I was curious as to how good the footage would turn out, and these are my first impressions from a film-making point of view.

    In case you're not familiar...
    The iPhone 4 and iPod Touch 4 are slim devices the size of a regular mobile phone, albeit with the entire front face as a touch screen, and only a couple of other buttons around the edges.  The device is very light and can generally be carried around even in the tightest of tight-fitting jeans pockets.  I imagine.

    Touching up
    Handling the thing is tricky.  At first I held the iPod in my thumb and forefingers at the corners, and soon found a murky, vaguely finger-shaped shadow in the picture; the lens is situated in one corner on the back of the casing and easily picks up a clumsily-placed digit.  Eventually I found the best way was to hold the iPod like a judge at a ballroom dancing competition would hold a numbered card reading '6.0'.  So I understand.

    Video format
    The two devices have very similar video shooting capabilities, and as mentioned above, they shoot HD.  It's not Full HD though, just 720p (or 1280x720 resolution in progressive scan, if you're not a fan of abbreviating in general).  Still, not bad for a glorified telephone or glorified Walkman.  This particular feature was what originally interested me in the film making possibilities, partly due to YouTube et al now showing video in 720p format (and lately in 1080p too), and partly because my most capable video camera is an old standard-definition MiniDV example.
    (Indeed, the iPhone/iPod Touch even gives you the option of uploading your freshly-shot video direct to YouTube or send by email, before any editing has been made or audio added, which makes me shudder a little.  Apple thoughtfully provides a special version of the iMovie application for editing on the device itself, which you can buy for a few pounds.)
    The video codec is H.264, familiar to anyone filming on solid-state camcorders or video-enabled SLR cameras.  Putting the footage into a traditional editing workflow, such as with Final Cut Pro or Adobe Premiere, entails some jiggery-pokery before computer-based editing can begin in earnest.  The iPod's video bit rate is around 10-11 Mbits/sec, quite a bit less than the 30-35 Mbits/sec recorded by a proper camera.  A lower bit rate means less data in the video file, but the file is smaller and takes up less space on your memory card or hard disk.

    Frame rate foolishness
    I was concerned by only one feature of the iPhone/iPod's video recording capability, when I read reports of a variable frame rate.  The software adjusts the FPS to a figure somewhere between 24 and 30, purely to control exposure.  The frame rate is established when shooting starts, and that rate is maintained to the end of shooting the clip, no matter how light changes in the scene; if you happen to start shooting in a bright, well-lit area and move along to a darker composition, the frame rate will not adjust to compensate, but noise appears in abundance.

    1:1 crop of a video frame under domestic lights, click to
    view at full size to appreciate the sheer noisyness.

    The FPS figure can be rather arbitrary; recently I shot a clip at the rate of 26.73 frames per second.  A video editor baulks at the thought of arranging a number of clips with different frame rates on the same timeline.  As far as I can see, there is no indication on the device what kind of random assortment of numbers it has decided to bestow on the frame rate, so you have to wait until you transfer the file to a computer, open in QuickTime and check out the properties (as per the screen grab below).

    Movie properties from within QuickTime.

    It's not all bad
    If the above sounds like a tirade of cynicism, that's because it is.  However, more professionally-minded folks have squeezed some impressive performance our of these little gadgets, the most well-known and earliest example (it was filmed a few days after the iPhone 4 was launched, and edited the following day using iMovie on the phone itself) is Apple of My Eye by Michael Koerbel:


    Apple of My Eye from Michael Koerbel on Vimeo.

    More to come
    I'll have more feedback about my experimentation with iPod video in the coming weeks.