X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcin-manual-latex.git;a=blobdiff_plain;f=parts%2FAuxilaryPrograms.tex;h=1385c58e6c3102cc17481aa49f3390789a79376a;hp=85af88e74dfb4f82ae7826a5a5417dadfc671598;hb=05164f56d61edbe07fc0ff8a7c2c512595d92bce;hpb=97ce0b4f0d01cd33eef802cf2c1819c45ee89eef;ds=sidebyside diff --git a/parts/AuxilaryPrograms.tex b/parts/AuxilaryPrograms.tex index 85af88e..1385c58 100644 --- a/parts/AuxilaryPrograms.tex +++ b/parts/AuxilaryPrograms.tex @@ -60,18 +60,21 @@ 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: +Example script to create a jpeglist sequence file is next. It can be modified to instead +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. \begin{lstlisting}[numbers=none] #!/bin/bash out="$1" dir=$(dirname "$out") shift -geom=$(jpegtopnm "$1" | head -2 | tail -1) +geom=$(anytopnm "$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" +echo "# First line is always format_typeLIST" echo "# Frame rate:" echo "29.970030" echo "# Width:" @@ -90,10 +93,15 @@ while [ $# -gt 0 ]; do 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}. +includes \textit{anytopnm} which is ususally \textit{netpbm}. Example usage of this script follows: -\qquad \texttt{jpeglist.sh outfile infiles*.jpg} +\qquad \texttt{./jpeglist.sh outfile infiles/*.jpg} + +where \textit{jpeglist.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. \section{Details about .bcast5 Files} \label{sec:details_.bcast5_files}