<div id="main-content" class="wiki-content group">
<h1 id="ConfigurareHabilitarThumbnails-Índice">Contents</h1>
<p>
 
<style type='text/css'>/*<![CDATA[*/
div.rbtoc1412695410337 {
padding: 0px;
}
div.rbtoc1412695410337 ul {
list-style: disc;
margin-left: 0px;
}
div.rbtoc1412695410337 li {
margin-left: 0px;
padding-left: 0px;
}
/*]]>*/
</style>
<div class='toc-macro rbtoc1412695410337'>
<ul class='toc-indentation'>
<li><a href='#ConfigurareHabilitarThumbnails-Índice'>Contents</a></li>
<li><a href='#ConfigurareHabilitarThumbnails-SobreThumbnails'>About
Thumbnails</a></li>
<li><a href='#ConfigurareHabilitarThumbnails-Objetivo'>Objective</a></li>
<li><a href='#ConfigurareHabilitarThumbnails-InstalandooFFmpeg'>Installing
FFmpeg</a></li>
<li><a href='#ConfigurareHabilitarThumbnails-Configuração'>Configuration</a></li>
<li><a
href='#ConfigurareHabilitarThumbnails-HabilitandoThumbnails'>Enabling
Thumbnails</a></li>
</ul>
</div>
</p>
<h1 id="ConfigurareHabilitarThumbnails-SobreThumbnails">About
Thumbnails</h1>
<p>
<span style="color: rgb(0, 0, 0);">Thumbnails are scaled-down
versions of documents, images, or videos that are displayed to make
the process of viewing or recognizing content easier.</span>
</p>
<h1 id="ConfigurareHabilitarThumbnails-Objetivo">Objective</h1>
<p>The objective of this guide is to enable the generation of
thumbnails in TOTVS Fluig Platform using FFmpeg.</p>
<h1 id="ConfigurareHabilitarThumbnails-InstalandooFFmpeg">Installing
FFmpeg</h1>
<p>FFmpeg must be installed in the server so that TOTVS Fluig Platform can
generate thumbnails.</p>
<p>
You can download FFmpeg on the project <a href="http://ffmpeg.org/"
class="external-link" rel="nofollow">official website</a>.
</p>
<div class="aui-message hint shadowed information-macro">
<p class="title">FFmpeg Version</p>
<span class="aui-icon icon-hint">Icon</span>
<div class="message-content">
<p>
TOTVS Fluig Platform requires version <em>2.1 stable</em> to correctly generate the
thumbnails, compiled with the following dependences:
</p>
<ul>
<li>Yasm</li>
<li>x264</li>
<li>libfdk_aac</li>
<li>libmp3lame</li>
<li>libopus</li>
<li>libogg</li>
<li>libvorbis</li>
<li>libvpx</li>
</ul>
</div>
</div>
<h1 id="ConfigurareHabilitarThumbnails-Configuração">Configuration</h1>
<p>Fluig<p>TOTVS Fluig Platform generates thumbnails for some types of images and videos
in document and gallery views.</p>
<p>
<span style="font-size: 10.0pt; line-height: 13.0pt;">The path
for the FFmpeg executable must be configured at <strong><em>Control
Panel > WCM > Thumbnail Configuration</em></strong>
</span>
</p>
<p>
<span style="font-size: 10.0pt; line-height: 13.0pt;"><img
class="confluence-embedded-image confluence-content-image-border image-center"
height="265" width="500" src="http://tdn.totvs.com/download/attachments/113804810/119148269.pngimage2014-10-2%2010-36-6.png?version=2&modificationDate=1415126399000&api=v2"
data-image-src="http://tdn.totvs.com/download/attachments/113804810/119148269.pngimage2014-10-2%2010-36-6.png?version=2&modificationDate=1415126399000&api=v2"></span>
</p>
<p style="text-align: center;">
<span style="font-size: 10.0pt; line-height: 13.0pt;"><strong>Figure
1: Thumbnail Configuration on the Control Panel > WCM.</strong><br /> <br />
<br /></span>
</p>
<p>
<span style="font-size: 10.0pt; line-height: 13.0pt;"><br /></span><span
style="font-size: 10.0pt; line-height: 13.0pt;">Enter the full
path for the FFmpeg executable previously installed:</span>
</p>
<p>
<span style="font-size: 10.0pt; line-height: 13.0pt;"><strong>Linux
Server:</strong> <em><ffmpeg>/bin/ffmpeg</em> .</span>
</p>
<p>
<strong>Windows Server: </strong><em><ffmpeg>/bin/ffmpeg.exe </em>.
</p>
<p>
<span style="font-size: 10.0pt; line-height: 13.0pt;"><img
class="confluence-embedded-image confluence-content-image-border image-center"
height="260" width="500" src="attachments/113804810/119148267.png"
data-image-src="attachments/113804810/119148267.png"></span>
</p>
<p style="text-align: center;">
<span style="font-size: 10.0pt; line-height: 13.0pt;"><strong
style="text-align: center;">Figure 2: Path to FFmpeg
executable for Linux servers.</strong></span>
</p>
<p style="text-align: center;">
<span style="font-size: 10.0pt; line-height: 13.0pt;"><strong
style="text-align: center;"><br /></strong></span>
</p>
<p style="text-align: center;">
<span style="font-size: 10.0pt; line-height: 13.0pt;"><strong
style="text-align: center;"><img
class="confluence-embedded-image" width="500"
src="attachments/113804810/142934975.png"
data-image-src="attachments/113804810/142934975.png"><br /></strong></span>
</p>
<p style="text-align: center;">
<span style="font-size: 10.0pt; line-height: 13.0pt;"><strong
style="text-align: center;"><strong
style="text-align: center;">Figure 3: Path to ffmpeg
executable for Linux servers.</strong></strong></span>
</p>
<p>
<span style="font-size: 10.0pt; line-height: 13.0pt;"><br /></span>
</p>
<p>
<span style="font-size: 10.0pt; line-height: 13.0pt;"> </span>
</p>
<h1 id="ConfigurareHabilitarThumbnails-HabilitandoThumbnails">Enabling
Thumbnails</h1>
<p>
<span style="font-size: 10.0pt; line-height: 13.0pt;"> </span>
</p>
<p>
The generation of thumbnails is enabled by company at <em><strong>Control
Panel > WCM > Companies</strong></em>
</p>
<p>
Select the desired company, click on Edit, and then select the
option <em><strong><span
style="color: rgb(43, 43, 43);">Enable thumbnail generation</span></strong></em>
</p>
<p>
<span style="font-size: 10.0pt; line-height: 13.0pt;"><br /></span>
</p>
<p> </p>
</div> |