SoCG 2003 MPEG-2 sample parameter file /* Change only options marked with > */ frame%04d /*>Frames in files named frameNNNN.ext (range defined below) */ - /* Don't store reconstructed images (what players would see) */ - /* Use default intra quantization matrix */ - /* Use default nonintra quantization matrix */ stats.out /*>Write statistics to this file */ 2 /* Input files are converted into PPM format */ 5400 /*>Number of frames in video (/ 29.97 = number of seconds) */ 0 /*>Start with frame0000 (set to 1 to start with frame0001) */ 00:00:00:00 /* Timecode for first frame */ 15 /* "GOP size" = rate of frames encoded explicitly instead of differentially. */ 3 /* Rate of frames encoded differentially using only past frames, instead of using both past and future frames. */ 0 /* Use MPEG-2 */ 1 /* Interlaced video */ 720 /* Horizontal resolution of frame */ 480 /* Vertical resolution of frame */ 2 /* 4:3 aspect ratio (TV/monitor) */ 4 /* 29.97 frames displayed per second (NTSC) */ 8000000.0 /* 8 Mbits/second bitrate */ 112 /* Buffer size needed for decoding (times 16kbit) */ 0 /* Enable differential encoding using future frames */ 0 /* Always 0 for MPEG-2 */ 4 /* Standard level of MPEG-2 syntax */ 8 /* Main level of parameter constraints */ 1 /* Source is progressive (noninterlaced) video */ 1 /* Chrominance data at half resolution in both dimensions */ 2 /* NTSC video */ 5 /* Set of color primaries */ 5 /* Matching Opto-electronic transfer characteristics */ 4 /* FCC regulations for RGB --> YUV conversion */ 704 /* Intended display horizontal resolution of frame */ 480 /* Intended display vertical resolution of frame */ 2 /* 10-bit precision of DC coefficients */ 1 /* Top (odd) half-frame first when interlacing */ 0 0 0 /* No restrictions on frame prediction */ 0 0 0 /* No "concealment motion vectors" */ 1 1 1 /* Nonlinear quantization scale */ 1 0 0 /* Use appropriate variable-length-encoding tables */ 1 1 1 /* Alternative to zig-zag scan (better for interlaced video) */ 0 /* Don't repeat first half-frame */ 0 /* Interlaced video */ 0 /* Not implemented */ 0 0 0 0 0 0 0 0 /* Default rate control parameters */ 2 2 11 11 /* P: forw_hor_f_code forw_vert_f_code search_width/height */ 1 1 3 3 /* B1: forw_hor_f_code forw_vert_f_code search_width/height */ 1 1 7 7 /* B1: back_hor_f_code back_vert_f_code search_width/height */ 1 1 7 7 /* B2: forw_hor_f_code forw_vert_f_code search_width/height */ 1 1 3 3 /* B2: back_hor_f_code back_vert_f_code search_width/height */