region is highlighted, everything after the insertion point is
rendered. By positioning the insertion point at the beginning of a
track and unsetting all in/out points, the entire track is rendered.
-But you also have the choice to render \textit{one frame}.
+But you also have the choice to render \textit{one frame}. Reminder,
+\CGG{} does not do remuxing without rendering - see \nameref{sec:transcode}.
\section{Single File Rendering}%
\label{sec:single_file_rendering}
The first 3 below, plus any of the VP9 files under the file type of \textit{webm} are the recommended options to use because they are freely usable in any circumstance.
\begin{center}
- \begin{tabular}{l p{8cm}}
+ \begin{tabular}{lp{8cm}}
+ \hline
sd.youtube & Standard Definition use with default audio/Opus stereo.youtube \\
hd.youtube & High Definition “ “ \\
uhd.youtube & Ultra High Definition “ “ \\
+ \hline
\end{tabular}
\end{center}
Alternatives based on h264 and for non-commercial use are listed below. For Dailymotion, these must be renamed to have a different extension of .mp4 instead of .youtube before uploading.
\begin{center}
- \begin{tabular}{l p{8cm}}
+ \begin{tabular}{lp{8cm}}
+ \hline
sd\_h264.youtube & Standard Definition – must change to audio stereo\_with\_h264.youtube \\
hd\_h264.youtube & High Definition - “ “ \\
uhd\_u264.youtube & Ultra High Definition - “ “ \\
+ \hline
\end{tabular}
\end{center}
\textit{mode:}
-\begin{tabular}{p{6cm} p{10cm}}
+\begin{tabular}{p{6cm}p{10cm}}
+ \hline
Constant Quantizer (Q) & Allows you to specify a fixed quantizer value; bitrate will vary \\
Constrained Quality (CQ) & Allows you to set a maximum quality level. Quality may vary within bitrate parameters\\
Variable Bitrate (VBR) & Balances quality and bitrate over time within constraints on bitrate\\
Constant Bitrate (CBR) & Attempts to keep the bitrate fairly constant while quality varies\\
+ \hline
\end{tabular}
CQ mode is recommended for file-based video (as opposed to streaming). The following FFMpeg command-line parameters are used for CQ mode:
\textit{FFMpeg}:
\begin{center}
- \begin{tabular}{{p{4cm} p{10cm}}}
+ \begin{tabular}{p{4cm}p{10cm}}
+ \hline
-b:v <arg> & Sets target bitrate (e.g. 500k)\\
-minrate <arg> & Sets minimum bitrate.\\
-maxrate <arg> & Sets maximum bitrate.\\
-crf <arg> & sets maximum quality level. Valid values are 0-63, lower numbers are higher quality.\\
+ \hline
\end{tabular}
\end{center}
\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).
+\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. There is also support for DPX sequences, but only in read and without rendering presets. 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}.
sets the point where background rendering starts up to the position
of the insertion point. If any video exists, a red bar appears in
the time ruler showing what has been background rendered
-(figure~\ref{fig:back-ren02}).
+(figure~\ref{fig:back-ren02}). Because this creates a very large number
+of files, a Shell Command script is available to delete them if in the
+default location.
\begin{figure}[htpb] \centering
\includegraphics[width=1.0\linewidth]{back-ren02.png}
created, ls commands will not work in the background rendering
directory. The browse button for this option normally will not work
either, but the configuration button for this option works. The
- default value will be /tmp/brender .
+ default value will be /tmp/brender . Because using background
+ rendering creates a voluminous number of brender numbered files,
+ a Shell Command script is available to delete them if they are
+ in the default /tmp/brender format.
\item[File format] The file format for background rendering has to
be a sequence of images. The format of the image sequences
determines the quality and speed of playback. JPEG generally works
can use privileged ports) or $10650...$ for non-root and click on \textit{Add Nodes}. To find a range of free ports to use you can look at the file \texttt{/etc/services};
\item you will see something like the following in the Nodes
listbox to the right:\newline
- \begin{tabular}{lllc} On & Hostname & Port & Framerate
- \\\midrule
- X & 192.168.1.12 & 10650 & 0.0 \\
- X & 192.168.1.12 & 10651 & 0.0 \\
- X & 192.168.1.12 & 10652 & 0.0 \\
- X & 192.168.1.12 & 10653 & 0.0 \\
- X & 192.168.1.12 & 10654 & 0.0 \\
- X & localhost & 10655 & 0.0 \\
- X & localhost & 10656 & 0.0 \\
+ \begin{tabular}{lllc}
+ \hline
+ On & Hostname & Port & Framerate\\
+ \hline
+ X & 192.168.1.12 & 10650 & 0.0 \\
+ X & 192.168.1.12 & 10651 & 0.0 \\
+ X & 192.168.1.12 & 10652 & 0.0 \\
+ X & 192.168.1.12 & 10653 & 0.0 \\
+ X & 192.168.1.12 & 10654 & 0.0 \\
+ X & localhost & 10655 & 0.0 \\
+ X & localhost & 10656 & 0.0 \\
+ \hline
\end{tabular}
\item set the Total number of jobs to create. This number only pertains to client nodes, so we do not need to consider the master node;
\item click OK on the bottom of the Preferences window.