X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=parts%2FAuxilaryPrograms.tex;h=00a4e6b12261a6204fbb987c3d4b4722d42bbde7;hb=71e3bc05e562de09d057aac0d38edb4d9d4181de;hp=1385c58e6c3102cc17481aa49f3390789a79376a;hpb=05164f56d61edbe07fc0ff8a7c2c512595d92bce;p=goodguy%2Fcin-manual-latex.git diff --git a/parts/AuxilaryPrograms.tex b/parts/AuxilaryPrograms.tex index 1385c58..00a4e6b 100644 --- a/parts/AuxilaryPrograms.tex +++ b/parts/AuxilaryPrograms.tex @@ -60,7 +60,7 @@ Now render yourfile using different quality levels and run ydiff to compare the \label{sec:image_sequence_creation} \index{image sequence} -Example script to create a jpeglist sequence file is next. It can be modified to instead +Example script to create a jpeg list sequence file is next. It can be modified to create a list for \textit{exr}, \textit{gif}, \textit{ppm}, \textit{png}, \textit{tga}, or \textit{tiff} sequences instead by changing JPEGLIST to be EXRLIST, GIFLIST, PPMLIST, PNGLIST, TGALIST, or TIFFLIST. @@ -83,11 +83,7 @@ echo "# Height:" echo "$h" echo "# List of image files follows" while [ $# -gt 0 ]; do - if [ x$(dirname "$1") = x"$dir" ]; then - f=./`basename "$1"`; - else - f="$1"; - fi + f=./`basename "$1"` echo "$f" shift done @@ -96,12 +92,14 @@ To use this script, you will have to install the package on your operating syste includes \textit{anytopnm} which is ususally \textit{netpbm}. Example usage of this script follows: -\qquad \texttt{./jpeglist.sh outfile infiles/*.jpg} +\qquad \texttt{./imagelist.sh outfile infiles*.jpg} -where \textit{jpeglist.sh} is just the name chosen for this script which could +where \textit{imagelist.sh} is just the name chosen for this script which could be anything but has to be executable, \textit{outfile} is the sequence list -that is created, \textit{infiles} is the directory containing the -format\_type files such as \textit{jpg} in this example. +that is created, \textit{infiles*.jpg} are the +format\_type files such as \textit{jpg} in this example. The xxxtopnm +messages that show up can just be ignored such as: \texttt{jpegtopnm: WRITING PPM FILE and jpegtopnm: Error writing row.} +You may have to edit this script to suit your needs or to include specific directory locations. See also \nameref{ssub:filelist_format}. \section{Details about .bcast5 Files} \label{sec:details_.bcast5_files}