XMovie User's Guide

XMovie was originally written as a simple, fast method to play uncompressed movies with stereo sound back when the only uncompressed movie player was xanim and the only MPEG player was MTV. XAnim didn't play stereo sound and MTV was a $15 shareware. Hard to believe how today's applications toss movies around without a wimper when just 4 years ago it was an ordeal just to play an MPEG stream.

Additional codecs were added over the years.

Supported file formats

MPEG-1 program streams
MPEG-2 program streams
MPEG-2 transport streams
MP3 audio
MP2 audio
AC3 audio
WAV audio. Not currently but maybe later.
AIFF audio. Not currently but maybe later.
MPEG-1 video
MPEG-2 video
DVD rips
VCD rips
Quicktime video:
Heroine 60 - Custom codec for 60fps.
Motion JPEG A
MPEG-4
Uncompressed RGB
Component video
Progressive JPEG
PNG
YUV 4:2:0 uncompressed
YUV 4:2:2 uncompressed
DV
Quicktime audio:
Ogg Vorbis
Twos complement
IMA4
ulaw
AVI video:
Motion JPEG
MPEG-4

Menus

OPTIONS
PLAY EVERY FRAME
Forces every frame to be played regardless of synchronization.
FULL SCREEN
Toggles between fullscreen and windowed output. Remember to use the f key to toggle back.
ORIGINAL SIZE
Size the frame so that horizontal resolution is 1:1.
SYNCHRONIZE USING SOFTWARE
Try to guess the synchronization instead of locking on the soundcard.
SETTINGS
Display aspect ratio - Determines the aspect ratio of the intended screen size by stretching pixels. Usually either 4:3 or 16:9. Can optionally be disabled so that pixels are always square.

Letterbox aspect ratio - For a letterboxed movie this determines what the movie's aspect ratio would be if the letterbox was cropped, usually 2.2:1. Then by enabling Crop letterbox you can save CPU time and desktop area by displaying only the part of the screen containing the movie.

Audio Priority - Some people think the audio interferes with smooth video. You can set the nice value for the audio here. A nice of 0 puts audio on the same priority as video. A nice of 20 puts audio in the lowest priority.

Preload size - CD-ROM drives can't handle seeking in Quicktime movies so preload size determines a maximum number of bytes ahead of the current file pointer the drive should read sequentially before resorting to a SEEK_SET. This speeds up Quicktime playback from CD-ROM drives.

Downmixing strategy - When playing DVD's and 6 channel audio sources you can either mix 6 channels down to stereo, send 6 discrete channels to the soundcard, or upmix a stereo signal to 6 channels. When you plug a 6 channel soundcard into a home theater amplifier, the channel assignments are as follows:


Channel:        1         2           3           4           5            6
Speaker:    Main Left | Center | Main Right | Surr Left | Surr Right | Subwoofer

Video device - An alternative device other than X Windows can be used for video output.

An alternative was once the DVS SDStation. This is no longer supported.

AUDIO
Selects among the audio streams.
VIDEO
Selects among the video streams. After switching video streams you should restart the program since not all video streams have the same dimensions.

Quicktime Info

Although not developed by Microsoft, Quicktime is really a wrapper for the various compression standards out there with 64 bit filesystem support. What you know as Quicktime 4 is really the same as any other version of Quicktime. Quicktime 4 wraps two additional compression standards which aren't present in the previous versions but the method it uses for wrapping is identical to Quicktime 2.

The Quicktime support in XMovie wasn't designed to play movies from the internet. Internet movies are encoded using the two compression standards: Sorenson Vision and QDesign Music. Apple licensed these compression standards for their own use after Microsoft introduced Windows Media Player in 1998 to avert competition, hence it is impossible for anyone but Apple to use Sorenson Vision or QDesign Music.

Your primary use of XMovie is uncompressed Quicktime movies that you create yourself, as in using your computer as a VCR.

Low bitrate MPEG Info

Be sure to disable MMX in settings->preferences. This improves quality. A lot of users notice what they call "color drifting". This is because MMX is enabled.

DVD Info

XMovie can be used as a rudimentary DVD player by playing the IFO files one by one. 50% of the DVD support in Linux is integrated in the kernel. The following kernel is known to play DVD's

Kernel 2.4.4

The files you want to play off of DVDs are .IFO files. Each of these is a movie. After loading an IFO file you'll notice the time indicator jumping around. This shows the timecode in the MPEG stream at every point, which on DVD's is discontinuous.

Most DVD's are encoded with 6 channel audio. If you have a 6 channel sound card you can play all 6 channels as described above. Otherwise downmix to stereo.

MPEG transport stream info

XMovie can play transport streams downloaded from the WinTV-D card and the reference streams from UC Berkeley. When switching between the HDTV and the SDTV video you need to restart the program since we don't check for frame size changes.