From 6bd5e74e0049a69cb4cec587fed962ef2f8586ea Mon Sep 17 00:00:00 2001 From: Good Guy Date: Fri, 8 Oct 2021 18:53:39 -0600 Subject: [PATCH] Image Sequences information by Andrea --- parts/Installation.tex | 5 ++++- parts/Rendering.tex | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/parts/Installation.tex b/parts/Installation.tex index 12645b6..dd799ad 100644 --- a/parts/Installation.tex +++ b/parts/Installation.tex @@ -42,7 +42,10 @@ Finally start the program from a window in the directory where the image is stor $ ./CinGG-yyyymmdd.AppImpage \end{lstlisting} -or create a convenient desktop icon with a link to the run action, or do a \textit{Desktop Integration} manually or with external programs. +or create a convenient desktop icon with a link to the run action, or do a \textit{Desktop Integration} manually or with external programs. There is a +description of a GUI methodology for doing so in this file on the webiste: + +\url{https://cinelerra-gg.org/download/images/README\_appimage.txt} Most distros already have the libraries to run the appimage, but if not you may need an additional installation. For example Arch Linux needs the \texttt{libappimage} package. diff --git a/parts/Rendering.tex b/parts/Rendering.tex index ce97903..0751baa 100644 --- a/parts/Rendering.tex +++ b/parts/Rendering.tex @@ -671,6 +671,39 @@ video/audio wrenches and choose \textit{faststart\_h264}. With the possible, but you can easily modify these options in the associated Video Preset textbox. +\section{About Image Sequences}% +\label{sec:about_image_sequences} +\index{image sequence} + +\CGG{} supports image sequences with both decoding and encoding. + +\CGG{} by default uses ffmpeg as encoding/decoding engine but we can disable it to have the specific internal engine available. See \nameref{sec:ffmpeg_early_probe_explanation} on how to switch between engines. With the internal engine we can create and load sequences of OpenEXR; PNG; TIFF; TGA; GIF; PPM and JPEG. With ffmpeg we can create and load DPX sequences or create a custom preset for any kind of image. Using these formats results in great timeline efficiency and high video quality at the cost of taking up a lot of space because they are uncompressed (or with lossless compression). +By rendering, you will get as many still images as there are frames in the project, plus a \textit{file-list} (or \textit{TOC}) that indexes the images. A good practice is to create a folder to contain the images (for example \texttt{/tmp/img\_seq/}) and then open the rendering window in \CGG{} and set a serial and increasing number as the name (for example: \texttt{/tmp/img\_seq/image \%05d.png}). \textit{image} is a generic name chosen at will; $\%$ creates a progressive sequence of distinct images; $05d$ indicates how many digits the image number will be, in this case 5 digits to go from $00000$ to $99999$. +Once we have our folder of images, if we want to import it in a project just load the file-list, which includes the link to all the files of the sequence. +To learn more about using and creating a preset with ffmpeg of an image sequence, see \nameref{sec:ffmpeg_image2_streams} and/or \nameref{sec:image_sequence_creation}. + +\section{Data storage formulas}% +\label{sec:data_storage_formulas} +\index{data storage} + +If we are dealing with large projects and poorly compressed formats, we will get large files that are difficult to manage and take up a lot of space on the HDD. We present some simple formulas to be able to calculate the space that will be occupied and the data rates we have to deal with: + +\begin{description} + \item[Frame size] + + \[ \dfrac{Width \times Height [pixels] \times BitDepth [bits/pixel] \times Color}{8 [bit/Byte]} \] + \[= ... [MB/frame] \] + \item[File size] + + \[ Frame size [MB/frame] \times frames [frame] = ... [MB] \] + \item[Data Rate] + + \[ Frame size [MB/frame] \times fps [frame/sec] = ... [MB/sec] \] + \item[Data in 1 Hour] + + \[ \dfrac{Data Rate [MB/sec] \times 3600 [sec]}{1024MB/GB} = ... [GB] \] +\end{description} + \section{Batch Rendering}% \label{sec:batch_rendering} \index{batch rendering} -- 2.26.2