+\index{compositor!controls}
+
+On the bottom of the window, there are many
+of the same transport buttons \index{transport buttons} and controls that are available in the Program window.
+They work the same as in the Program window and also have tooltips that are visible
+when you mouse over each of the icons so their use is fairly obvious. However,
+of particular note is the button \textit{Click to play} \index{click to play} which is described in~\ref{sub:click_to_play_in_viewer_and_compositor}. Next is the \textit{Videoscope} \index{videoscope} button which is used to enable the scopes window
+without having to apply the filter to the tracks/edits.
+
+Next to all of these controls all the way to the right side, there is a \textit{zoom menu} \index{zoom!menu} and a \textit{tally light}. The \textit{zoom menu} has a pulldown with different settings that you can choose from
+or you can just use the tumbler arrows to the right. Generally when just getting started, you
+will be using the default \textit{Auto} option. The window size is not changed, but rather
+the size of the video itself. In addition there are many shortcuts for zooming that you
+will find in the Shortcuts chapter (\ref{cha:shortcuts}).
+
+Using a RMB click in the compositor window brings up a menu with several options \index{compositor!RMB options}. One of these
+is \emph{Resize Window} which allows for resizing the entire window instead of just the video
+and if you highlight that, you can choose from several variations for the window size.
+Other available options include self-explanatory ones of \emph{Fullscreen} with "f" as a toggle
+to go to fullscreen and to revert to non-fullscreen and \emph{Zoom Auto}.
+As you would expect, whenever the video is zoomed so that only part of the image is visible
+in the window, scrollbars are automatically added as needed on the bottom, the right hand
+side, or both.
+Other options include \emph{Reset camera} and \emph{Reset projector} which obviously are used
+to reset the camera and the projector (reference~\ref{sub:camera_and_projector}). And
+\emph{Camera/Projector keyframe} will create a keyframe at that point on the timeline for
+X,Y, and Z without the requirement of being in \textit{Automatic Keyframe Mode}. More
+information is described in the section \nameref{sec:compositor_keyframes}.
+The \emph{Hide controls/Show controls} option is great for hiding the left hand toolbar and
+bottom set of controls for a cleaner look.
+
+Next to the zoom tumbler arrows, is a \textit{tally light} that will be filled in with some color
+(often red or blue) when a rendering operation
+is taking place \index{rendering!operation light}. This is especially helpful when loading a very large video so you know
+when it is finished loading. You should pay attention to this \textit{tally light} when performing
+a particularly time-consuming operation so that you do not keep executing more operations
+that just have to wait until completion of that CPU intensive operation. Also, you should look
+to see if the light is on before assuming that \CGG{} is hung up.
+
+When the window is unlocked, meaning that it is not in \textit{Protect video from changes} mode on the
+toolbar, MMB clicking and dragging anywhere in the video pans the view. Panning can also
+be accomplished with the bottom and right hand side scroll bars when displayed.
+
+\subsection{Compositor Toolbar}%
+\label{sub:compositor_toolbar}
+\index{compositor!toolbar}
+
+On the left hand side of the Compositor window, there is a toolbar with several icons that
+provide functions for viewing and compositing the video. Each of these operational features
+will be described in more detail next.
+\begin{description}
+ \item[Protect video from changes] this option makes it possible to disable changes to the
+compositor output when clicking on the Compositor window. It allows for using the
+\textit{Click to play} button (when enabled) for simply starting and stopping play. It helps
+to prevent an accidental click from making unwanted changes. When you enable this option, any
+of the other enabled tools will automatically be disabled.
+
+ \item[Zoom view / magnifying glass] \index{zoom!slider} when enabled, the \textit{Zoom view} immediately results
+in the addition of a zoom slider for fine viewing.
+The vertically oriented \textit{zoom slider} will be displayed underneath the last icon of the toolbar and extends
+to almost the end of the toolbar.
+The slider allows for adjusting the amount of zoom at any level between 0.01 and 100 based on a logarithmic scale.
+
+When using the zoom slider, the number by which the view is zoomed can be seen in the textbox
+on the bottom controls where the \% zoom is located.
+The zoom slider size is in the form of \textit{times}, such as $\times$0.82 which indicates that the picture is zoomed to $\frac{82}{100}^{th}$ of the original size as seen in the \texttt{Settings $\rightarrow$ Format} menu.
+Once you have set the zoom to the desired size, use the vertical and horizontal scroll bars to position the view as needed.
+As mentioned earlier, this
+variety of zoom only affects the video and not the resizing of the Compositor window. After
+utilizing this slider bar for zooming around, you may want to switch back to \textit{Auto}
+using the controls on the bottom of the window.
+This slider bar is also displayed
+when you click on the icons for \textit{Adjust camera automation} or \textit{Adjust projector automation}.
+
+The Compositor window image in figure~\ref{fig:zoom_slider} shows the zoom slider bar with rectangular shaped slider about in the middle. Note that the magnifying glass is enabled which
+automatically pops-up the slider and the \textit{Protect video from changes} is disabled. Also note that
+there is a scroll bar on the bottom and right side of the image since the image at this magnification
+does not fit in the window.
+The Controls zoom textbox shows $\times0.82$ size.
+\end{description}
+
+\begin{figure}[htpb]
+ \centering
+ \includegraphics[width=0.99\linewidth]{zoom_slider.png}
+ \caption{Compositor window zoom slider bar and scroll bars}
+ \label{fig:zoom_slider}
+\end{figure}
+\begin{description}
+ \item[Edit mask] \index{mask} brings up a mask editing menu with many versatile options as
+described in great detail later in this section (\ref{sub:masks}). You may also have to click on
+\textit{Show tool info} to popup the menu depending on whether or not you dismissed that window previously.
+ \item[Ruler] \index{ruler} this can be a handy tool to get the X,Y coordinates of an exact point or to
+measure the distance between 2 points. To use the \textit{Ruler}, move the mouse on the video to
+get to the desired spot - these X,Y coordinates will be displayed in the \textit{Current} text
+box. Clicking the LMB creates Point 1 and then continue to hold down the LMB so that a ruler line is created between
+this Point 1 and the stopping Point 2. \textit{Deltas} is the X,Y difference between the 2 points;
+\textit{Distance} is the number of pixels between the 2 points; and \textit{Angle} is the angle in degrees of the ruler line.
+In Figure~\ref{fig:safe_regions} you can see the Ruler menu on the right side of the Compositor window.
+
+Holding down the Ctrl key while dragging with the LMB on one of the points, will
+ensure that the line is always at a multiple of a 45 degree angle. Holding down the Alt key while
+dragging with the LMB on any of the points, will translate the ruler line to another place on
+the video while maintaining its length and angle. For some desktop window managers, such as
+\textit{UbuntuStudio 16.4} and \textit{Arch}, the Alt key is already in use by the Operating System
+so you will have to use Alt+Ctrl instead.
+If you dismiss the Ruler menu, click on
+\textit{Show tool info} to get the menu to popup again.
+ \item[Adjust camera automation] \index{camera} the camera brings up the camera editing tool. Enable \textit{Show tool info} if the popup menu does not appear. More detail for usage is provided in the subsequent
+section~\ref{sub:camera_and_projector}.
+ \item[Adjust projector automation] \index{projector} the projector brings up the projector editing tool. Enable \textit{Show tool info} to get the menu to popup again. More detail for usage is provided in the
+subsequent section~\ref{sub:camera_and_projector}.
+ \item[Crop a layer or output] \index{crop} this is a cropping tool used to reduce the visible picture area.
+More detail for usage is provided in a
+subsequent paragraph (\ref{sub:cropping}). There is also a Crop \& Position plugin that provides
+a different set of capabilities described in~\ref{sub:crop_position}.
+ Enable \textit{Show tool info} to get the menu to popup if it does not come
+up automatically.
+ \item[Get color / eyedropper] \index{eyedropper} brings up the eyedropper used to detect the color at a
+particular spot. Enable the \textit{Show tool info} if the Color popup menu does not come up
+automatically or if that menu was accidentally dismissed. Click on a specific color in the video
+output with the LMB to see the selected color. You can then use that color's
+value to be applied to some effects depending on how the effect handles the eyedropper. If you set the \textit{Radius} to a larger number, a square appears
+around the cross cursor and an average value of the color will be the result.
+If you \textit{Use maximum}, instead of an average value of the color, the result
+will be the maximum of all values within that square.
+ \item[Show tool info] \index{tool info} this tool button is used in conjunction with the other tools on the
+compositor's toolbar. You only need to click on this if one of these tools popup menu does not
+come up or has been dismissed - Mask, Ruler, Camera, Projector, Crop, or Eyedropper tools.
+You can also use it when highlighted to dismiss the highlighted tool's dialog box.
+It is not needed for \textit{Protect video from changes}, \textit{Zoom view}, and \textit{Show safe regions} since they have
+no dialog popup menus.
+
+\begin{figure}[htpb]
+ \centering
+ \includegraphics[width=0.9\linewidth]{safe_regions.png}
+ \caption{Note the black outlines showing the safe regions. Also note the Ruler menu}
+ \label{fig:safe_regions}
+\end{figure}
+
+ \item[Show safe regions] \index{safe region} draws 2 outlines to display the safe regions in the video as you
+can see in Figure~\ref{fig:safe_regions}.
+On some particular TVs/monitors/displays, the borders of the image are cut off and that
+cut off section might not be as square as it appears in the compositor window.
+These are especially useful if the device for the output display is an older model TV\@.
+The outside largest outline is the \textit{action safe overlay}; whereas the inside smallest
+outline is the \textit{title safe overlay}.
+
+Using the \textit{Show safe regions} has no affect on the rendered output.
+The purpose of showing the borders is to make it easy to see where it might be cut off. This
+area outside the safe region can then be used as
+a scratch or vertical blanking space. Enabling the safe regions makes it really
+easy to see these borders so that you can make sure
+titles are inside the inner outline and actions are inside the outer outline.
+
+\end{description}
+
+\subsection{Compositing}%
+\label{sub:compositing}
+\index{compositing}
+
+Much of the editing in \CGG{} involves \textit{compositing} which is the combining of visual
+elements from different sources into single images. This includes such things as
+speeding up and slowing down the video, changing the resolution, creating a split screen, and fading in and out.
+Compositing operations are done on the timeline and in the Compositor window using various
+operations and other compositing attributes that are available in the Resources window.
+When \CGG{} is performing a compositing operation it plays back through the
+compositing engine, but when not, it uses the fastest decoder that it has.
+
+\subsection{The Temporary, Track and Output Sizes}%
+\label{sub:track_and_output_sizes}
+
+This section explains a few things which help to understand Compositing - especially with relation
+to the camera, effects, and the projector.
+
+\subsubsection*{The Temporary}%
+\label{ssub:output_size}
+\index{temporary}
+
+\CGG{}'s compositing routines use a \textit{temporary} which is a single frame of video in
+memory where graphics processing takes place. The size of the temporary and of the output in
+the compositing pipeline are different and vary for any particular frame. Effects are processed in
+the temporary and as such are affected by the temporary size. In the case of the camera, its
+viewport is the temporary size. However, projectors are rendered to the output and so are affected
+by the output size. When the temporary is smaller than the output, the temporary will have blank
+borders around the region in the output. When the temporary is larger than the output, it will be
+cropped.
+
+\subsubsection*{Track and Output size}%
+\label{ssub:track_size}
+\index{track!size}
+\index{output size}
+
+The \textit{Track size} is used to define the temporary size with each track having a different size (viewports). It also serves to conform the input media to a chosen format (aspect ratio). So each track can have a different format (viewport).
+You can see or set the track size by RMB click on a track and then select \emph{Resize Track} to resize
+the track to any size. Or select \emph{Match output size} to make the track the same size as the
+output. Or from the Resources window, RMB on a video media and choose \textit{Info} and then \textit{Resize}. When a track is resized then what it looks like on the compositor changes. The relationship
+between the track and the project's output size makes it possible to magnify or reduce the size of
+a track in regards to the final output. This feature means you can create visual effects such as different aspect ratios, adjust split screens, zooms, and pans in the compositor.
+
+The \textit{Output size} can be set in \texttt{File $\rightarrow$ New} when creating a new project,
+or by using \texttt{Settings $\rightarrow$ Format}, or in the Resources window with RMB click on
+a video asset and choosing \texttt{Match $\rightarrow$ Match project size}. When you \emph{Match project size}, you
+are conforming the output to the asset. To change the size and aspect ratio of the output (Projector) we have to change the whole project, which will alter all the tracks in the timeline. Once you have set the output size in 1 of these 3 ways,
+any newly created tracks will conform to the specified output size. When rendering, the project's
+output size is the final video track size where the temporary pipeline is rendered into.
+
+\subsubsection*{Aspect Ratio (Theory)}%
+\label{ssub:aspect_ratio_theory}
+\index{aspect ratio}
+\index{PAR, DAR, SAR}
+
+The aspect ratio is the ratio of the sides of the frame (\textit{Width} and \textit{Height}). For example, classically broadcast TV was 4:3 (= 1.33), whereas today it has changed to 16:9 (= 1.85); in cinema we use the 35 mm aspect ratio of 1.37 (Academic aperture), but even more so the super 35 mm (2.35). There are also anamorphic formats, i.e. that have no square pixels, like Cinemascope (2.35). The projection must be \textit{normalized} to have an undistorted view.
+
+
+From the film or digital sensors of the cameras, we can extract any frame size we want. We are talking about \textit{viewports}, which we will examine shortly. Also important is the output of the film that will be rendered, because it is what we will see at the cinema, or on TV, or on the monitor of the PC, tablet or smartphone. Referring to figure~\ref{fig:temporary-01}, you can see these two possibilities: with the Camera you choose the size and aspect ratio of the source file (regardless of the original size); while with the Projector you choose the size and aspect ratio of the output.
+
+The following formula is used to vary the aspect ratio:
+
+\qquad $\frac{W}{H} =$ aspect ratio ($\frac{pixels}{pixels}$)
+
+For example to obtain an aspect ratio of Super 35 mmm (2.35) starting from a FullHD file (1920x1080) whose base extension (1920) we want to keep:
+
+\qquad $\frac{1920}{H} = 2.35$
+
+from which: $H = 817$ pixels
+
+\CGG{} allows you to vary the input and output aspect ratio in the ways indicated in the previous section: by varying the pixels of the sides or by setting a multiplication coefficient.
+
+In \texttt{Settings $\rightarrow$ Format} there is the additional possibility to vary the shape of the pixels from 1:1 (square) to handle anamorphic formats. In such cases we use:
+
+\qquad $PAR=\frac{DAR}{SAR}$
+
+where:
+
+\textit{DAR}= Display Aspect Ratio
+
+\textit{PAR}= Pixel Aspect Ratio (1 or 1:1 is square)
+
+\textit{SAR}= Storage Aspect Ratio (i.e media file aspect ratio)
+
+
+\subsection{Camera and Projector}%
+\label{sub:camera_and_projector}
+\index{camera}
+\index{projector}
+
+In the compositor window, \textit{Adjust camera automation} and \textit{Adjust projector automation}
+are editing tools to control operation of the camera and projector. In \CGG{}'s compositing
+pipeline, the camera determines where in the source the \textit{temporary} is copied from while
+the projector determines where in the output the \textit{temporary} is copied to
+(figure~\ref{fig:temporary-01}).
+
+\begin{figure}[htpb]
+ \centering
+ \includegraphics[width=0.8\linewidth]{temporary-01.pdf}
+ \caption{Compositing pipeline}
+ \label{fig:temporary-01}
+\end{figure}
+
+In compositing, each frame can be changed using various options and plugins, such as
+a color correction plugin (figure~\ref{fig:camera_and_projector}). After the image has been
+modified, the final image is projected to the compositor so that you now have a changed original.
+
+\begin{figure}[htpb]
+ \centering
+ \includegraphics[width=0.8\linewidth]{camera_and_projector.pdf}
+ \caption{Color3way on Temporary}
+ \label{fig:camera_and_projector}
+\end{figure}
+
+When editing the camera and projector in the compositing window, the affected track will be the
+first track that is armed. If there are multiple video tracks, you can select one specific track
+for editing with a LMB click on the \textit{Arm track} icon of the desired track. This is called
+"solo" the track. To reverse this solo-ing, LMB click on the icon again.
+
+\subsubsection*{Projector Compositing}%
+\label{ssub:projector_compositing}
+\index{projector}
+
+The purpose of the \textit{projector} is to composite several sources from various tracks into one
+output track. The projector alignment frame is the same as the camera's viewport, except that it
+shows where to put the contents of each temporary on the output canvas. To get into projector
+editing mode, click on the \textit{Adjust projector automation} icon in the Compositor toolbar. You
+will then see red border lines surrounding the image and 2 diagonal lines criss-crossing in the
+middle, displayed in the video window. The red outline indicates the size of the frame that will be
+sent to the Output. You can easily drag the box with LMB, moving the frame in $x$ and $y$ directions.
+When moving along the $z-axis$ (i.e.\ the zoom, with SHIFT+Drag) the box exactly follows the movement
+and the size of the frame. After you position the video with the projector, you may next want to
+\textit{Adjust camera automation}.
+
+\subsubsection*{The Viewport}%
+\label{ssub:viewport}
+\index{viewport}
+
+The \textit{viewport} is a window on the camera that frames the area of source video. The size of the current track is used for the initial size of the viewport. A smaller viewport, for example ($640\times480$), captures a smaller area; whereas a larger viewport of ($800\times600$) captures a larger area. If the captured area is larger than the source video, the empty spaces will be automatically filled with blanks. To change the size and aspect ratio of the viewport (Camera \index{camera}) of a single track, right-click on the track in the timeline and choose Resize Track. Here we can vary the height and base of the viewport in pixels or choose the multiplication coefficient for each side (Scale). With OK we will see the change in the Compositor window with the new dimensions reflected in the green box. We can have different size viewports for each video track on the timeline. To go back, reset the viewport to the original value. After the viewport is defined, the camera needs to be placed right above the area of interest in the source video. Operations to control the location of the camera are as follows:
+
+\begin{enumerate}
+ \item In the compositor window you should see the selected track.
+ \item LMB click on the \textit{Adjust camera automation} to bring up the editing menu and the
+green and yellow colored outlines.
+ \item Use the LMB to drag the video over the display in the compositor window to the desired
+placement.
+\end{enumerate}
+
+When you drag over the viewport in the compositor window, it looks like you are moving the camera
+with the mouse. The viewport moves in the same manner.
+
+\subsubsection*{Camera Compositing}%
+\label{ssub:camera_compositing}
+\index{camera}
+
+Select the camera button to enable camera editing mode.
+In this mode, the guide box shows where the camera position is in relation to past and future camera positions but not where it is in relation to the source video.
+The green box is the Viewport; at the beginning it coincides with the size of the source frame. If we move the viewport by dragging it with LMB (moving it in $x/y$), the green box remains fixed to the original size but the frame is moved to the new position. A yellow frame will appear along the edges of the frame to indicate the displacement with respect to the green box; this behavior differs from that seen for the Projector. Even if we act on the $z-axis$ (SHIFT + Drag, equivalent to the zoom), the frame narrows or widens, moving behind the yellow frame.
+
+\subsubsection*{Camera and Projector Menu}%
+\label{ssub:camera_and_projector_menu}
+\index{tool info}
+\index{camera}
+\index{projector}
+
+The camera and projector have shortcut operations that do not appear in the popup menu and are not represented in video overlays.
+These are accessed in the \emph{Show tool info} window.
+Most operations in the Compositor window have a tool window which is enabled by activating the question mark icon (figure~\ref{fig:camera_tool}).
+
+\begin{figure}[htpb]
+ \centering
+ \includegraphics[width=0.8\linewidth]{camera_tool.png}
+ \caption{Camera and Projector tool}
+ \label{fig:camera_tool}
+\end{figure}
+
+In the \textit{Position} section you can act on the $X$, $Y$ and $Z$ coordinates. By either tumbling or entering text directly or by using the slider, the camera and projector can be precisely positioned. There is also a reference to the color of the curve as we see it on the timeline. You can also define the \textit{range} of action which by default is [-100 to 100]. By pressing the Reset button for each coordinate, or the global Reset button, the range is automatically brought to the project size value (HD; 4k; etc), which are usually the most useful limits. Note that the range can also be changed in the \textit{Program} window, in the \textit{zoom bar}, where there are similar input fields to enter the chosen limits.
+
+In the \textit{Justify} section we can use automatic positioning in the 6 standard coordinates: Left, Horizontal, Right, Top, Center and Bottom.
+
+The translation effect allows simultaneous aspect ratio conversion and reduction but is easier to use if the reduced video is put in the upper left of the \textit{temporary} instead of in the center.
+The track size is set to the original size of the video and the camera is centered.
+The output size is set to the reduced size of the video.
+Without any effects, this produces just the cropped center portion of the video in the output.
+
+The translation effect is dropped onto the video track. The input dimensions of the translation effect are set to the original size and the output dimensions are set to the reduced size.
+To put the reduced video in the center subsection that the projector shows would require offsetting out $X$ and out $Y$ by a complicated calculation.
+Instead, we leave out $X$ and out $Y$ at 0 and use the projector's tool window.
+By selecting left justify and top justify, the projector displays the reduced image from the top left corner of the \textit{temporary} in the center of the output.
+
+In the \textit{Curve type} section we can choose between various interpolation algorithms that determine the curve type \index{curve type}:
+
+\begin{description}
+ \item[smooth:] bezier interpolation which are flat at the endpts
+ \item[linear:] piecewise linear curve.
+ \item[tangent:] bezier interpolation with collinear endpts in a specified line.
+ \item[free:] piecewise bezier, if there is such a thing.
+ \item[bump:] has 2 values, one viewed from the left/right, discontinuous.
+\end{description}
+
+In the \textit{Keyframe} section we can create new keyframes and set them as Bump autos (\textit{Right/Left edges} and \textit{Span} buttons). For further details see \nameref{sec:bump_autos}.
+
+\subsubsection*{Reset to Default}%
+\label{ssub:reset_default}
+
+In the compositing window, there is a popup menu of options for the camera and projector. Right click over the video portion of the compositing window to bring up the menu:
+
+\textit{Reset Camera}: causes the camera to return to the center position.
+
+\textit{Reset Projector}: causes the projector to return to the center.
+
+\subsubsection*{Use Case: Interaction Between Camera And Projector \protect\footnote{Example provided by Sam. The relative video is located at: \url{https://streamable.com/iq08i}}}%
+\label{ssub:use_case_interaction_camera_projector}
+\index{camera}
+\index{projector}
+
+\begin{enumerate}
+ \item Start by shrinking the projector to $z=0.500$ ($\frac{1}{4}$ of the original frame).
+ \item The next step is to switch to the camera and note that the green box has assumed the size of the projector, i.e.\ the red box. The value of $z$ of the camera is always equal to $1.000$ (default) but the frame is $\frac{1}{4}$ of the original frame, i.e.\ it has the size of the projector that has $z=0.500$. This is the current viewport size.
+ \item You enlarge the room bringing $z=2.000$. You can see that the dimensions of the viewport (green box) do not change, remaining the same as those of the projector. However, the frame has been enlarged and this variation is indicated by the enlargement of the yellow box. Let's remember that this follows the changes made with the camera tool.
+ \item We can drag the room so that we can center the frame to our liking. The movement of the yellow box shows well the variation compared to the green box.
+ \item Finally, if we want, we can switch to the projector tool to move the output frame to the position we want with respect to the size of the source. Of course, we can also work on the $z$, which in the example is at $z=0.500$, if we have decided to change the size of the output.
+\end{enumerate}
+
+\subsection{Masks}%
+\label{sub:masks}
+\index{mask}
+
+Masks can be used to accomplish various tasks but basically are used to select an area of the
+video to be displayed or hidden.
+They can be used in conjunction with another effect to isolate the effect to a certain region.
+Another usage is where you slightly delay one video track copy and unmask an area where
+the one copy has interference but the other copy does not. Or use a mask when color correction is
+needed in one part of a frame but not another. A mask can be applied to just a small section of
+a color corrected track while a plain track shows through.
+Removal of boom microphones, license plates, people and airplanes via mask is a very common usage.
+
+The order of the compositing pipeline affects how masks are done. Usually masks are operated on the
+temporary, after the effects but before the projector. Because of the way this works, multiple
+tracks can be bounced to a masked track and projected with the same mask.
+
+The compositing pipeline graph has a masking stage (figure~\ref{fig:temporary-02}).
+
+\begin{figure}[htpb]
+ \centering
+ \includegraphics[width=0.7\linewidth]{temporary-02.pdf}
+ \caption{Compositing pipeline with mask}
+ \label{fig:temporary-02}
+\end{figure}
+
+\subsubsection*{Compositing pipeline with masks}%
+\label{ssub:compositing_pipeline_with_masks}
+\index{compositing pipeline}
+
+The Mask popup menu can be overwhelming upon first encounter. However, if you follow the next
+few steps you can create a single simple mask without having to understand every possible parameter.
+\begin{enumerate}
+ \item To define a mask, in the Compositor window click on the \textit{Edit mask} icon to get the popup Mask menu. If the menu does not come up, click on the \textit{Show tool info}.
+ \item On the video, LMB click on the place where you want to start a mask.
+ \item Then LMB click on another spot of the image to create each new point of the mask. Once
+you have at least 3 points, lines will be drawn between them, but you can just create as many
+more points as you need and the lines will be redrawn to cover all points. When you
+create each point of the mask a straight line curve is expanded, altering the shape of the mask.
+The mask position will always be in the same position on each image of the video unless you enable
+\textit{Generate keyframes while tweaking} on the Program window Transport and Buttons bar. Then when
+enabled you can move a mask over time.
+ \item For a mask to be seen or not seen, there must be another video track under the track
+that you are viewing in the compositor. An easy way to see the masked area is to just add an empty track
+below the target track and drag the \textit{Gradient} plugin to a highlighted area on that track.
+ \item You can move existing points to new locations by simply using the LMB at a point to
+drag that point to a different location.
+ \item The mask can be translated as a single entity by Alt-dragging the mask. For some desktop
+window managers, such as \textit{UbuntuStudio 16.4} and \textit{Arch}, the Alt key is already in use
+by the Operating System so you will have to use Alt+Ctrl instead.
+ \item To create curved instead of straight lines between the points, use Ctrl-drag on a
+specific point. Using Ctrl-drag activates bezier handles (control points) to create these curves
+between the points. For example, on a mask with just two points, you can create a romantic heart mask.
+\end{enumerate}
+
+There are a lot more operations you can do using the Mask menu as shown in
+figure~\ref{fig:mask_window}. Detailed description is provided here next. Note that the Mask
+window is separated into various sections to make it easier to locate the area of interest.
+
+\begin{figure}[htpb]
+ \centering
+ \includegraphics[width=0.5\linewidth]{mask_window.png}
+ \caption{Mask options window}
+ \label{fig:mask_window}
+\end{figure}
+
+\subsubsection*{Masks on Track section}%
+\label{ssub:masks_track_section}
+
+The \textit{Track}: textbox displays the different video tracks for your session which will be initially set to the first armed video track or will be left blank if there are no armed tracks. A pulldown to the right of the box brings up the names of all of the video tracks allowing you to change to which track the masking applies. You can also just use the tumbler to easily mouse up/down to get to the desired track. In the pulldown list, any track that has a red colored text name is disarmed so that you can not change it. A track that contains masks has yellow colored text for easy identification. Only when there are no masks on the track, do you have the default text color. This textbox is display only and you can not type into it.
+
+The \textit{Solo} button in the Masks on Track section of the Mask window is very handy when working with masks on different tracks. It displays just that track so that you see only the track you choose, as well as the tracks behind it to show the mask part. The Solo button is just a convenience to prevent having to mouse over to the patchbay.
+
+\subsubsection*{Masks section}%
+\label{ssub:masks_section}
+
+The \textit{Mask}: textbox will show you the mask numbers of $0-7$ or the 8 ascii character name that you have used to designate each mask number. There is a pulldown on the right side to easily switch to another mask.
+
+The \textit{Delete} button is used to delete the mask number/name that is selected. The symbol to the right with tooltip of \textit{Delete all masks} can be used to delete all of the current video track masks.
+
+The \textit{Select}: row of checkboxes is used to indicate which mask is currently displayed for that video track in the Compositor. Numbers that are colored yellow are active masks for that track. A tumbler to the right allows for quickly changing the mask number displayed.
+
+The \textit{Enable} row of masks makes it so you can enable all or none of the masks, making it possible to look at no masks or at one mask without interference from the other masks. The symbol that looks like an \texttt{eye} can be used to easily check all or none as the tooltip \textit{Show/Hide mask states}.
+
+\subsubsection*{Preset Shapes section}%
+\label{ssub:preset_shape_section}
+
+There are 4 shapes that are automatically available for usage as masks – square, circle, triangle, and oval. In addition, the next 3 symbols in this section are for the purpose of loading, saving, and deleting your own customized shapes. The first symbol, \textit{Load} preset, will bring up a list of your previously saved presets. Clicking on \textit{Save} preset brings up a popup window allowing you to provide a name used to identify the preset you want to save, along with a pulldown to see the names of your other saved presets. Clicking on \textit{Delete} preset also brings up a textbox with a pulldown to choose which one to delete. There is a file, called \texttt{mask\_rc}, in \texttt{\$HOME/.bcast5} that records your custom masks.
+
+When you click \textit{Load} preset, keep in mind that it will write the mask number that you have selected so if you already have a mask at that location, it will write over it – just \textit{Undo mask} under the main window \textit{Edit} pulldown (shortcut `z'or `Ctrl-z') to revert to the previous if you made this mistake.
+
+\subsubsection*{Position \& Scale section}%
+\label{ssub:position_scale_section}
+
+\textit{Center} mask button allows for quickly centering a mask on the video track.
+\textit{Normalize} mask button makes it easy to normalize the size of the mask based on the scale of the video - about 1/4 the window size in the X and Y
+directions. Normalization makes the mask fit in the space to avoid having
+it wander off of the window, then you can move it around easily before resizing.
+The next 3 symbols concern the direction to \textit{drag translate} a mask using the \texttt{Alt+LMB} thus making it easy to preserve the current $X$ or $Y$ value when desirable. For some desktop window managers,
+such as \textit{UbuntuStudio 16.4} and \textit{Arch}, the Alt key is already in use by the Operating System
+so you will have to use Alt+Ctrl instead.
+
+\texttt{xlate/scale x} - drag translate constrained in the $X$ direction
+
+\texttt{xlate/scale y} - drag translate constrained in the $Y$ direction
+
+\texttt{xlate/scale x/y} - drag translate in both directions; this is the default and after using the other 2 options, you should reset to this to avoid future confusion while dragging.
+
+\subsubsection*{Fade \& Feather section}%
+\label{ssub:fade_feather_section}
+
+The \texttt{Fade}: textbox is used to type in a fade value; the tumbler to the right of the textbox allows you to increase or decrease that number; and the slider bar makes it quick to adjust the fade value. The fader goes from $-100$ on the left to $+100$ on the right for negative to positive. Default value is $+100$. The fade slider includes a sticky point at 0 so that it is easy to get to 0 without going too far or not quite far enough -- that way you don’t have to keep jiggling to get there.
+
+In addition there is a \textit{Gang fader} symbol to allow for having all of the masks fade in unison. The symbol is surrounded by a green colored background \protect\footnote{green is used in the default Cakewalk theme, but the background color will be different in other themes} when it is in effect. If you have multiple masks with different modes, a decision had to be made on what value to use -- it uses the maximum transparency value of the background to determine the operations results. To understand how this works, here is a summary:
+
+Note1: The area outside the mask is referred to as the background.
+
+Note2: The operational result is based on the maximum transparency value of that background.
+
+\paragraph{Case 1, Positive Fade:} When the fade for all of the masks is positive, affecting the area inside of the mask, all of the
+background colors are at a transparency value of zero. So the largest transparency value is 0,and all masks are drawn with opaque backgrounds, depicted as one would expect.
+
+\paragraph{Case 2, Negative Fade:} When the program computes the background color for any number of masks that includes negative
+mask(s), it uses the largest transparency number as the determining factor for the background. Only 1 of the masks can be largest, and wins for the background transparency result.
+
+\vspace{3ex}\textit{Feather}: works in a similar manner to a \textit{gradient Fade} aligned on the mask boundary but is a logical function instead of a mathematical function so will be faster. The \textit{Gang feather} symbol also works in a similar fashion and is surrounded by a colored background when it is in effect.
+
+\subsubsection*{Mask Points section}%
+\label{ssub:masks_points_section}
+
+This section is used to change to a different mask number and manipulate the masks you have created.
+
+The \textit{Point}: textbox provides the ability to change which point number for the current mask that you want to work on. It has a tumbler to allow for quickly switching the point number. The \textit{X:} and \textit{Y:} boxes below reflect the current values and allow for modifying the $X/Y$ coordinates and these too have tumblers. The \textit{Delete} button will allow for deleting the selected point number.
+
+The next 6 symbols in 2 columns represent \textit{Smooth} and \textit{Linear} buttons. Smooth buttons use an algorithm based on the previous point and the next point to create a curved line. The smoothing operation takes three points, A, B, C, and arranges the slope at B to be AC as it moves to the next point for that mask.
+
+\textit{smooth point} $\rightarrow$ smooth a single point.
+
+\textit{smooth curve} $\rightarrow$ smooth all points on a mask edge curve.
+
+\textit{smooth all} $\rightarrow$ smooth all enabled masks on this track.
+
+Linear buttons of \textit{linear point}, \textit{linear curve}, and \textit{linear all}, perform the inverse of the smooth functions.
+The control point vectors on the bezier endpoints are set to zero magnitude.
+
+In addition there is a \textit{Markers} and a \textit{Boundary} checkbox which come in handy to turn off the display of the points and the outline of the mask. Turning off \textit{Markers} is very useful when you have a lot of control points that clutter the display and make it more difficult to see the actual mask. A helpful feature is available by disabling \textit{Markers} and enabling \textit{Boundary} which results in all masks being displayed in the viewer
+even if they are not enabled; for example you can then see mask 0, mask 1 \dots at the same time.
+
+A \textit{gang} symbol on the right hand side of this section, tooltip of \textit{Gang points}, is another useful feature that makes it easy to drag a mask to an exact coordinate using the \textit{X} or \textit{Y} textbox for numerical input or the associated tumblers. This works like the \texttt{Alt+LMB drag} translate but provides the ability to be precise.
+
+\subsubsection*{Pivot Point section}%
+\label{ssub:pivot_point_section}
+
+The \textit{X:} and \textit{Y:} coordinates mark the value of the current \textit{Pivot Point} used for rotation, scaling, and translation. You can either directly key in numerical values or use the tumblers to change the values as long as the \textit{Focus} checkbox is checked.
+
+The \textit{Focus} checkbox is used in case you want to set a different point in the Compositor for pivoting instead. And the \textit{Gang} symbol for rotate/scale/translate means that these operations will be performed on all points of the enabled masks. The gang symbol is surrounded by a colored background when it is in effect. When performing a rotate operation on a mask with the mouse wheel, \textit{acceleration} is in effect -- this means the faster you wheel, the more space is covered so that you do not have to wheel dozens of time to make a full rotation. Then when you wheel around slower, you can fine tune the result.
+Note that in order to be able to rotate/scale around pointer, the Focus checkbox must be unchecked.
+
+\subsubsection*{Other sections}%
+\label{ssub:other_sections}
+
+Finally there are the \textit{Apply masks before plugins} and \textit{Disable OpenGL masking} self-explanatory checkboxes.
+
+Note: Not all OpenGL software can support the current masking methods. If your opengl implementation does not support Shader Version 4.3 or has trouble with this (it is relatively new to opengl at the time this was implemented), then this checkbox will allow you to use the software masking to avoid any potential issues. Normally, OpenGL is probed for the shader version and will automatically use the software implementation if required.
+
+The \textit{Help} checkbox can be enabled in order to see a list of the keys used to perform various operations. If you use Masking infrequently, these are a valuable reminder to which key combinations to use. Currently they are as follows:
+
+\vspace{2ex}
+\begin{tabular}{ll}
+ \hline
+ Shift+LMB & move an end point \\
+ Ctrl+LMB & move a control point \\
+ Alt+LMB & to drag translate the mask \\
+ Shift+MMB & set Pivot Point at pointer \\
+ Wheel & rotate around Pivot Point \\
+ Shift+Wheel & scale around Pivot Point \\
+ Ctrl+Wheel & rotate/scale around pointer \\
+ \hline
+\end{tabular}
+
+\subsubsection*{Key Alternatives}%
+\label{ssub:key_alternatives}
+
+\vspace{2ex} Note: For some desktop window managers, certain keys may already be in use by the operating system, so you will either have to redefine them in your desktop or use different key combinations. For example, at least some desktops used with \textit{UbuntuStudio 16.04} and \textit{Arch} field the \texttt{Alt} key, thus requiring alternative key combinations to be needed. Below are some of these alternatives.
+
+\vspace{2ex}
+\begin{tabular}{lp{11cm}}
+ \hline
+ LMB & move/create an end point (to move the end point the pointer must be above the point) \\
+ Shift+LMB & move an end point (the pointer may be near the point, not above it) \\
+ Ctrl+LMB & move/create a control point \\
+ Alt+Ctrl+LMB & to drag translate the mask \\
+ Shift+Key Delete & to delete the mask \\
+ Shift+MMB & Set Pivot Point at pointer \\
+ Alt+Wheel & zoom in/out the screen (also available in Ubuntu16 but does not exist in all distros) \\
+ \hline
+\end{tabular}
+
+\vspace{2ex}
+Focus checkbox = unchecked:
+
+\vspace{2ex}
+\begin{tabular}{ll}
+ \hline
+ Wheel & rotate around Pivot Point \\
+ Shift+Wheel & scale around Pivot Point \\
+ Ctrl+Wheel & rotate around pointer \\
+ Ctrl+Shift+Wheel & scale around pointer \\
+
+ \hline
+\end{tabular}
+
+\vspace{2ex}
+Focus checkbox = checked:
+
+\vspace{2ex}
+\begin{tabular}{ll}
+ \hline
+ Wheel & rotate around Pivot Point (“Custom focus point”) \\
+ Shift+Wheel & scale around Pivot Point (“Custom focus point”) \\
+ \hline
+\end{tabular}
+
+\vspace{2ex}
+
+\subsection{Cropping}%
+\label{sub:cropping}
+\index{crop}
+
+Cropping is used to reduce the visible picture area by changing the output dimensions, width and
+height in pixels, and the $X, Y$ values. An example of cropping and the crop menu is seen in
+figure~\ref{fig:cropped_area}.
+The easiest way to use cropping is to click with the LMB
+at the spot to begin cropping and while holding down the LMB, drag the mouse. This creates a rectangular
+cropping area. To change the size/location of that area, click on any of the 4 corner points
+with the LMB and drag. While dragging, you will see
+the X1, Y1 coordinates and W for width, H for height, in the Crop tool popup menu
+automatically change numerical value to reflect the current position. For precise locations, you
+can keyin exact values into those textboxes instead of using the mouse.
+Once you have the crop area defined as you want it, then click on the \textit{Apply} button to have
+the actual cropping take affect.
+
+There are 3 choices of crop methods to choose in the menu pulldown on the bottom right side.
+\begin{enumerate}
+ \item Reformat - Reformat Session crops and changes the Format for the entire session.
+Because the Format is changed, this is applied to all tracks in the project.
+The part of the image outside the rectangle will be cut off and the projector will make the video fit.
+The \texttt{Settings $\rightarrow$ Format} window will show the new project Width and Height values and
+the projector tool window will show the new $X, Y$ values. Track size remains unchanged.
+You can undo the cropping by entering the original project dimensions in the
+\texttt{Settings $\rightarrow$ Format} window for the Width and Height. You will also have to use the Projector
+tool in the Compositor toolbar to \textit{Ajdust projector automation} by clicking on the Reset icon.
+ \item Resize - Resize Projector; to undo this, enable \textit{Adjust projector automation}
+and do a Reset.
+ \item Shrink - Resize Projector and Camera; to undo this, enable each of the \textit{Adjust
+projector and camera automation} tools, one at a time, and do a Reset in the menus.
+\end{enumerate}
+An important note here is that the original aspect ratio will be maintained so if your frame is
+rectangular (as many are) and you "crop" by surrounding the region of interest with a square,
+the cropped area will be more than you marked in order to keep the aspect rectangular shape.
+The Resize and Shrink options are applicable to all video tracks except the disarmed ones.
+This is in contrast to the Reformat option, as mentioned previously, which applies to all tracks even if disarmed because it changes the Format for the session.
+One last note of interest, this cropping is keyframable.
+
+\begin{figure}[htpb]
+ \centering
+ \includegraphics[width=0.9\linewidth]{cropped_area.png}
+ \caption{Crop menu and outlined crop rectangle on the right side}
+ \label{fig:cropped_area}
+\end{figure}
+
+An easy to follow step by step usage of the cropping tool is outlined next.
+\begin{itemize}
+ \item Enable the crop tool in the compositor window to display the Crop popup menu.
+ \item Click-drag in the video to define the crop area which draws a rectangle on the video.
+ \item Click-drag in the video to start a different rectangle instead.
+ \item Click-drag on a corner of the rectangle to reposition that corner.
+ \item Alt-click in crop rectangle to translate the rectangle to a different position without resizing.
+ \item The crop popup menu allows text entry of the top left coordinates ($X1,Y1$) and width and
+height ($W, H$) that define the crop rectangle.
+ \item Choose one of the 3 options of Reformat, Resize, or Shrink.
+ \item When you have the rectangle where you want it,
+click on the \emph{Apply} button in the menu to actually perform the crop operation.
+\end{itemize}
+
+
+\section{Viewer Window}%
+\label{sec:viewer_window}
+\index{viewer!window}
+
+The Viewer window (figure~\ref{fig:viewer_window}) is convenient for previewing your media and
+clips. It can also be used for editing with cuts and then paste operations into the timeline or
+to create a clip. There are transport buttons \index{transport buttons} to use in the same manner as in the Program
+and Compositor windows or you can quickly move through the media by dragging with the LMB in
+the timebar above the transport buttons.
+
+\begin{figure}[htpb]
+ \centering
+ \includegraphics[width=0.99\linewidth]{viewer_window.png}
+ \caption{Viewer Window - the red arrow "Play" button is left of the Videoscope button}
+ \label{fig:viewer_window}
+\end{figure}
+
+In order to view media in the window, you have to load it as follows:
+
+\begin{enumerate}
+ \item In the Resources window, highlight the Media folder or the Clip folder.
+ \item Drag a file from the folder to the Viewer.
+ \item \textbf{Or} double LMB click on a media asset.
+ \item \textbf{Or} highlight an asset, RMB to bring up choices, and click on \textit{View} or
+\textit{View in new window}.
+\end{enumerate}
+
+Note that you can have multiple Viewer windows open with different or even the same media asset.
+After the media is loaded you can use the transport buttons to play, rewind, stop, and so on, or
+for fast previewing drag with the LMB anywhere on the timebar slider. There is also the Videoscope \index{videoscope}
+button which is to used to enable the scopes window without having to apply the filter to the tracks/edits.
+A few more options available in the Viewer window can be accessed with a RMB click on the display \index{viewer!RMB options}.
+These functions are listed next.
+
+\begin{enumerate}
+ \item Switch to a fullscreen display by choosing \textit{Fullscreen}. To switch back, click
+with the RMB on the display again and choose \textit{Windowed}.
+ \item Change the display size by choosing the \textit{Zoom} function to select a zoom level of
+25\%, 33\%, \ldots 300\%, or 400\% of the original media size.
+ \item To remove the current media from being displayed, choose \textit{Close source}.
+\end{enumerate}
+
+The Viewer uses the project's output size output size{entry} format settings to display the media instead of the
+original asset's format. Operations performed in the Viewer affect a temporary EDL or a clip rather
+than the timeline. By default, the Viewer window is automatically available but if it gets
+accidentally closed you can open it again by using the pulldown \texttt{Window $\rightarrow$ Show
+Viewer} to bring it back up. More details for editing in the Viewer window with the Two Screen
+Editing method is explained in~\ref{sec:two_screen_editing}.
+
+
+\begin{figure}[htpb]
+ \centering
+ \includegraphics[width=1.0\linewidth]{viewer_audio.png}
+ \caption{Viewer window at the top displaying same 5 seconds as seen in the Resources window thumbnail. At the bottom of the screen is the audio loaded on the timeline.}
+ \label{fig:vieweraudio}
+\end{figure}
+
+You can also use the Viewer to listen to media that consists only of Audio. This is a quick way
+to listen to the audio to see if it is what you would like to add to a timeline audio track for
+your project. To do this, you simply drag the audio file from the Resources window in the same
+manner as a video file. The viewer was designed to "view" images rather than play audio so in order
+to make it obvious that audio media is loaded to the viewer, a waveform \index{waveform} is displayed that is the
+same waveform as shown in the Resources window thumbnail when in the \textit{Display Icons} mode.
+This waveform only represents the first 5 seconds of the media and will not change or move while
+playing in the Viewer window. But you can play the entire piece of media in the window
+and as you do so, you see the play cursor line move along and the timestamp reflect the actual
+position. You can also create clips. The entire waveform can only be seen on an actual audio track
+on the timeline. An example of what this looks like is shown in figure~\ref{fig:vieweraudio}.
+
+\section{Options in both the Compositor and Viewer Windows}%
+\label{sec:options_in_both_the_compositor_and_viewer_windows}
+
+The next sections describe capabilities that are available in both the Compositor and Viewer windows.
+
+\subsection{Click to Play in Viewer and Compositor}%
+\label{sub:click_to_play_in_viewer_and_compositor}
+
+In both the Viewer and Compositor windows, there is an arrow on the right hand side of the other
+buttons in the edit panel as shown in figure~\ref{fig:viewer_window}. The "play" button can be
+toggled on/off via this arrow, which has a tooltip of \textit{Click to play} \index{click to play}. When enabled
+the arrow is white surrounded by green and when disabled the arrow is red.\protect\footnote{the color and the look will be different for themes other than the default theme of Cakewalk}
+The purpose of enabling this capability is to make it really easy to play the media in the window
+by just using the left mouse button to start or stop the play. The entire main canvas surface
+becomes a big play button! Although the default is initially off, a good reason to enable this,
+at least temporarily, is so that you can quickly review your video before a render.
+
+\begin{description}
+ \item[left click] forward play or stop forward play if already playing
+ \item[middle wheel] single frame forward or back
+ \item[middle click] reverse play or stop reverse play if already playing.
+ Note that some 3 button mice do not accommodate a middle click for reverse but you can find out by testing from a terminal window with the command \texttt{xev}.
+\end{description}
+
+\subsection{Timebar + Preview Region Usage in the Compositor and Viewer}%
+\label{sub:timebar_preview_region_usage_in_the_compositor_and_viewer}
+\index{preview region}
+
+The Viewer and Compositor each have a timebar \index{timebar} control area with a red indicator
+line below the video output. The timebar shows the whole time covered by the
+resource. When a video resource is loaded in the main window and you move in the
+compositor, the insertion pointer in the main window will reflect those movements.
+But in the viewer only that specific media is shown and there is no corresponding movement on the timeline.
+
+\begin{figure}[htpb]
+ \centering
+ \includegraphics[width=1.0\linewidth]{timebar1.png}
+ \caption{The mouse cursor, above the green colored “play forward” transport button, is on the timebar. Further to the right we see the red "indicator line".}
+ \label{fig:timebar1}
+\end{figure}
+
+Both the Compositor and Viewer support labels and in/out pointer which are dis-
+played in the timebar. And as with the movements, when you use the labels or
+in/out pointer in the compositor timebar, the result will also be reflected in the
+main window timebar. Along with that, of course, when you move to a label or
+in/out pointer in the compositor, the insertion point in the program window will
+go to that position.
+
+The timebar in the compositor and the viewer covers the whole length of the resource
+loaded in there. Moving the mouse with the LMB pressed moves the position in the resources as indicated by the indicator line. A complete mouse movement between left and right edges of the window moves the indicator line by default along the whole timebar. With long resources it can be difficult to precisely locate sections in the resource. To make this easier, you can limit the effect of the same window-wide mouse movement to a smaller area of the timebar, this area is defined as the preview region. This region can also be moved along the timebar.
+
+For instance, if you need to get a few 10 second clips from an 60 minute video, you could define a one-minute preview region, move it approximately to a place where a clip needs to be taken, and easily select with the mouse in and out points within the region, because the whole window mouse movement now covers 1 minute instead of 60 minutes.
+
+To create and use a preview region, hold down the right mouse button inside the timebar on either end of the timebar close to the edge until you see the resize pointer.
+While continuously holding the right mouse button down, drag the arrow away from the end towards the middle of the timebar until you have the desired area outlined.
+The slider will be a dark red color while the selected preview region will remain the same initial black color.
+There are either a left or right resize pointer and you can click and drag in either direction to expand or shrink the region.
+
+\begin{figure}[htpb]
+ \centering
+ \includegraphics[width=1.0\linewidth]{timebar2.png}
+ \caption{A left-facing arrow on the right side of the reddish slider bar is used to drag the bar.}
+ \label{fig:timebar2}
+\end{figure}
+
+\begin{figure}[htpb]
+ \centering
+ \includegraphics[width=1.0\linewidth]{timebar3.png}
+ \caption{Here you can see the right-facing arrow used to drag the other end of the slider bar. The black area is the actual preview area.}
+ \label{fig:timebar3}
+\end{figure}
+
+You can slide the preview zone left or right by holding the right mouse button over the preview zone where you will see a fat double headed arrow.
+The selected area will move left or right as you drag and still retains the same size.
+
+\begin{figure}[htpb]
+ \centering
+ \includegraphics[width=1.0\linewidth]{timebar4.png}
+ \caption{Note the double-headed fat arrow in the black preview area used to move the selection over.}
+ \label{fig:timebar4}
+\end{figure}
+
+Settings:
+
+\begin{enumerate}
+ \item If no preview region is set, increasing the length of the media on the timeline by inserting media or appending, has no effect on the non-selected preview region. That is, you will not see the reddish slider bar suddenly mysteriously appear.
+ \item If the preview region is set, when you replace the current project or file, the preview region is automatically disabled.
+ \item If the preview region is set, when you append data or change the size of the current project, the preview region may appear to either move, shrink, or grow depending on the new length of the media on the timeline.
+ \item To disable the preview region, you will have to drag both the right and the left blue slider bars completely to their corresponding end so that there is no longer any visible red slider.
+\end{enumerate}
+
+A good method for taking advantage of the preview region is described here.
+On the main track canvas, scroll to the beginning of the area of interest.
+When you do that, you will see in the compositor the red indicator line of that location.
+Now in the compositor window, right mouse drag from the left side of the edge of the timebar to create the dark red slider bar line up to the red indicator.
+Back in the main track canvas, move to the location of the area you want to end looking and again you will see the red indicator line in the compositor.
+Use the right mouse drag from the right to stop at that end point. Using this method is often easier than continuous usage of the single frame move which can be tedious.
+
+One last interesting item of note -- sometimes you may wish to see just a little more that is outside the preview region and you can do so! You can actually move outside the compositor or viewer window space and view more, at least until you hit the end of the screen space.
+
+\section{Resources Window}%
+\label{sec:resources_window}
+\index{resources window}
+
+Effects, transitions, labels, clips, proxies, user bins, and media assets are accessed here.
+Most of the resources are inserted into the project by dragging them out of the resource window.
+Management of resource allocation is also performed here.
+
+\begin{figure}[htpb]
+ \centering
+ \includegraphics[width=0.8\linewidth]{resource_window.png}
+ \caption{Folders are in the first column with contents of that folder on the right hand side}
+ \label{fig:resource_window}
+\end{figure}
+
+The resources window is divided into two areas (figure~\ref{fig:resource_window}.
+One area lists folders \index{folders} and another area lists the folder contents \index{folder contents}.
+Going into the folder list and clicking on a folder updates the contents area with the contents of that folder.
+The folders can be displayed as icons or text.
+There are several variations for displaying the contents; select \emph{Display text}, \emph{Display icons}, \emph{Display icons packed}, \emph{Display icons list} as types of display for the assets or plugins.
+Use the letter “\texttt{V}” to easily scroll through the choices and see which you prefer.
+You can also get to these options from the menu by a right mouse click in the window.
+
+A \emph{Search} \index{search resources} option is available for any of the folders in the Resources window (and when using \textit{Attach effect} on the main track canvas for the Plugins).
+As you type in characters a match is made with that substring.
+Names that do not match are filtered out making it a lot easier to find the item you are looking for.
+The characters can be any where within the phrase and it does not matter if upper or lower case.
+
+Other options you will see if you \textit{right mouse click in the folder} which brings up the menu are described next \index{folders!RMB options}.
+
+\begin{description}
+ \item[ Load files ] for convenience to load files same as from the main window so you do not have to move the mouse so far in case you have multiple monitors.
+ \item[Display text/icons] as described previously for format variations preference.
+ \item[Select] options are All, Used, Unused, and None. This gives you the capability to have a set of the
+ contents highlighted for ease of use so you can see what is or is not loaded, or unset the highlight.
+ \item[Sort items] to sort the contents of the folder alphabetically. Especially helpful if you accidentally did a
+ drag and changed your mind or dropped suddenly so that the assets no longer look nicely aligned.
+ \item[Copy/Paste file list] use to easily copy a set of files or paste a set of files between \CGG{} and other programs or operating system windows.
+ \item[Snapshot/Grabshot] use to take a quick snapshot or to grab a specific area on the screen. These functions are described in detail in section \ref{sub:snapshot_grabshot}).
+\end{description}
+
+Using the right mouse click to bring up a menu in the folder area \index{folders!RMB options}, you can also switch from Display text to Display icons, Sort items and create, delete and manipulate user defined folders/bins. Select Folder to create a user Folder or modify an existing folder.
+
+If you \textit{right mouse click on a highlighted/selected resource}, several options are available depending on whether the resource is an effect or transition or a piece of media.
+You can highlight several for some options so that it is applicable to all of them, such as Info.
+Those listed immediately below are the available choices for media assets \index{asset!RMB options}.
+
+
+\begin{description}
+ \item[Info] provided basic Asset information; details are described later in this section.
+ \item[Display text/icons] same as mentioned previously.
+ \item[Sort] same as mentioned previously.
+ \item[Rebuild index] \index{rebuild index} if you switch from/to using ffmpeg/native for media loading, you should rebuild
+ indexes. Or if you get hangs on media or strange looking tracks, you might want to rebuild indexes.
+ \item[View] use this option to bring up the media in the Viewer window.
+ \item[View in new window] in order to not overwrite your current viewer window, you can open any
+ number of viewer windows to simultaneously view multiple media.
+ \item[Open mixers] when you record with multiple cameras setup, you can work with them most easily
+ using the mixer mode. This is described in detail
+ \item[Paste]
+ \item[Match] \index{match format} if you need to change your media parameters you can choose from the following: Match frame
+ rate, Match project size, Match all
+ \item[Remove] \index{remove asset} use to Remove the asset from the project or with caution, to Remove from disk permanently.
+\end{description}
+
+In the case of Effects or Transitions \index{effects/transitions info}, a right mouse click on a highlighted selection leads to an \emph{Info} button which gives a short 1 line description of what the effect/transition can be used for.
+For Labels \index{label!RMB options}, choices are \emph{Edit}, \emph{Label}, and \emph{Go to}.
+For Clips \index{clip!RMB options}, \emph{Nest} and \emph{UnNest} as described elsewhere are available.
+
+\subsection{Info Asset Details}%
+\label{sub:info_asset_details}
+\index{asset!info}
+The asset \emph{Info} window also can be used to display detailed information about the selected/highlighted media file -- available for any loaded media of type mpeg or ffmpeg.
+This is extremely helpful in determining what type of media it is, size, resolution, format, and type/number of audio streams. It is especially useful for multiple program streams. You can have the info window popped on several of your assets simultaneously.