VisualHub Users Guide
VisualHub Users Guide
by Tyler Loch
Fearless Leader, Techspansion LLC
3
Chapter 1:
Crash Course
"This readout tells you where you're going, this one tells you where you are, this one tells
you where you were."
4
Introduction
VisualHub was created to allow people to convert video to many popular formats with ease. Most people will figure it out
right away with no help. If you’re someone who scoffs at the notion that an “easy to use” program needs a 45 page
Users Guide, then don’t read past this page. You won’t need to learn any more than this page teaches you.
Some people will need a crash course (this section) to get jump-started.
Some people would like more in-depth information on a specific format...or on every aspect of the program.
...and a few people will just curl up in a ball and rock back and forth, wishing someone else would do it all for them. You
could start a successful business catering tech support to these people since they always seem to have a lot of extra
money lying around.
Workflow
The normal workflow of VisualHub works as follows:
3: Click Start.
Easy Settings
Each format has some Easy Settings, such as
quality, TV format, etc. In many cases, the default
settings will do what you want and don't need to be
changed. There is a chapter on each video format
that explains every setting in detail. VisualHub is as
easy or complex as you want it to be. You want
more control? Start changing those settings. Want
total control? Click on the "Advanced" button to tweak every aspect of your video conversion process.
By default, VisualHub will save each finished, converted video to the same folder that the original video came from. If
you're converting videos from multiple locations, you might find it easier to save them all to the same location. The
"Edit..." button right above "Start" will allow you to choose a folder where all converted videos will congregate after
they're completed.
Progress
Once you click Start, VisualHub will take a look at each file, figure out the best way to convert it based on the selected
settings, and start the conversion. The progress bar at the bottom of the window will keep you updated with the overall
progress and the estimated time remaining.
5
Chapter 2:
iTunes
"You know, our next big step is we want it to make toast. I want to brown my bagels when
I’m listening to my music. And we’re toying with refrigeration, too."
6
What Is It?
A specialized set of MPEG-4 settings that play on modern iPods, Apple TV, and iPhone.
More Information
The 5G iPod was announced in late 2005. Its 320x240 screen plays MPEG-4 and H.264 video at varying sizes and data
rates, and has the capability to hook up to a TV for higher-resolution video playback. The Apple TV and iPhone were
announced in January 2007 and play back similar files, with the Apple TV also supporting specific high-definition formats.
The iPod nano (3G), iPod classic and iPod touch were announced in September 2007 and support files similar to the
iPhone and 5G iPod.
iPod (5G), iPod classic, iPod nano, Apple TV, iPhone, iPod touch, All Devices
Consider what screen you'll be viewing your video on.
Videos made for iPods look great on the iPod screen, but may look blocky when
viewed on a TV.
Videos made for the Apple TV will only play on Apple TV and Macs (not the iPod
or iPhone).
Videos made for the iPhone or iPod touch will look great on the iPhone and iPod
touch, but can be overkill for regular iPods, and not good enough for TV.
For iPods and iPhone, choosing the “High” or “Go Nuts” quality settings will convert
your videos at a size that will look great both on the iPod and on TV. If you won’t be
using the TV-Out capabilities of your iPod, the “Standard” quality setting is
sufficient.
The All Devices option creates “jack of all trades” videos, which will play on any of the above devices.
Quality
If visual quality isn't as important as just getting the message across, you can set the quality slider to "Low" or "Tiny". If
the video demands the absolute best quality possible, choose "High" or "Go Nuts". "Go Nuts" Pushes Your iPod To The
Max. This setting may take over 5 times as much space as "Standard", but will look better (by how much is your opinion).
This is a personal preference. "Standard" is good for the majority of users and video types. The rest is up to you.
For iPods, choosing the “High” or “Go Nuts” quality setting will convert your videos at a size that will look great both on
the iPod and on TV.
7
Add to iTunes
Checking this box will automatically add each video to the iTunes Videos playlist. If you have your iPod set to
automatically sync to your Music Library, this is a good setting to use.
H.264 Encoding
H.264 is a newer, more advanced video compression type. Videos compressed with H.264 will look better than the
default MPEG-4 counterparts at the same resolution, and will take up less disk space. Of course, there's a catch. It takes
much longer to compress to H.264 than MPEG-4. This is another personal preference.
After Conversion
If you checked "Add to iTunes", you're done. Otherwise, drag the completed video into your iTunes library. If you
manually manage your iPods songs/videos/playlists, drag completed videos to your iPod in iTunes' Source sidebar.
8
Chapter 3:
PSP
"This is the design that we came up with. There may be people that complain about its
usability, but that's something which users and game software developers will have to
adapt to..."
- Ken Kutaragi
9
What Is It?
A specialized set of MPEG-4 settings that will play on the PSP.
More Information
The PlayStation Portable is Sony's grand entrance into the portable gaming market. It's a "jack of all trades", competing
with both the GameBoy Advance, Nintendo DS, and iPod. Its crazy-bright and glossy 480x272 widescreen display
makes for great video playback. Sony has placed a lot of restrictions on video formats in earlier firmware revisions
though, crippling its higher-quality video capabilities.
Quality
If visual quality isn't as important as just getting the message across, you can set the quality slider to "Low" or "Tiny". If
the video demands the absolute best quality possible, choose "High" or "Go Nuts". "Go Nuts" Pushes Your PSP To The
Max. This setting may take over 2 times as much space as "Standard", but will look nominally better.
This is a personal preference. "Standard" is good for the majority of users and video types. The rest is up to you.
AVC Encoding
AVC, also known as H.264, is a newer, more advanced video compression type. Videos compressed with AVC will look
better than its default MPEG-4 counterpart and takes up less stick space. Of course, there's a catch. It takes much
longer to compress to AVC than MPEG-4. This is another personal preference.
Advanced Settings
The Advanced panel will show an extra section of you have the PSP tab selected.
Custom Title - This lets you choose your own PSP-readable title instead of VisualHub using the video file’s original
name. If you are converting a batch of files, each video will have a number placed after the name based on its order.
10
After Conversion
The PSP requires videos be placed in special folders on your MemoryStick Duo for playback.
When choosing the “Firmware 3.30+” option, videos are placed in the /VIDEO folder on your MemoryStick.
When choosing the “All PSPs” option, if you selected your PSP’s memory stick as the “Save To” destination, VisualHub
will automatically place your converted file(s) in the correct location. Otherwise, follow these steps:
1. Put your PSP into USB Connection mode and plug it in to your Mac. Your memory stick will show up in Finder.
2. If a folder named "MP_ROOT" does not exist on your memory stick, create one.
Note:
PSP Firmwares 2.8 and up allow videos placed in a
“VIDEO” folder on the main level of the Memory Stick.
Compatibility of videos placed there differ to the original placement shown above for no logical reason. It’s recommended
that you set VisualHub to save movies directly to your Memory Stick in order to guarantee playback.
11
Chapter 4:
DV
"...and it's indestructible! [WHAM] [WHAM] [WHAM] ...aww...I broke some of the
shielding..."
12
What Is It?
A nearly-lossless format geared towards non-linear video editing.
More Information
DV video became the standard for home and prosumer video editing with the
release of iMovie in 1999. iMovie and Final Cut Pro use it as their native editing
format. Since it's a near-lossless digital format, there is no "generational loss" as experienced on analog VHS or more
primitive digital formats when copying and editing video from device to device.
NTSC stands for "North American Television Standards Committee", and as expected from the title, this format is used in
North America. It is also the native format of Japan and northwest South America.
PAL stands for "Phase Alternating Line", and as expected from the title, tells you absolutely nothing helpful, leaving you
lost and confused. It's the format used in the rest of the world, including Europe, Asia, Africa, Australia, and most of
South America. People in Antarctica are too cold to watch TV.
13
After Conversion
If you want to add your completed videos to an iMovie project,
3. A new window will open showing you the innards of your iMovie
project. Your completed videos from VisualHub can be dropped
in the "Media" folder seen inside your iMovie project's folder.
14
Chapter 5:
DVD
"I go on Kazaa every week [...] a lot of it was pornography, some of it was music, but a lot
of it was films."
"I say to you that the VCR is to the American film producer and the American public as the
Boston Strangler is to the woman home alone."
"In the digital world, we don't need back-ups, because a digital copy never wears out. It is
timeless."
15
What Is It?
A specialized set of MPEG-2 settings and authoring utilities that are geared
towards creating discs that will play back on standalone DVD video players
as well as computers.
More Information
DVD : VHS :: CD : Vinyl (do you remember your grade school analogies?)
DVD is the widely-used modern format for home video. Video quality is variable, allowing for very long running times.
VisualHub can fit up to 18 hours of video on one DVD. Image resolution and bitrate can be lowered to allow for the best
quality compromise.
NTSC stands for "North American Television Standards Committee", and as expected from the title, this format is used in
North America. It is also the native format of Japan and northwest South America.
PAL stands for "Phase Alternating Line", and as expected from the title, tells you absolutely nothing helpful, leaving you
lost and confused. It's the format used in the rest of the world, including Europe, Asia, Africa, Australia, and most of
South America. People in Antarctica are too cold to watch TV.
Quality
If visual quality isn't as important as just getting the message across, you can set the quality slider to "Low" or "Tiny". If
the video demands the absolute best quality possible, choose "Standard".
Quality settings are not available with “Author as DVD” is checked. Quality will then be automatically decided.
Author as DVD
Checking this box will tell VisualHub to create a full-fledged DVD from the input files. VisualHub will add up the running
times for each video in the File List, and choose quality and bitrate settings in order to guarantee that all files will fit on
16
one DVD. The final result of this conversion is a disc image file named “VisualHubDVD.iso” that can be tested before
being burned at your leisure on any Mac with Disk Utility, or with any PC burning software.
Advanced Settings
The Advanced panel will show an extra section of you have the DVD tab selected.
Custom Volume Name - This lets you pick the name used for the DVD disc and the .iso file created by VisualHub. You
must use only capital letters and underscores: THIS_IS_AN_EXAMPLE
Long names above 31 characters are not supported.
Chapters Every n Minutes - By default, VisualHub will place a chapter marker at the beginning of every video in the list.
By selecting “5”, “10”, or “15” minutes from this menu, VisualHub will also place chapter marks at those intervals.
Force
Standard/Anamorphic - This lets you decide whether a DVD should be widescreen 16:9 or not instead of letting
VisualHub choose for you based on the majority aspect of the videos in your batch.
Full Resolution - This causes VisualHub to ignore its own resolution recommendation based on video duration, and
encode at the full DVD resolution no matter how low the quality may be.
Dual Layer - This changes all the quality equations to use nearly double the bitrate in order to fill a dual layer disc. Over
36 hours of video can be fit on a single dual-layer disc with this option.
DVD Tidbits
• DVD videos produced by VisualHub will play immediately when inserted in a DVD player. Each video in VisualHub’s File
List is a separate chapter.
• When converting a batch of videos under 3 total hours, VisualHub will make a decision between anamorphic 16:9 or
standard 4:3 based on which format is more prevalent. The minority aspect will be letterboxed. Batches over two
hours use a different resolution and must be 4:3, with widescreen material letterboxed.
• The DVD specification is limited to 99 chapters, meaning VisualHub is limited to 99 files in a batch. Some DVD players
will be able to cope with more, but the disc will largely be incompatible with many players.
• The 18 hour limit is a soft limit. You can actually make longer DVDs, but quality will really start to suffer.
17
Chapter 6:
AVI
“Please spell DivX ;-) correctly ! Capital ‘D’ lower-case ‘iv’ capital ‘X’ and do not forget the
eye-blinking smiley ‘;-)’ !”
-Gej
18
What Is It?
A legacy Windows video container resurrected by the DivX project in 1998. VisualHub
creates MPEG-4 AVI files comparable to DivX and Xvid.
More Information
DivX video surfaced in 1998 as a hack to allow MSMPEG4v3 video in the AVI container with MP3 audio. It quickly took
internet downloadable video by storm, becoming the preferred video format by many websites and online communities.
DivX-style MPEG-4 AVI video has changed and forked many times over the past 8 years with "DivX ;-) 3.11a", "DivX 4",
"ProjectMayo", "OpenDivx", "Xvid", "DivX 5" and "DivX 6". VisualHub creates MPEG-4 Advanced Simple Profile files,
most closely related to (and recognized as) DivX 5/6 for compatibility purposes.
The AVI container can contain many different video formats. MPEG-4/DivX/Xvid is(are) one of them, but is overwhelmingly
prevalent over all other types.
Quality
If visual quality isn't as important as just getting the message across, you can set the quality slider to "Low". If the video
demands the absolute best quality possible, choose "High" or "Go Nuts". "Go Nuts" sets a data rate near the maximum
quality of the codec. This setting may take over 5 times as much space as "Standard", but will look nominally better.
Profile
A sizable number of devices, such as handheld video players and DVD players will also play AVI/DivX video. Many are
"DivX Certified" up to a certain image/file size threshold. Check the playback abilities of your device and choose
accordingly. "Home Theater" reaches the full resolution of standard definition video. "Portable" is meant for handheld
players and can be near standard definition quality. "Simple Profile" is compatible with nearly all devices that play DivX.
“Best Compatibility” will play on Windows with no additional codecs necessary. “Wii” is a special format that will play in
the Photo Channel of a Nintendo Wii. Videos are stored and played back from a SD card on the Wii.
19
Chapter 7:
MP4
"In this world of 'my codec is better than yours' -- this codec is better."
20
What Is It?
A modern container format, used with MPEG-4 and H.264 video.
More Information
The MP4 container gets its heritage from the QuickTime .mov container. Its native video
formats are MPEG-4 and H.264 (also known as AVC), with AAC audio.
Quality
If visual quality isn't as important as just getting the message across, you can set the quality slider to "Low". If the video
demands the absolute best quality possible, choose "High" or "Go Nuts". "Go Nuts" sets a data rate near the maximum
attainable quality of the codec. This setting may take over 5 times as much space as "Standard", but will look nominally
better.
The 56K setting will create a file that can stream in realtime over a 56K modem.
H.264 Encoding
H.264 is a newer, more advanced video compression type. Videos compressed with H.264 will look better than the
default MPEG-4 counterparts and take up less disk space. Of course, there's a catch. It takes much longer to compress
to H.264 than MPEG-4. H.264 videos compressed under the MP4 tab are "Main Profile" with one b-frame.
21
Chapter 8:
WMV
"I've got my kids brainwashed: You don't use Google, and you don't use an iPod."
22
What Is It?
A Microsoft-created video container format.
More Information
The WMV format is Microsoft's video format for both local use and internet streaming.
The ASF and WMV formats are nearly identical, with just the file extension differentiating the two. VisualHub uses the
WMV8 video codec and WMA9 audio codec.
Quality
If visual quality isn't as important as just getting the message across, you can set the quality slider to "Low". If the video
demands the best quality possible, choose "High" or "Go Nuts". "Go Nuts" sets a data rate near the maximum attainable
quality of the codec. This setting may take over 5 times as much space as "Standard", but will look nominally better.
The 56K setting will create a file that can stream in realtime over a 56K modem.
Compatibility
WMV files created by VisualHub can be played with the following:
Mac OS X with QuickTime Windows Media plugins (Flip4Mac). Windows Media Player 9:Mac is unsupported.
Windows 98/Me/2000/XP/Vista with Windows Media Player 7 and up.
Xbox360 with Fall 2006 Update
VLC and MPlayer-based software on any platform.
Playback compatiblity and quality on any other platforms may vary.
Xbox360 Playback
As of the 2006 Xbox fall firmware update, the Xbox360 gained the ability to play back WMV video files accessed in a
variety of different methods:
CDs/DVDs, USB Hard Drives, USB Flash Drives, Microsoft Windows Connect,and Nullriver’s Connect360.
WMVs created by VisualHub can be played back on the Xbox360 by any of these methods.
23
Chapter 9:
MPEG
”The basic scheme is to predict motion from frame to frame in the temporal direction,
and then to use DCT's (discrete cosine transforms) to organize the redundancy in the
spatial directions. The DCT's are done on 8x8 blocks, and the motion prediction is done in the
luminance (Y) channel on 16x16 blocks. In other words, given the 16x16 block in the current frame
that you are trying to code, you look for a close match to that block in a previous or future frame
(there are backward prediction modes where later frames are sent first to allow interpolating
between frames). The DCT coefficients (of either the actual data, or the difference between this block and
the close match) are quantized, which means that you divide them by some value to drop bits off the bottom
end. Hopefully, many of the coefficients will then end up being zero. The quantization can change for every
"macroblock" (a macroblock is 16x16 of Y and the corresponding 8x8's in both U and V). The results of all of this, which
include the DCT coefficients, the motion vectors, and the quantization parameters (and other stuff) is Huffman coded using fixed tables.
The DCT coefficients have a special Huffman table that is two-dimensional in that one code specifies a run-length of zeros and the non-
zero value that ended the run. Also, the motion vectors and the DC DCT components are DPCM, (subtracted from the last one) coded.”
24
What Is It?
A legacy format supported by virtually all computers.
More Information
MPEG video was created in the early 1990s as a worldwide standard for digital video. It
lives on in many forms today. MPEG video can be played by nearly every computer
without special software, plugins, or codecs needed.
NTSC stands for "North American Television Standards Committee", and as expected from the title, this format is used in
North America. It is also the native format of Japan and northwest South America.
PAL stands for "Phase Alternating Line", and as expected from the title, tells you absolutely nothing helpful, leaving you
lost and confused. It's the format used in the rest of the world, including Europe, Asia, Africa, Australia, and most of
South America. People in Antarctica are too cold to watch TV.
This is a personal preference. "Standard" is good for the majority of users and video types. The rest is up to you.
MPEG-2 Encoding
MPEG-2 is a revision to the MPEG format. DVDs use a specialized set of MPEG-2 settings. Don't use this unless you
know why you have to.
25
MPEG Profiles
There are hundreds of devices that use MPEG video to some extent, all with their own specific settings needs. VisualHub
has presets for some of the more popular device formats.
VCD
Creates an MPEG file conforming to the strict VCD 1.1 specifications. VCD was an MPEG-derived format popular in Asia,
and playable by many DVD players.
SVCD
Creates an MPEG file conforming to the SVCD specifications. SVCD was an MPEG2-derived format created by China as
an alternative to the DVD format. It’s playable in some DVD players.
CVD
Creates an MPEG file conforming to the CVD specifications. CVD was an MPEG2-derived format created by China along
with SVCD as an alternative to the DVD format. SVCD won. CVD is still popular with some people, as it’s very similar(and
sometimes drop-in-compatible) to the DVD format. It’s playable in some DVD players.
TiVo
Creates an MPEG file conforming to the specifications
of the TiVo Series 2 DVR. TiVos use an MPEG2-
derived format. Files created by a TiVo unit are
encrypted to only work on specific devices. Standard
MPEG-2 videos formatted specially are able to be
placed onto the TiVo using TiVo Desktop.
You must be running TiVo Desktop 1.9.3 to use this
TiVoGoBack feature.
Run the TiVoGoBack Enabler included in the VisualHub
Disk Image to turn this feature on. You can set the
folder where your TiVo will find converted videos using
the TiVo Desktop System Preferences pane. See the
TiVoGoBack ReadMe for detailed information.
Transport Stream
Creates an MPEG-2 file in a Transport Stream (.ts) container. Many digital TV decoders receive transport streams.
HDTV 720p
Creates an MPEG transport stream conforming to the ATSC HDTV 720p60/50 format. This can be fed to a FireWire-
equipped HDTV decoder using the freeware VirtualDVHS program.
HDTV 1080i
Creates an MPEG transport stream conforming to the ATSC HDTV 1080i30/25 format. This can be fed to a FireWire-
equipped HDTV decoder using the freeware VirtualDVHS program.
26
Chapter 10:
Flash
"People are all the time asking me, "Mike, how do you do those stupid voices for your
dumb animal characters?", and I say, "I'm Mike. Matt does the voices."
- Mike Chapman
27
What Is It?
A Macromedia and Sorenson-created video format commonly found in Macromedia
Flash .swf files. Used by Google Video and YouTube
More Information
Flash 6 included a video codec to go along with MP3 audio to allow simple video to be
embedded in .swf files. In recent months, its use has exploded due to its inclusion in Google Video and YouTube, among
other community video sites. It's mainly geared towards web playback, due to the limited support outside web browsers.
VisualHub supports the version of Flash video used in Flash 6 and 7.
Quality
If visual quality isn't as important as just getting the message across, you can set the quality slider to "Low". If the video
demands the absolute best quality possible, choose "High" or "Go Nuts". "Go Nuts" sets a data rate near the maximum
attainable quality of the codec. This setting may take over 5 times as much space as "Standard", but will look nominally
better.
The 56K setting will create a file that can stream in realtime over a 56K modem.
Specialized Controls
The .swf files outputted by VisualHub automatically play and loop. In order to provide more control, such as Play/Pause
buttons, it’s necessary to output in raw .flv format and use a FLV player solution, such as this:
http://www.jeroenwijering.com/?item=Flash_Video_Player
28
Chapter 11:
Advanced
"We knock them into little pockets with sticks. ...and we got higher numbers too!"
29
Warning: Certain settings used in the Advanced
drawer may create video files incompatible with
some devices.
Option Explanation
Crop Will remove n number of pixels from a side, depending on which field a number is entered.
(Left,Right,Top,Bottom) Crop values must be even numbers.
AutoCrop By This File: Will find video edges (black bars, etc) and automatically set Crop settings for
all videos according to the selected file only. Automatic: Will find video edges (black bars,
etc) and automatically set Crop settings for each file during their conversions.
Size Dimensions of the video in pixels. This setting will override any presets for each video type.
Framerate Video frames per second. Film: 24, NTSC: 29.97, PAL: 25. This setting will override
presets.
Preview Shows a graphical preview of a frame n seconds into the video. Any settings such as Size
or Crop will be reflected here. Check “Show Compression” to view image degradation
depending on the format selected.
Bitrate Data rate for the video. Measured in kilobits per second. Dialup: 56, DSL: ~1500
“Fit each video in” Will calculate a Bitrate constrained to n megabytes based on the reported running time of
each video. Useful with the Two Pass option.
Two Pass Will take a quick overview pass at a video to determine which parts need more resources to
encode. The second pass will encode the video using information determined in the first.
Force (QuickTime/ffmpeg Chooses which decoding engine to use. Left alone, VisualHub will determine by filetype
Decoding) which to use. Troublesome clips may benefit by the tweaking of this setting.
Deinterlace Video from sources such as DV or DVD may demonstrate what’s commonly referred to as
“combing artifacts”. This setting will throw out every other line of video to combat that.
qmin Chooses the minimum quantizer (quality) used. A high number (8+) will mean lower quality.
Extra ffmpeg Flags Additional ffmpeg command line flags can be added here for very advanced users.
Audio Hz Audio fidelity in Hertz. DVD:48000, CD:44100. Lower levels will result in lower audio quality.
Audio Bitrate Data rate for the audio. Measured in kilobits per second. Standard MP3: 128
Audio Channels Chooses between Mono and Stereo. Mono requires only half the Audio Bitrate to encode.
Volume Amplifies or softens overall audio volume to n% of the original. A value of 0 means no
audio.
30
Chapter 12:
Xgrid
“The Xgrid Console has an intuitive Aqua interface that makes it easy to execute UNIX
commands.”
31
What is it and what does it do?
Xgrid is Apple’s clustering technology built into Mac OS X.
Xgrid can speed up a batch conversion by dealing out a video to each available CPU on
your network for conversion.
When you have more than one video in the file list and then check the "Enable Xgrid
Encoding" checkbox, VisualHub will enlist the help of any Macs on your local network that
have Xgrid enabled to distribute the load of batch encoding. If you have a multi-processor Mac,
Xgrid may also speed up the encoding process, with each processor working on a different video.
For example, a PowerMac G5 Quad under normal circumstances will only convert one video at a time, leaving anywhere
from 2.5 to 3 of its processors idle. With Xgrid, the same computer can utilize all 4 processors to their highest capacity.
A Controller can also be an Agent to itself. You’ll see later how that can be a very good thing.
When you start an Xgrid-enabled batch, the Controller will do all the necessary detection and decision of settings for
each video, one by one. That information is sent to the Xgrid to await assignment. When an Agent is available, the Xgrid
will submit that information along with the video to be converted over the network to an Agent. Once all videos are sent
to the Xgrid, VisualHub will wait to hear back from Agents with completed videos. The progress bar will update for every
completed video. Once all videos are received, VisualHub will execute any post-conversion routines it normally does.
32
Panther Agents: You will need to download the Xgrid Agent for Panther from Apple’s website:
http://www.apple.com/support/downloads/xgridagentformacosx103.html
Once installed, there will be a new Xgrid option in System Preferences. It has a similar window as shown above and
should be filled out in the same manner.
Note: VisualHub does not need to be installed on an Agent. All necessary files are sent to the Agent prior to conversion.
If your Controller is a single-processor Mac and you have a large number of Agents on the network (10 or more), the
Controller computer will spend most of its time dealing with organizing the Agents, and very little processing power will
be left over for video conversion
Network Throughput
It’s strongly recommended that the Controller and all Agents be connected via a wired network. Each Agent must receive
the entire file it’s meant to convert before conversion begins. On a wireless network, throughput can be 1/20th that of a
standard wired network. Creating a network bottleneck like that may eliminate any benefit of running Xgrid in the first
place. Gigabit ethernet would sure be nice if you had it, but it’s in no way a requirement.
Network Ports
VisualHub needs ports 8264-8267 open for file transport. Ports 4111-4120 are used for regular Xgrid Controller/Agent
communication. Make sure your software firewall is off or has these ports open.
Xgrid Management
Apple makes available an Xgrid management program called Xgrid Admin included in the Tiger Server Admin Tools
software package. The Admin Tools are a free download from Apple and can be used with a standard Mac OS X
computer too. http://www.apple.com/support/downloads/serveradmintools1047.html
Xgrid Admin can be used to monitor the activity of your Xgrid cluster.
• Any packages for video files, such as .iMovieProject and .eyetv files aren’t supported.
• Conversion from DVD discs or VIDEO_TS folders either won’t work, work slowly, or wear down your DVD drive.
33
Chapter 13:
Tidbits
"But the most important rule, the rule you can never forget, no matter how much he cries
or how much he begs...never, never feed him after midnight. Got it?"
- Gremlins, 1984
34
Video Stitching
Video Stitching = Combining all the files in the video list into one massive file big enough to tell your grandkids about.
Stiching is available for the iPod, DV, MP4, AVI, and MPEG formats, and is enabled by selecting the “Stitch Videos
Together” checkbox in the main window.
Important: Every file that is going to be stitched together must have the SAME characteristics as all the other files. This
means the same resolution, framerate and audio quality. To ensure this, it’s best to set these characteristics manually in
the Advanced drawer.
Post-Conversion Actions
VisualHub can perform a few tasks after conversion completes to help people automate things (a little) better. These
actions are located in the “When Done:” pulldown menu on the main window.
Open Enclosing Folder
This will open a new Finder window with the contents of the folder listed in the “Save To” field. If blank, this will open the
folder containing the last-converted file.
Quit VisualHub
Self-explanatory.
Set Computer to Sleep
Will put the computer into Sleep/Suspend mode. Tapping a key on the keyboard or clicking the mouse will wake it up.
Pause/Resume Conversion
You may want to pause conversion in VisualHub if you’re running other CPU-intensive programs, or if your laptop starts
burning your crotch. This can be accomplished through the File menu.
You shouldn’t quit VisualHub if you’ve paused conversions until you resume and complete/cancel them. Also, the Time
Remaining indicator will show an inaccurate estimate for the remainder of the file you’re currently converting.
Preferences
Under the VisualHub menu, click “Preferences...”
Low CPU Priority
By default, VisualHub's processing is no more and no less important than every other task on your computer.
Checking this box will make VisualHub "nice", and only use resources that would otherwise be idle.
Default Save Location
Changing this will change the “Save To” field on launch. Leave it blank to use the converted file’s original location.
Turn off Xgrid Controller
This will deactivate the Xgrid Controller process and disable its launch on startup.
Play Sound When Complete
Normally, VisualHub plays a “ding” sound when conversion completes. Uncheck this box to effectively silence VisualHub.
35
Chapter 14:
Troubleshooting
"Son, you tried your hardest and failed miserably. The lesson is: Never try."
- Homer J. Simpson
36
Hey, my video’s out of sync. What gives?
Sometimes, a video file will get out of sync during conversion. It’s usually more noticeable near the end of the video. Two
possible ways to solve this:
1. Switch decoding methods. In the Advanced panel, check the “Force” box and try converting with QuickTime or
ffmpeg Decoding. If your file is a QuickTime movie, try ffmpeg Decoding. if not, try QuickTime Decoding. Both
methods have a different way to keep audio sync and one may work better than the other.
Type “-async 0” into the “Extra ffmpeg Flags” text field in the Advanced panel’s video section. This is yet another
sync method that may work better on some files.
2. Check for other programs hogging up the processor. Open Activity Monitor in /Applications/Utilities/. There,
you can sort by “% CPU” to see what programs are the most active. VisualHub’s main conversion process is
“ffmpeg” (movtoy4m helps for QuickTime files). Quit open programs that aren’t vital.
37
Chapter 15:
Appendix
"...But what I'd really like to do is drive a flaming bus through a wall of TVs with a stick of
dynamite strapped to my head."
38
(vermiform appendix)
39
Appendix A:
Cheat Codes
"The arcade version of Gradius is really difficult, right? I never played it that much, and
there was no way I could finish the game, so I inserted the so-called Konami code
(laughs)."
- Kazuhisa Hashimoto
40
What in the world is a “cheat code”? How do I rescue the princess?
A “cheat code” in this sense is a very advanced setting for people who want to go above and beyond the GUI. A cheat
code could also be a way to use VisualHub in strange, horrible ways.
Many Cheat Codes are selectable from the Advanced panel. All cheat codes should go in the “Extra ffmpeg Flags”
section in the Advanced drawer unless otherwise noted.
Explanation String
Best possible H.264/ -refs 5 -mbd 2 -me full -subq 6 -me_range 21 -me_threshold 6 -i_qfactor 0.71428572
AVC(much slower):
Best possible H.264/AVC for -refs 5 -mbd 2 -me full -subq 6 -me_range 21 -me_threshold 6 -i_qfactor 0.71428572
animation (much slower): -deblockalpha 1 -deblockbeta 1
Encode only a specific -t n
duration (in seconds):
Start encoding n seconds -ss n
into the video file:
Add padding to the edges -padtop n -padbottom n -padleft n -padright n
Make a .mp4 file For MPEG-4: Use the “All PSPs” setting
compatible with both the For H.264/AVC: Use the iTunes tab’s “Optimize for iPod 5G” option at Standard quality
iPod AND PSP
Mid-batch settings change: Did you know you can change settings during a batch encode? The next file in line will
get the new settings. You really shouldn’t do this, but you can if you live dangerously.
Copy original video track -vcodec copy
(passthrough):
Best possible MPEG-4 -vcodec xvid -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2
(much slower):
Use n keyframes: -g n
Alternate Sync Method -async 0
Konami Code: ⒷⒶ
41
Appendix B:
Supported Codecs/Formats
“Note, the names of encoders and decoders dont always match, so there are several
cases where the above table shows encoder only or decoder only entries even though
both encoding and decoding are supported for example, the h263 decoder corresponds
to the h263 and h263p encoders, for file formats its even worse”
- ffmpeg Source
42
Extra Information
What follows are charts of known-working video/audio codecs and container formats for import into VisualHub.
Supported output formats are the selection tabs in the main interface. “Partial” means not all files in that format/
container are supported - it’s hit or miss depending on container/codec-specific information. VisualHub cannot convert
protected files, as found on the iTunes Music Store or Windows-based audio/video stores.
This is in no way an exhaustive list!
Files with other extensions may contain familiar data and convert without issue. Trying “mystery” formats couldn’t hurt.
MPEG-1 MP3
MPEG-2 AAC
MSMPEG4 AIFF
WMV7 PCM
WMV9 MP2
MotionJPEG
Container Formats
DV
QuickTime: .mov
HDV
MPEG-4: .mp4 .m4v (unprotected)
Cinepak
AVI: .avi
Legacy RealVideo (RV20)
MPEG: .mpg .mpeg .m1v .m2v .vob .ts .m2t
Ogg Theora
WMV: .asf .wmv (unprotected)
Snow
DV: .dv
Indeo 2/3
3GPP: .3gp
Many other specialized codecs
Flash Video: .flv .swf
Notable Unsupported Exceptions
Modern RealVideo (RV40/RMVB) Ogg Media Container: .ogm (partial)
43
Appendix C:
Credits and Other Info
44
Credits License Information
Installing and using the software indicates your
ffmpeg
©2007 ffmpeg Contributors. agreement to the terms of this license. If you do not
ffmpeg is a trademark of Fabrice Bellard. agree to the terms of this license you must uninstall and
http://ffmpeg.sourceforge.net
delete the software from your computer.
FAAC, FAAD
©2004 AudioCoding - http://www.audiocoding.com All rights and privileges are reserved except as explicitly
defined in this document.
libvorbis, libogg
© 1994-2007 Xiph.org - http://xiph.org
VisualHub's license allows household use. Any
liba52 computers within or controlled by the members of a
http://liba52.sourceforge.net standard household are allowed to share the same
LAME license. A user may install the software and license on
http://www.mp3dev.org/ their home and personal work computer. Your uncle Phil
x264, libdca from Oregon is not in the same household as you. The
http://developers.videolan.org cute girl in Accounting’s computer is not your work
computer. She wouldn’t go out with you anyway.
movtoy4m, movtowav, movinfo
©2002-2005 Johan Lindström
http://homepage.mac.com/johan/ Commercial use of single license on multiple computers
is prohibited without a separate commercial license.
dvb-mpegtools
libdvb - http://www.metzlerbros.org/dvb/index.html Discounted 5-Pack and 10-Pack licenses are available at
the standard Techspansion store.
qt_export Contact [email protected] for details on volume
@2003-2004 David Van Brink
http://www.omino.com/~poly/software/qt_tools/ licenses (over 20).
yuvcorrect, y4mtoppm, ppmtoy4m You may not share your Registration Code with persons
MJPEG Tools - http://mjpeg.sourceforge.net/
outside your immediate family or household.
pnmcrop You may not redistribute the software.
Netpbm - http://netpbm.sourceforge.net/ You may not alter or reverse engineer the software.
mkisofs
CDRecord Warranty
http://cdrecord.berlios.de/old/private/cdrecord.html This program is provided as-is without warranty. Limited
lsdvd
acidrip - http://untrepid.com/acidrip/lsdvd.html
AtomicParsley
http://atomicparsley.sf.net
45