1# parameter file template 2# 3# any line beginning with '#' is a comment 4# 5# no line should be longer than 255 characters 6# 7# 8# general format of each line is: 9# <option> <spaces and/or tabs> <value> 10# 11# lines can generally be in any order 12# 13# only exception is the option 'INPUT' which must be followed by input 14# files in the order in which they must appear, followed by 'END_INPUT' 15# 16# <option> MUST be in UPPER CASE 17# 18 19PATTERN IBBPBBPBBPBBP 20OUTPUT output/food 21 22# mpeg_encode really only accepts 2 different file formats, but using a 23# conversion statement it can effectively handle ANY file format 24# 25# you must specify whether you will convert to PPM or YUV format 26# (must be upper case) 27# 28BASE_FILE_FORMAT YUV 29 30# 31# if YUV format, must provide width and height 32# YUV_SIZE width height 33# this option is ignored if BASE_FILE_FORMAT is PPM 34# 35YUV_SIZE 352x240 36 37# the conversion statement 38# 39# Each occurrence of '*' will be replaced by the input file 40# 41# e.g., if you have a bunch of GIF files, then this might be: 42# INPUT_CONVERT giftoppm * 43# 44# e.g., if you have a bunch of files like a.Y a.U a.V, etc., then: 45# INPUT_CONVERT cat *.Y *.U *.V 46# 47# e.g., if you are grabbing from laser disc you might have something like 48# INPUT_CONVERT goto frame *; grabppm 49# 'INPUT_CONVERT *' means the files are already in the base file format 50# 51INPUT_CONVERT cat *.Y *.U *.V 52 53# number of frames in a GOP. 54# 55# since each GOP must have at least one I-frame, the encoder will find the 56# the first I-frame after GOP_SIZE frames to start the next GOP 57# 58# later, will add more flexible GOP signalling 59# 60GOP_SIZE 30 61 62# directory to get all input files from (makes this file easier to read) 63INPUT_DIR links/payam 64 65INPUT 66# '*' is replaced by the numbers 01, 02, 03, 04 67# if I instead do [01-11], it would be 01, 02, ..., 09, 10, 11 68# if I instead do [1-11], it would be 1, 2, 3, ..., 9, 10, 11 69# the program assumes none of your input files has a name ending in ']' 70# if you do, too bad!!! 71# 72# 73stennis.* [0-23] 74# can have more files here if you want...as many as you want 75END_INPUT 76 77 78 79# all of the remaining options have to do with the motion search and qscale 80# 81# change this only if you're unsatisfied with the CPU time or quality, or 82# are experimenting 83# 84 85# if this appears in the file, then in addition to testing luminance when 86# computing motion vectors, program will also take into account chrominance 87# 88# this option MUST appear before ERROR option, or it will be ignored 89# 90# CHROMINANCE 91 92# MAD or MSE -- must be upper case 93ERROR MAD 94 95# FULL or HALF -- must be upper case 96PIXEL FULL 97 98# means +/- this many pixels 99RANGE 8 100 101# YES or NO -- must be upper case 102SUBSAMPLE NO 103 104IQSCALE 10 105PQSCALE 15 106BQSCALE 25 107 108