Stereo File Format Drastic Technologies Ltd (c) Copyright 2005-2011, Drastic Technologies Ltd All Rights Reserved Contents: --------- 1. Overview 2. File Format 3. Samples ============================================================================== ============================================================================== =========================================================== ======================================= =================== 1. Overview =================== =================== The 'stereo' file is a text based XML file that specifies two separate files as the left and right eyes of a stereo pair. These files do not have to have a particular naming convention, or even be of the same file type, but their internal compression must be the same. The stereo file reader will open both video files, and an optional set of audio files, and combine them for 3D use in DrasticPreview, DrasticDDR, MediaNXS, MediaReactor and other Drastic products. ============================================================================== ============================================================================== =========================================================== ======================================= =================== 2. File Format =================== =================== The file format is an ANSI or UTF-8 XML file using iso-8859-1 encoding. It has to use the file extension .stereo to be recognized by the stereo reader plug in. Extra information may encoded at any point in the file, but at minimum there must be a Stereo tag with at lease two File tags to specify the right and left eye files. All stereo files start with the xml type specifier: This is normally followed by a comment specifying the files purpose and where the format document can be retrieved: All of the important information for the stereo reader is contianed within a Stereo tag pair The stereo reader is designed to handle more then two video frames (eyes) per read, but for now it is only using two. Each file is enclosed in a File tag pair. The numbering next to the File should be 0 and 1 for the left and right eyes: within these tags are sub tags he specify where the video file is and any offset required to align the two eyes. A typical file tag area will look like this: C:\Optional test_l.avi 22 - Optional, contains the directory or folder in which the file resides. If it is not specified, it is assumed the file is in the same directory as the stereo file. - Required, contains the actual file name and extension of the media file. For sequences, simple specify the first name in the sequence and the rest will be found automatically - Optional, if present it will be the frame in the media file that will be read as frame 0. All frames in the file will be offset by this amount. If it is not specified, it is set to 0 There is also and opional tag that can be used to specify an arbitrary separate audio file to be read with the video files. This section has the same format as the File sections. It is not specified, then audio will be rad from the first (File0/left eye) video file. A MCC or SCC closed captioning file may also be specified in a tag, using the same tag as the audio and video formats. ============================================================================== ============================================================================== =========================================================== ======================================= =================== 3. Samples =================== =================== -snip------------------------------------------------------------ C:\Optional test_l.avi 22 C:\Optional test_r.avi 0 test.wav -snip------------------------------------------------------------ -snip------------------------------------------------------------ test_l.avi test_r.avi test.wav -snip------------------------------------------------------------ -snip------------------------------------------------------------ test_l.avi test_r.avi -snip------------------------------------------------------------ -snip------------------------------------------------------------ T3D003013_Centre_fast_1080p60_l.yuv 0 T3D003013_Centre_fast_1080p60_r.yuv 0 ../Audio_wav/T3a003y113_Centre_fast_act_unc.wav T3D003013_Centre_fast_1080p60_r.mcc -snip------------------------------------------------------------