From: Andrea-Paz Date: Sat, 18 May 2019 08:45:00 +0000 (+0200) Subject: new revision cha 5 X-Git-Tag: 2021-05~219^2~9 X-Git-Url: https://cinelerra-gg.org/git/?a=commitdiff_plain;h=9ce0dc3a546f7e39b2aa3b213dbcd19a218e2840;p=goodguy%2Fcin-manual-latex.git new revision cha 5 --- diff --git a/common/packages.tex b/common/packages.tex index e2290d9..d103322 100644 --- a/common/packages.tex +++ b/common/packages.tex @@ -14,7 +14,7 @@ cite, enumerate, float, - textcomp + textcomp } % some packages %\usepackage[font={small}]{caption} \usepackage{hhline} % beautiful links diff --git a/images/shuttle-prov2.png b/images/shuttle-prov2.png deleted file mode 100644 index 27973eb..0000000 Binary files a/images/shuttle-prov2.png and /dev/null differ diff --git a/images/timeline.png b/images/timeline.png new file mode 100644 index 0000000..6df6a03 Binary files /dev/null and b/images/timeline.png differ diff --git a/images/trim-color.png b/images/trim-color.png new file mode 100644 index 0000000..7d41170 Binary files /dev/null and b/images/trim-color.png differ diff --git a/images/trim-cv.png b/images/trim-cv.png deleted file mode 100644 index 955b72c..0000000 Binary files a/images/trim-cv.png and /dev/null differ diff --git a/images/trim-gg.png b/images/trim-gg.png deleted file mode 100644 index 2be7eb1..0000000 Binary files a/images/trim-gg.png and /dev/null differ diff --git a/images/xpress.png b/images/xpress.png deleted file mode 100644 index b89679f..0000000 Binary files a/images/xpress.png and /dev/null differ diff --git a/parts/Editing.tex b/parts/Editing.tex index d45e44c..957e766 100644 --- a/parts/Editing.tex +++ b/parts/Editing.tex @@ -1,9 +1,16 @@ \chapter{Editing}% \label{cha:editing} -Editing comprises both time and track space. The timeline consists of the time certain media appear on the track going left to right and a set of tracks from the top to the bottom. There are 2 methods of timeline editing --- drag and drop editing, also called \textit{arrow mode}, and cut and paste editing or \textit{I-beam mode}. Cut and Paste is the default editing mode. An additional, but not often considered editing method is called \textit{two-screen editing} where the Viewer is used to view media and then the desired media is transferred to the timeline. +Editing comprises both time and track space. The timeline consists of the time certain media appear on the track going left to right and a set of tracks from the top to the bottom. There are 2 methods of timeline editing --- drag and drop editing, also called \textit{arrow mode}, and cut and paste editing or \textit{I-beam mode}. Cut and Paste is the default editing mode. An additional, but not often considered editing method is called \textit{two-screen editing} where the Viewer is used to view media and then the desired clip from the media is transferred to the timeline. -The timeline is where all editing decisions are made. This is a stack of tracks in the center of the main window. It can be scrolled up, down, left and right with the scrollbars on the right and bottom. It can also be scrolled up and down with a mouse wheel, or left and right while holding down the Ctrl key and using the mouse wheel. +The timeline is where all editing decisions are made (figure~\ref{fig:timeline}). This is a stack of tracks in the center of the main window. It can be scrolled up, down, left and right with the scrollbars on the right and bottom. It can also be scrolled up and down with a mouse wheel, or left and right while holding down the Ctrl key and using the mouse wheel. + +\begin{figure}[htpb] + \centering + \includegraphics[width=0.8\linewidth]{images/timeline.png} + \caption{Timeline editing session using the upcoming Cinfinity theme.} + \label{fig:timeline} +\end{figure} The active region is the range of time which is affected by editing commands on the timeline. The active region is determined first by the presence of in/out points on the timeline. If those do not exist the highlighted region is used. If no highlighted region exists, the insertion point is used as the start of the active region. Some commands treat all the space to the right of the insertion point as active while others treat the active length as 0 if no end point for the active region is defined. @@ -21,16 +28,15 @@ On the left of the timeline is a region known as the patchbay. The patchbay ena \item[Expander] which is a down arrow on the right side, is for viewing more options on the patchbay and for viewing the effects represented on the track. You can just click on the expander to expand or collapse the patchbay and the track. If it is pointing sideways, the track is collapsed. If it is pointing down, the track is expanded. Existing effects appear below the media for the track. \end{description} -\noindent Below the textbox name are several toggles referred to as \textit{attributes} for different features (currently there are 5 as shown in figure~\ref{fig:patchbay}). +\noindent Below the textbox name are several toggles referred to as \textit{attributes} for different features (currently there are 5 as shown in figure~\ref{fig:patchbay01}). If the toggle button is shadowed by a color, the feature is enabled . If the toggle is the background color of most of the window, it is disabled. Click +on the toggle to enable/disable the feature. -\begin{wrapfigure}[20]{r}{0.5\textwidth} +\begin{figure}[htpb] \centering - \includegraphics[width=0.6\linewidth]{images/patchbay01.png} + \includegraphics[width=0.2\linewidth]{images/patchbay01.png} \caption{Patchbay} - \label{fig:patchbay} -\end{wrapfigure} - -If the toggle button is shadowed by a color, the feature is enabled . If the toggle is the background color of most of the window, it is disabled. Click on the toggle to enable/disable the feature. + \label{fig:patchbay01} +\end{figure} Several mouse operations speed up the configuration of several tracks at a time. Click on an attribute and drag the cursor across adjacent tracks to copy the same attribute to those tracks. Hold down Shift while clicking a track's attribute to enable the attribute in the current track and toggle the attribute in all the other tracks. Or you can: @@ -47,11 +53,11 @@ The \textit{attributes} are described here next. \item[Arm Track] determines whether the track is armed or not. Only the armed tracks are affected by editing operations. Make sure you have enough armed destination tracks when you paste or splice material or some tracks in the material will get left out. In addition to restricting editing operations, the armed tracks in combination with the active region determine where material is inserted when loading files. If the files are loaded with one of the insertion strategies which do not delete the existing project, the armed tracks will be used as destination tracks. \item[Gang Fader] cause the fader to track the movement of whatever other fader you are adjusting by dragging either the fader or the curve on the track. It doesn't affect the editing made with menu controls. A fader is only ganged if the arm track is also on. This is often used to adjust audio levels on all the tracks simultaneously. Gang also causes Nudge parameters to synchronize across all the ganged tracks. \item[Draw Media] determines if picons or waveforms are drawn on the asset in the track. You may want to disable this if you know that the media/format takes a long time to draw on the timeline. By default it is set to on in order to see picons on the timeline. - \item[Don’t send to output] , more commonly called \textit{mute}, causes the output to be thrown away once the track is completely rendered. This happens whether or not \textit{Play track} is on. For example if you mute all the video tracks, the rendered media file will have a blank video track. Mute track is represented on the timeline with a line that has the default color of blue. Use the pulldown View $\rightarrow$ Mute to have the line displayed. It is a keyframable attribute, but Mute track keyframing is a toggle and it has only the two values of on or off. If a track is part of a shared track effect, the output of the track with the shared track effect is overlaid on the final output even though it is routed back to another track (the shared track). Mute track is used to keep the track with the shared track effect from overlapping the output of the source track (the shared track) where the shared track effect is not present. - \item[Fader slider] fade values are represented on the timeline with a white curve that is keyframable. All tracks have a fader, but the units of each fader depend on whether it is audio or video. Audio fade values are in dB. They represent relative levels, where 0 is the unaltered original sound level, -40 is silence, -80 the minimum value set by default. You can move fader and keyframes down to -80 but the parameter's curve won't go below -40. For your convenience you can set a different fade range with the curve zoom. Audio fader’s main purpose is to \textit{fade out} sound or to lower the sound level smoothly to silence, or \textit{fade in} to make sounds appear gradually instead of suddenly. Video fade values are the percentage of opacity of the image in normal overlay mode, the percentage of the layer that is mixed into the render pipeline in the other overlay modes. + \item[Don’t send to output] , more commonly called \textit{mute}, causes the output to be thrown away once the track is completely rendered. This happens whether or not \textit{Play track} is on. For example if you mute all the video tracks, the rendered media file will have a blank video track. Mute track is represented on the timeline with a line that has the default color of pink/orange. Use the pulldown View $\rightarrow$ Mute to have the line displayed. It is a keyframable attribute, but Mute track keyframing is a toggle and it has only the two values of on or off. If a track is part of a shared track effect, the output of the track with the shared track effect is overlaid on the final output even though it is routed back to another track (the shared track). Mute track is used to keep the track with the shared track effect from overlapping the output of the source track (the shared track) where the shared track effect is not present. + \item[Fader slider] fade values are represented on the timeline with a pink curve that is keyframable. All tracks have a fader, but the units of each fader depend on whether it is audio or video. Audio fade values are in dB. They represent relative levels, where 0 is the unaltered original sound level, -40 is silence, -80 the minimum value set by default. You can move fader and keyframes down to -80 but the parameter's curve won't go below -40. For your convenience you can set a different fade range with the curve zoom. Audio fader’s main purpose is to \textit{fade out} sound or to lower the sound level smoothly to silence, or \textit{fade in} to make sounds appear gradually instead of suddenly. Video fade values are the percentage of opacity of the image in normal overlay mode, the percentage of the layer that is mixed into the render pipeline in the other overlay modes. Click and drag the fader to fade the track in and out. If it is ganged to other tracks of the same media type, with the arm option enabled, the other faders should follow. Hold down the Shift key and drag a fader to center it on the original source value (0 for audio, 100 for video). \item[mixer] in the expanded patchbay for that track designate the multi-camera mixer mode. - \item[Overlay mode] in the expanded patchbay is used for porter-duff operations and is full explained in the section on Overlay Modes. + \item[Overlay mode] in the expanded patchbay is used for porter-duff operations and is full explained in Overlay Modes chapter 1. \item[Nudge] is in the expanded patchbay. The nudge value is the amount the track is shifted left or right during playback. The track is not displayed shifted on the timeline, but it is shifted when it is played back. This is useful for synchronizing audio with video, creating fake stereo, or compensating for an effect which shifts time, all without altering any edits (figure~\ref{fig:overlay}). \begin{figure}[htpb] @@ -72,7 +78,7 @@ Several convenience functions are provided for automatically setting the panning \begin{description} \item[Audio$\rightarrow$Map 1:1] This maps every track to its own channel and wraps around when all the channels are allocated. It is most useful for making 2 tracks with 2 channels map to stereo and for making 6 tracks with 6 channels map to a 6 channel sound card. - \item[Audio$\rightarrow$Map 5.1:2] This maps 6 tracks to 2 channels. The project should have 2 channels when using this function. Go to Settings $\rightarrow$ Format to set the output channels to 2. This is most useful for down-mixing 5.1 audio to stereo. + \item[Audio$\rightarrow$Map 5.1:2] This maps 6 tracks to 2 channels. The project should have 2 channels when using this function. Go to Settings $\rightarrow$ Format to set the output channels to 2. This is most useful for down-mixing 5.1 audio to to stereo (for more information refer to Configuration, Settings and Preferences chapter 15.1). \end{description} \paragraph{Standard audio mappings} Although Cinelerra lets you map any audio track to any speaker, there are standard mappings you should use to ensure the media can be played back elsewhere. Also, most audio encoders require the audio tracks to be mapped to standard speaker numbers or they will not work. @@ -113,6 +119,8 @@ Now to start your 2 screen editing, in the viewer window, define a clip from the \item Set the starting point with the In pointer button. You will see a left hand bracket on the timebar. \item Move your cursor to the ending point of the clip you want to use. \item Set the ending point with the Out pointer right hand bracket. + \item You will see a colored bar inside the brackets for easier viewing. + \item Drag the In/Out point with the mouse to conveniently change their position. \end{enumerate} \noindent These In/Out points define a clip. You can now use this in a couple of different ways. @@ -127,6 +135,7 @@ To overwrite exactly on a precise region of the timeline: \begin{enumerate} [noitemsep] \item Arm only tracks to change. \item Define the destination region on the timeline with [ and ], the In and Out points. + \item You can achieve maximum precision by setting the active region in the zoom panel. \item Define the clip you want to use in the viewer with [ and ], the In and Out points. \item Overwrite from Viewer to the timeline. \end{enumerate} @@ -141,7 +150,7 @@ If the destination region is longer than the clip defined in the viewer, the des \section{Cut and Paste Editing}% \label{sec:cut_paste_editing} -This is the more traditional method of editing and therefore is the default. To enable the cut and paste editing mode on the timeline, select the I-beam toggle on the control bar at the top of the main program window. You can copy edits in the same track, copy from different tracks in the same instance, start a second instance of Cinelerra and copy from one instance to the other or load a media file into the Viewer and copy from there. +This is the more traditional method of editing in Cinelerra and therefore is the default. To enable the cut and paste editing mode on the timeline, select the I-beam toggle on the control bar at the top of the main program window. You can copy edits in the same track, copy from different tracks in the same instance, start a second instance of Cinelerra and copy from one instance to the other or load a media file into the Viewer and copy from there. To start editing, load some files onto the timeline. Select a region of the timeline by click dragging on it and select the cut button to cut it. Move the insertion point to another point in the timeline and select the paste button. Assuming no In/Out points are defined on the timeline this performs a cut and paste operation. @@ -193,7 +202,7 @@ pasted one after the other, keeping the same order they have on the stack. \end{wrapfigure} A \textit{cut} uses a non-empty selection region, where the \textit{blade cut} or \textit{split} has no duration in the selection, just a hairline. As usual the use of cut when a selection is set, deletes/cuts the highlighted area. In the case where an In point or an Out point exists on the timeline, the clip is split at the location of the In/Out point since it has priority over the cursor location. A blade cut simply splits the edit into two edits. In order to have the video and audio aligned, it works best to have Settings $\rightarrow$ Align cursor on frames. When a blade cut occurs, the edges are created as \textit{hard edges}. These are edges that cannot be deleted by track optimizations. - +Cinelerra has built-in optimization on the timeline. So that whenever two parts on the timeline are sequential frames, it automatically optimizes by making them into 1 item. So if you are cutting, dragging, editing, or whatever and somehow frame \# 40 ends up right next to frame \# 41, it optimizes them together. This optimization affects many areas throughout the program code. When you do a blade cut/split, all armed tracks will be included in the cut and green-colored triangles will show on the bottom of the track on both the left and the right side of the cut. This is a \textit{hard edge} marker toggle, as opposed to the soft edge designation for an ordinary edit. The \textit{hard edge} marker can be toggled off/on if so desired. In order to not interfere with the usual drag handles, only a few pixels are used for the toggle so you have to be sure you have the cursor right over the hard edge triangle --- when in position, it will be obvious because you can see an arrow pointing to the corner. Use Shift-left mouse button 1 to toggle off/on the hard edge marker on all tracks simultaneously. \section{Drag and Drop Editing}% @@ -248,7 +257,8 @@ The \textit{edits} popup is activated on a track and a red and yellow colored re \begin{center} \begin{tabular}{l p{12cm}} \toprule - \textbf{Key} & \textbf{Operations} \\ \hline + \textbf{Key} & \textbf{Operations} \\ + \midrule Drag & Hold down the Ctrl key while dragging to move a single edit elsewhere. \\ Left mouse button & Selects and highlights the edit under the cursor with a red selection box. Left mouse button also will toggle that clip selection off if it is on. \\ \bottomrule @@ -350,9 +360,8 @@ Figure~\ref{fig:inter-view01} shows an example of the Inter-View mode mapping pr \begin{itemize} \item Do your editing as usual on the timeline until you are ready to see what is used or unused. - \item Make sure you are in Preview mode in the Resources window; you enable this mode using the menu - \textit{Full play} to the left of the word Search \quad - \includegraphics[height=\baselineskip]{images/fullplay.png}. \item Middle mouse click on a thumbnail in the Resources window and a popup occurs of that media with a + \item Make sure you are in any of the Preview modes in the Resources window; you enable the mode using the pulldown to the left of the word Search. The option looks like this + \quad \includegraphics[height=\baselineskip]{images/fullplay.png}. \item Middle mouse click on a thumbnail in the Resources window and a popup occurs of that media with a white colored bar at the top and a red colored bar at the bottom with black sections. \end{itemize} The red/white bars represent the presence and the black sections represent the absence of where that media is used on the timeline. To get to a bigger representation, use the “f” key for a full screen. Now @@ -476,28 +485,63 @@ A description of the fundamental/common terminology for choices follows. \item[Edge Left / Right] moves the edge of the clips. \item[No effect] no changes are made. You might want to use this choice to prevent accidental movements. \end{description} -The next two tables displays the options and results with the Key Table here first. - -\vspace{1ex} -\noindent s = src media start\\ -p = proj position \\ -l = length \\ -c = cut distance \\ -rest == p+=c: for rest of clips \\ -01 = flags edits\_moved, rest\_moved - -\vspace{2ex} \textbf{Cinelerra-HV/CV:} - -\begin{figure}[htpb] - \centering - \includegraphics[width=1.0\linewidth]{images/trim-cv.png} -\end{figure} +The next table displays the options and results with the Key Table here first. + +\begin{lstlisting}[language=bash] + s = src media start\\ + p = proj position \\ + l = length \\ + c = cut distance \\ + rest == p+=c: for rest of clips \\ + 01 = flags edits_moved, rest_moved +\end{lstlisting} -\vspace{2ex} \textbf{Cinelerra-GG:} +\vspace{2ex} + +\begin{longtable}{c c c c c} + \toprule + & & \textbf{Drag Left} & \textbf{Drag Right} & \\ + \midrule + \endhead + \multicolumn{2}{c}{\textit{curr s += c, l -= c; + rest}} & $\leftarrow$ & $\rightarrow$ & \textit{rest} \\ + abc12345xyz & \textbf{Ripple} left edge 11 $\rightarrow$ & abc012345xyz & abc2345xyz & \\ + \midrule + \multicolumn{2}{c}{\textit{curr l += c; + rest}} & $\leftarrow$ & $\rightarrow$ & \textit{rest} \\ + abc12345xyz & \textbf{Ripple} right edge 01 $\rightarrow$ & abc1234xyz & abc123456xyz & \\ + \midrule + \multicolumn{2}{c}{\textit{prev l += c; curr ps+= c, l -= c}} & $\leftarrow$ & $\rightarrow$ & \\ + abc12345xyz & \textbf{Roll} left edge 00 $\rightarrow$ & ab012345xyz & abcd2345xyz & \\ + \midrule + \multicolumn{2}{c}{\textit{curr l += c; next ps+= c, l -= c}} & $\leftarrow$ & $\rightarrow$ & \\ + abc12345xyz & \textbf{Roll} right edge 00 $\rightarrow$ & abc1234wxyz & abc123456yz & \\ + \midrule + \multicolumn{2}{c}{\textit{s -= c}} & $\leftarrow$ & $\rightarrow$ & \\ + abc12345xyz & \textbf{Slip} left edge 10 $\rightarrow$ & abc23456xyz & abc01234xyz & \\ + \midrule + \multicolumn{2}{c}{\textit{s -= c}} & $\leftarrow$ & $\rightarrow$ & \\ + abc12345xyz & \textbf{Slip} right edge 10 $\rightarrow$ & abc23456xyz & abc01234xyz & \\ + \midrule + \multicolumn{2}{c}{\textit{prev l += c; curr p+= c; next ps += c, l -= c}} & $\leftarrow$ & $\rightarrow$ & \\ + abc12345xyz & \textbf{Slide} left edge 10 $\rightarrow$ & ab012345wxyz & abcd12345yz & \\ + \midrule + \multicolumn{2}{c}{\textit{prev l += c; curr p+= c; next ps += c, l -= c}} & $\leftarrow$ & $\rightarrow$ & \\ + abc12345xyz & \textbf{Slide} right edge 10 $\rightarrow$ & ab12345wxyz & abcd12345yz & \\ + \midrule + \multicolumn{2}{c}{\textit{curr s -+= c, l += c; + rest}} & $\leftarrow$ & $\rightarrow$ & \textit{rest} \\ + abc12345xyz & \textbf{Edge} left edge 11 $\rightarrow$ & abc2345xyz & abc0123456xyz & \\ + \midrule + \multicolumn{2}{c}{\textit{curr l -+= c; + rest}} & $\leftarrow$ & $\rightarrow$ & \textit{rest} \\ + abc12345xyz & \textbf{Edge} right edge 01 $\rightarrow$ & abc1234xyz & abc123456xyz & \\ + \bottomrule +\end{longtable} + +\noindent Next, a more immediate and colorful view shows these trimming options ((figure~\ref{fig:trim-color})). \begin{figure}[htpb] \centering - \includegraphics[width=1.0\linewidth]{images/trim-gg.png} + \includegraphics[width=0.8\linewidth]{images/trim-color.png} + \caption{The 5 types of Trim: note the different lengths of the results.} + \label{fig:trim-color} \end{figure} \paragraph{How to do a J-cut or L-cut} A J-cut is a split edit film editing technique in which the audio from a following scene overlaps the picture from the preceding scene, so that the audio portion of the later scene starts playing before its picture as a lead-in to the visual cut. An L-cut is a different split edit film editing technique in which the audio from preceding scene overlaps the picture from the following scene, so that the audio cuts after the picture, and continues playing over the beginning of the next scene (figure~\ref{fig:j-cut}). To do either a J-cut or an L-cut, you first shorten the first or second video a little. Then you block the audio tracks from changing by disarming the appropriate tracks. Finally use \textit{One Edit (roll)} the cutting edge off the videos. Moving to the right creates a J-cut and moving to the left creates an L-cut. @@ -551,12 +595,12 @@ They look like tags and the letter E on the menu bar and are oriented forward/ba Instead of using the edit panel buttons, you can more easily use the following keyboard shortcuts to perform the same functions: \begin{center} \begin{tabular}{l l l} - \hline \hline - snap\_right\_edit & ctrl+alt+ '.' \\ - snap\_left\_edit & ctrl+alt+ ',' \\ + \toprule + snap\_right\_edit & ctrl+alt+ '.' & \\ + snap\_left\_edit & ctrl+alt+ ',' & \\ snap\_right\_label & ctrl+alt +shift '.' & shift+period is the > sign on US keyboards \\ snap\_left\_label & ctrl+alt +shift',' & shift+comma is the < sign on US keyboards \\ - \hline + \bottomrule \end{tabular} \end{center} @@ -582,7 +626,7 @@ It is somewhat important to note that nested assets and nested clips will have i \subsection{Copy/Paste clips/medias across Multiple Instances}% \label{sub:copy_paste_multiple_instances} -It is easy to copy/paste clips/media within a single instance of cinelerra or across multiple instances. The reason this works is because there are hidden X cut butters and these are used to transmit EDL from 1 instance to another. +It is easy to copy/paste clips/media within a single instance of cinelerra or across multiple instances. The reason this works is because there are hidden X cut buffers and these are used to transmit EDL from 1 instance to another. \noindent Steps to copy from a source timeline and paste to a target timeline: @@ -618,13 +662,13 @@ Directions for using the ShuttlePROv2 and the ShuttleXpress with Cinelerra are d \vspace{1ex} \noindent Only 1 necessary initial setup is required due to permission settings for non-root usage. As root, just copy a file that provides the necessary permissions to use the shuttle, then reboot, Example copy: -\begin{lstlisting}[language=Bash] +\begin{lstlisting}[language=bash] sudo cp {cindat_path}/doc/99-ShuttlePRO.rules /etc/udev/rules.d/ \end{lstlisting} \noindent then the next time after you reboot, the permissions should be correct. This file only needs to contain one of the following lines depending on which shuttle version you have/use, but all will be in the file. -\begin{lstlisting}[language=Bash] +\begin{lstlisting}[language=bash] ATTRS{name}=="Contour Design ShuttlePro" MODE="0644" # for newer PRO model \\ ATTRS{name}=="Contour Design ShuttlePRO v2" MODE="0644" # for older PRO model \\ ATTRS{name}=="Contour Design ShuttleXpress" MODE="0644" # for the Xpress model \\ @@ -649,7 +693,7 @@ Next are a few actual examples from the default \texttt{{cindat\_path}/shuttlerc \noindent The next brackets represent sections. Default, Resources, Load windows all use the same key values. -\begin{lstlisting}[language=Bash] +\begin{lstlisting}[language=bash] [Default] \\ [Resources] \\ [Load] \\ @@ -664,7 +708,7 @@ JR XK_Scroll_Down \noindent Cinlerra with brackets around it next, is the section with some key definitions for the main window. -\begin{lstlisting}[language=Bash] +\begin{lstlisting}[language=bash] [Cinelerra] \\ # Most useful functions have to be on K5-K9 because Xpress only has 5 keys \\ @@ -692,7 +736,7 @@ S3 FWD_1 \\ For the Viewer, you may want keys defined to do a Splice or an Overwrite so define differently. Note that assignments that contain single character letters must be enclosed in quotes. -\begin{lstlisting}[language=Bash] +\begin{lstlisting}[language=bash] [Viewer] \\ K2 "v" # Splice - Viewer only; may be defined differently than Composer or Cinelerra \\ K4 "b" # Overwrite @@ -701,7 +745,7 @@ K4 "b" # Overwrite \noindent To change any key value to an alternative value, just edit the file and make the changes. Besides just keys and alphabetic letters of numbers, you can also use any cinelerra value that contains the combination with Shift, Alt, and Ctrl. For keys that are not printable characters, you can look up the symbol name to use for a specific operation in the file called: \texttt{/usr/include/X11/keysymdef.h} . \noindent Some examples: -\begin{lstlisting}[language=Bash] +\begin{lstlisting}[language=bash] K10 Alt-XK_Left # Go to previous edit \\ K13 Ctrl-XK_Right # Go to next label \end{lstlisting} @@ -710,7 +754,7 @@ K13 Ctrl-XK_Right # Go to next label After modifying \texttt{.shuttlerc}, the next time you use the shuttle, your changes will automatically take affect without even having to stop and restart Cin. However, the first thing to try if problems is to stop cinelerra, unplug the shuttle, wait a few seconds, plug it in again, and then restart cin. If for some reason, the shuttle keys still do not work after that, you may have an incorrect setup and you will have to correct that first. For example, if you define S5 twice within the Cinelerra setup, it will fail. It is suggested that if you make changes, you should initially uncomment DEBUG in the \texttt{.shuttlerc} file and start up cinelerra from a terminal window so that you can make sure it is working and has no output errors. An error might look like: -\begin{lstlisting}[language=Bash] +\begin{lstlisting}[language=bash] dupl key name: [Cinelerra]K1 \\ shuttle config err file: /root/.shuttlerc, line:37 \end{lstlisting} @@ -719,7 +763,7 @@ shuttle config err file: /root/.shuttlerc, line:37 Any time you are having trouble with your shuttle, you can copy the default \texttt{shuttlerc} file from \texttt{{cindat\_path}/shuttlerc} to your local \texttt{.shuttlerc} file, and edit that to\ switch to DEBUG mode by removing the \# comment from the DEBUG line. But you will have to have started Cin from a terminal window to see the key values. The first time you use the shuttle or after you change the file, the current assignments will show in the terminal window so will look something like: -\begin{lstlisting}[language=Bash] +\begin{lstlisting}[language=bash] [Cinelerra] # 1 \\ K5[D]: XK_KP_0/U \\ K5[U]: XK_KP_0/U @@ -727,21 +771,21 @@ K5[U]: XK_KP_0/U \noindent When you are in DEBUG mode and are just working away, what you will see is something like this: -\begin{lstlisting}[language=Bash] +\begin{lstlisting}[language=bash] key: 0058 1 \\ key: 0055 0 \end{lstlisting} or: -\begin{lstlisting}[language=Bash] +\begin{lstlisting}[language=bash] shuttle: 00 00 00 00 00 \\ key: XK_Home 0 \end{lstlisting} \noindent When you change the focus from one window to another, you will see something like this: -\begin{lstlisting}[language=Bash] +\begin{lstlisting}[language=bash] new focus: 04c00137 \\ new translation: Viewer \\ key: 0059 1 @@ -749,7 +793,7 @@ key: 0059 1 \noindent You can also set an environment variable to temporarily use an alternative shuttle configuration file for testing as in: -\begin{lstlisting}[language=Bash] +\begin{lstlisting}[language=bash] export SHUTTLE_CONFIG_FILE=/tmp/shuttlerc_test \end{lstlisting} @@ -758,9 +802,9 @@ export SHUTTLE_CONFIG_FILE=/tmp/shuttlerc_test \subsection{Troubleshooting auxilliary information}% \label{sub:troubleshooting_auxilliary_information} -In order to see if you hardware was recognized by the operating system, keyin: +In order to see if you hardware was recognized by the operating system, key in: -\begin{lstlisting}[language=Bash] +\begin{lstlisting}[language=bash] lsusb -v -d 0b33:0030 # for the Shuttle Pro or PROv2 \\ lsusb -v -d 0b33:0020 # for the Shuttle Xpress \end{lstlisting} @@ -772,15 +816,15 @@ lsusb -v -d 0b33:0020 # for the Shuttle Xpress \begin{enumerate} - \item From a terminal window as an ordinary user keyin: lsusb (the first character is a lower case L ---for + \item From a terminal window as an ordinary user key in: lsusb (the first character is a lower case L ---for list). You will see something like the following depending on which usb device you have the ShuttlePro plugged into: \texttt{Bus 003 Device 002: ID 0b33:0030 Contour Design, Inc. ShuttlePro v2} - \item To make sure you have usbmon installed keyin: + \item To make sure you have usbmon installed key in: \texttt{sudo modprobe usbmon} - \item Next keyin the following: + \item Next key in the following: \texttt{sudo od -tx1 /dev/usbmon3} @@ -791,7 +835,7 @@ lsusb -v -d 0b33:0020 # for the Shuttle Xpress have multiple devices on the same bus, you will get responses from any and all of them. Attempt to isolate your shuttle by temporarily unplugging unnecessary devices on the same bus or plug the shuttle into a different usb port that has fewer devices. - \begin{lstlisting}[language=Bash] + \begin{lstlisting}[language=bash] 0000000 80 70 99 75 53 8c ff ff 43 01 81 02 03 00 2d 00 \\ 0000020 4e 61 5c 5c 00 00 00 00 8d 2c 06 00 00 00 00 00 \\ 0000040 05 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00 \\ @@ -822,7 +866,7 @@ Another method for testing to make sure your model of the Shuttle does not have \noindent Then press your shuttle key that is having problems and check the results. They should look like: -\begin{lstlisting}[language=Bash] +\begin{lstlisting}[language=bash] Example for K7: \\ event: (4, 4, 0x90007) #The last number, 7, is the expected Key number. \\ event: (1, 262, 0x1) \\ @@ -842,7 +886,7 @@ event: (0, 0, 0x0) \noindent When done, you will have to Ctrl-C to get out of the program. -\paragraph{Note 4} For developers, it is also possible to do the following for further in depth testing: +\paragraph{Note 4} For developers, if you have a pre-UEFI Secure Boot kernel it is also possible to do the following for further in depth testing: \begin{enumerate} \item \texttt{ls /sys/kernel/debug/hid \# to locate numerical value of the shuttle, e.g. 0003:0B33.0030.0006} @@ -853,18 +897,20 @@ event: (0, 0, 0x0) \subsection{Shuttle key default arrangement for Cinelerra / Composer / Viewer:}% \label{sub:shuttle_key_default_cinelerra} -The following is the default setting for the ShuttlePROv2 and ShuttleXpress: +The following is the default setting for the ShuttlePROv2 and ShuttleXpress (table~\ref{tab:shuttleprov2} and table 2): -\vspace{1ex} \textbf{ShuttlePROv2:} - -\begin{figure}[t] +\begin{sidewaystable} + \caption{ShuttlePROv2 key default arrangement for Cinelerra / Composer / Viewer} + \label{tab:shuttleprov2} \centering - \includegraphics[width=1.0\linewidth]{images/shuttle-prov2.png} -\end{figure} + \begin{tabular}{c c c c c c c c} + \toprule + & K1 & & K2 & & K3 & & K4 \\ + & Label & & Future use & & Future use & & Clip \\ + & & & Splice (viewer) & & Copy & & Overwrite (viewer) \\ + \midrule + + \end{tabular} +\end{sidewaystable} -\vspace{1ex} \textbf{ShuttleXpress:} -\begin{figure}[b] - \centering - \includegraphics[width=1.0\linewidth]{images/xpress.png} -\end{figure}