From 4047a13fc85547e9021317e650c100d21fef2063 Mon Sep 17 00:00:00 2001 From: Good Guy Date: Fri, 16 Dec 2022 15:26:43 -0700 Subject: [PATCH] Andrea incorporated Igor Proxy warning + bdwrite appimage --- parts/Advanced.tex | 2 +- parts/Developer.tex | 14 ++++++++++++-- parts/Faq.tex | 2 +- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/parts/Advanced.tex b/parts/Advanced.tex index be32f91..d04bd8a 100644 --- a/parts/Advanced.tex +++ b/parts/Advanced.tex @@ -11,7 +11,7 @@ When we want to render the project, remember to remove the proxy to return to th To use the proxy in a classic way, i.e. as a scaling, select \texttt{Settings $\rightarrow$ Proxy settings} and change the Scale factor from Original size to your downsized choice. You can choose ffmpeg as the File Format \index{file format} and a choice of various codecs associated with that. A good choice is the default of mpeg which can usually be quite fast. In addition, to modify values for that codec, click on the wrench icon. -We can use the \textit{Proxy 1:1} in two ways: setting "1" as \textit{Scale factor}, or check the \textit{Rescaled to project size (FFMPEG only)} button. In this mode we don't have scaling, i.e. downsize, but only variations of the codec parameters that allow to maintain the original resolution. The advantage is that you can use filters that require the original size to work well. Please note that if we set any scaling, by activating the \textit{Rescaled to project size (FFMPEG only)} button we automatically lose scaling and enter Proxy 1:1 mode. +We can use the \textit{Proxy 1:1} in two ways: setting "1" as \textit{Scale factor}, or check the \textit{Rescaled to project size (FFMPEG only)} button. In this mode we don't have scaling, i.e. downsize, but only variations of the codec parameters that allow to maintain the original resolution. The advantage is that you can use filters that require the original size to work well. Please note that if we set any scaling, by activating the \textit{Rescaled to project size (FFMPEG only)} button we automatically lose scaling and enter Proxy 1:1 mode. The size of your video is scaled down of the \textit{Scale factor} but, then, it is rescaled up to the project format. For example, your format project is $1920x1080$ and Proxy's Scale factor is $\frac{1}{4}$, then your videos will be scaled down to $480x270$ and then up-scaled to $1920x1080$. For an old computer, this option is not recommended. When you have completed your choices, just click OK, and then the video tracks will be rendered. This may take some time, but previous proxy renders will be reused. diff --git a/parts/Developer.tex b/parts/Developer.tex index 4b4aed4..43a43cd 100644 --- a/parts/Developer.tex +++ b/parts/Developer.tex @@ -660,7 +660,7 @@ So why use a Profiler? Because it is the ``ls'' for executable functions!! \section{Working on AppImage} \label{sec:working_on_appimage} -You can work on the appimage file to make changes and fix errors, or you can create a new appimage from scratch containing customizations. For example, you can add new rendering presets; update the Context-Help; change libraries that are no longer supported by the current distro; or make other modifications. +You can work on the appimage file to make changes and fix errors, or you can create a new appimage from scratch containing customizations. For example, you can add new rendering presets, update the Context-Help, change libraries that are no longer supported by the current distro, or make other modifications. \subsection{Managing AppImage} \label{sub:managing_appimage} @@ -677,7 +677,7 @@ To work on the appimage, first unpack it using the command\protect\footnote{Exam /{path to appimage}/CinGG-yyyymmdd.AppImage --appimage-extract \end{lstlisting} -You will now have a \texttt{squashfs-root} folder containing \texttt{/usr/bin/} as well as other files and directories such as \texttt{/usr/lib} and \texttt{/usr/share}. \texttt{Bin} is the folder similar to the one installed with \CGG{} and contains the files that you can work on. Now it is possible to make changes like adding a custom preset in \texttt{/ffmpeg/video} or replacing a library that no longer works with a more recent version by working in \texttt{/squashfs-root/usr/lib}. +You will now have a \texttt{squashfs-root} folder in your current directory containing \texttt{/usr/bin/} as well as other files and directories such as \texttt{/usr/lib} and \texttt{/usr/share}. \texttt{Bin} is the folder similar to the one installed with \CGG{} and contains the files that you can work on. Now it is possible to make changes like adding a custom preset in \texttt{/ffmpeg/video} or replacing a library that no longer works with a more recent version by working in \texttt{/squashfs-root/usr/lib}. To start the unpacked program from the bin folder use the command: @@ -708,6 +708,16 @@ Alternatively, download the \texttt{appimagetool} version from \url{https://gith Now there will be an appimage called \textit{CinGG-yyyymmdd.AppImage} with the changes that were made. +NOTE: for the \textbf{bdwrite} program which is used to create the udfs image to burn Blu-ray +media (or any other standalone program), you will find it in the squashfs-root/usr/bin +subdirectory. You only need to do the initial unpacking extract step and then just copy +bdwrite and the entire squashfs-root/usr/lib directory to a convenient permanent place for +usage. Then when running bdwrite, you will have to first export the libary path by typing +this command in the window first: +\begin{lstlisting}[numbers=none] +export LD_LIBRARY_PATH=/{put your copied usr/lib path here}:$LD_LIBRARY_PATH +\end{lstlisting} + \subsection{Build the CinGG.AppImage from scratch} \label{sub:built_appimage_scratch} \index{appimage!creating} diff --git a/parts/Faq.tex b/parts/Faq.tex index 8301f8c..0f14be6 100644 --- a/parts/Faq.tex +++ b/parts/Faq.tex @@ -6,7 +6,7 @@ Some workarounds for issues and a few known problems that have not yet been fixe \paragraph{Workaround for access to modifiable text files when using AppImage.} This includes such files as FFmpeg video or audio files, fonts that you want to add for usage in the Title -plugin, icons that you wish to modify, and any other text file for customization. +plugin, icons that you wish to modify, standalone programs, and any other text file for customization. To get access, first extract the files from the AppImage, find the files to add, edit, or modify, and then run the extracted binary following the steps shown here. \begin{itemize} \item /path-to-appimage/CinGG-20220131-x86\_64.AppImage -{}-appimage-extract -- 2.26.2