X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcin-manual-latex.git;a=blobdiff_plain;f=parts%2FAuxilaryPrograms.tex;h=9ee23085a676f4fca414d89578aea1d506e0c37f;hp=611221e3ec84d231a1eff13a56a2443b5cd0158c;hb=16415b98a70518c35090508f9809c9a97ec1aef3;hpb=79d5696d5e008fd5c1b611ed161ab5f7c42e24a3 diff --git a/parts/AuxilaryPrograms.tex b/parts/AuxilaryPrograms.tex index 611221e..9ee2308 100644 --- a/parts/AuxilaryPrograms.tex +++ b/parts/AuxilaryPrograms.tex @@ -3,6 +3,7 @@ \section{Using Ydiff to check results} \label{sec:ydiff_check_results} +\index{Ydiff} Delivered with Infinity \CGG{} and in the \CGG{} path, there is a file \texttt{ydiff.C} This program compares the output from 2 files to see the differences . Do: \texttt{cd cin\_path} and key in \texttt{make ydiff}. @@ -57,16 +58,17 @@ Now render yourfile using different quality levels and run ydiff to compare the \section{Image Sequence Creation} \label{sec:image_sequence_creation} +\index{image sequence} Example script to create a jpeglist sequence file is next: \begin{lstlisting}[numbers=none] #!/bin/bash out="$1" -dir=`dirname "$out"` +dir=$(dirname "$out") shift -geom=`jpegtopnm "$1" | head -2 | tail -1` -w=`(set - $geom; echo $1)` -h=`(set - $geom; echo $2)` +geom=$(jpegtopnm "$1" | head -2 | tail -1) +w="$(echo $geom | cut -d " " -f1)" +h="$(echo $geom | cut -d " " -f2)" exec > $out echo "JPEGLIST" echo "# First line is always JPEGLIST" @@ -78,7 +80,7 @@ echo "# Height:" echo "$h" echo "# List of image files follows" while [ $# -gt 0 ]; do - if [ x`dirname "$1"` = x"$dir" ]; then + if [ x$(dirname "$1") = x"$dir" ]; then f=./`basename "$1"`; else f="$1"; @@ -87,6 +89,8 @@ while [ $# -gt 0 ]; do shift done \end{lstlisting} +To use this script, you will have to install the package on your operating system that +includes \textit{jpegtopnm} which is ususally \textit{netpbm}. Example usage of this script follows: \qquad \texttt{jpeglist.sh outfile infiles*.jpg} @@ -172,6 +176,7 @@ number of \textit{threads} to use during encoding\\ \section{Details about .bcast5 Files} \label{sec:details_.bcast5_files} +\index{.bcast5} The following extensions of files in \CGG{}'s \texttt{.bcast5} directory are explained below.