LinuxDevCenter.com

oreilly.comSafari Books Online.Conferences.

We've expanded our Linux news coverage and improved our search! Search for all things Linux across O'Reilly!

Search
Search Tips

advertisement

Listen Print Discuss Subscribe to Linux Subscribe to Newsletters

Create Self-Booting Movie CDs
Pages: 1, 2

Once you've compiled and installed transcode, you can run the tcprobe utility on your newly created temp.avi:

tcprobe -i temp.avi

The following example output shows the kind of information that you should receive:

$ tcprobe -i temp.avi

[tcprobe] RIFF data, AVI video

[avilib] V: 29.970 fps, codec=DIVX, frames=135989, width=720, height=480

[avilib] A: 48000 Hz, format=0x2000, bits=16, channels=2, bitrate=448 kbps,

[avilib] 9076 chunks, 254128000 bytes, CBR

[tcprobe] summary for temp.avi, (*) = not default, 0 = not detected

import frame size: -g 720x480 [720x576] (*)

frame rate: -f 29.970 [25.000] frc=4 (*)

audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x2000 [0x2000]

bitrate=448 kbps

length: 135989 frames, frame_time=33 msec, duration=1:15:37.504

Transcode includes a utility called avisplit for splitting AVI files into chunks of a maximum size. This example command breaks temp.avi into chunks no larger than 640MB apiece:

avisplit -s 640 -i temp.avi

In this case, it creates two files, temp.avi-0000 and temp.avi-0001. Remember to check them out by playing little snippets at different points in the movie, say at the beginning and end of each file.

Creating the ISO

At this point you're now ready to create the self-booting movie ISO. It'll take several utilities to do this, but that's where K3b comes in.

The first thing to do is to ensure that K3b sees all the requisite utilities, as seen in Figure 1. Launch the program, go to the Settings menu item, and click on the Configure option. You won't need all of the utilities listed here, but you'll certainly require those listed at the beginning of this article.

the K3b configuration window
Figure 1. The K3b configuration window

Figure 2 shows a snapshot of a new eMoviX project. Choose the eMoviX project that suits the medium to which you are burning. You may have a DVD burner, but be sure to select a CD project if the recording medium is a CD-R.

creating a new eMoviX project
Figure 2. Creating a new eMoviX project

Using K3b is a fairly intuitive process. When you run the program, you'll first see three panes. The top right one shows the files, defaulting to your home directory. From this pane you can navigate to the AVI files. Now drag and drop the first ISO image into the bottom pane. You can bring up the Burn window by clicking on the Burn icon, selecting Project -> Burn from the menu, or pressing Ctrl-B to start the burn process. The Burn window, as shown in Figure 3, provides you the opportunity to fill out the information to include on your CD as well as how the movie should start and what should happen when it finishes. Take a minute to tab through all the options. It's pretty cool what eMoviX can do.

The K3b burn window
Figure 3. The K3b burn window

I don't change much of anything except for the volume description and whether I want the system to eject the CD or shut down the system after the movie ends. When you're satisfied with your options, click on the Burn button to begin the burn process.

That's it, folks! Repeat the process for the next images until you have completed burning your CD movie.

Using the CDs

Put the first CD in your disc tray and boot the machine. The CD's isolinux OS will take care of the rest. Notice that you can interrupt the boot process to the CD's BusyBox shell.

Caveats

They're aren't any!

One More Trick

I like using an image from the movie as my label for the CD jewel case. I use Mplayer to screen-capture an image:

mplayer dvd:// -ss 00:10:00 -vo jpeg

This example command will begin screen-capturing several frames per second, beginning 10 minutes into the movie. You will end up with a collection of numbered JPEG images in the directory where you invoked Mplayer. Press Ctrl-C as soon as you've collected enough images to choose from.

Now load them into your favorite graphics package. I use display from the imageMagick graphics suite because I can load them all with one command:

display *.jpg

Select the one you would like to use, print it, fold the paper, and you're done.

Robert Bernier is the PostgreSQL business intelligence analyst for SRA America, a subsidiary of Software Research America (SRA).


Return to the Mac DevCenter


Do you have a refinement or a suggestion? Let us know here.
You must be logged in to the O'Reilly Network to post a talkback.
Post Comment


Tagged Articles

Post to del.icio.us

This article has been tagged:

linux

Articles that share the tag linux:

Managing Disk Space with LVM (74 tags)

Use Your Digital Camera with Linux (60 tags)

mdadm: A New Tool For Linux Software RAID Management (59 tags)

Asterisk: A Bare-Bones VoIP Example (43 tags)

View All

video

Articles that share the tag video:

Screencasting Strategies (18 tags)

Movies of Software (11 tags)

Linux for Video Production (10 tags)

View All

software

Articles that share the tag software:

What Is Web 2.0 (185 tags)

Rolling with Ruby on Rails (97 tags)

How Does Open Source Software Stack Up on the Mac? (79 tags)

Calculating the True Price of Software (68 tags)

Delve into DEVONthink (30 tags)

View All

dvd

Articles that share the tag dvd:

Create Self-Booting Movie CDs (4 tags)

Speeding up Linux Using hdparm (2 tags)

View All

tools

Articles that share the tag tools:

Rolling with Ruby on Rails (52 tags)

Profiling Your Applications with Eclipse Callisto (41 tags)

Data Munging with Sprog (28 tags)

The Ultimate Free Windows Toolkit (27 tags)

Ajax on Rails (24 tags)

View All

Sponsored Resources

  • Inside Lightroom
Advertisement

Sponsored by:

O'Reilly Media

©2009, O'Reilly Media, Inc.
(707) 827-7000 / (800) 998-9938
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.
About O'Reilly
Academic Solutions
Authors
Contacts
Customer Service
Jobs
Newsletters
O'Reilly Labs
Press Room
Privacy Policy
RSS Feeds
Terms of Service
User Groups
Writing for O'Reilly
Content Archive
Business Technology
Computer Technology
Google
Microsoft
Mobile
Network
Operating System
Digital Photography
Programming
Software
Web
Web Design
More O'Reilly Sites
O'Reilly Radar
Ignite
Tools of Change for Publishing
Digital Media
Inside iPhone
O'Reilly FYI
makezine.com
craftzine.com
hackszine.com
perl.com
xml.com

Partner Sites
InsideRIA
java.net
O'Reilly Insights on Forbes.com