{* * $Revision: 17614 $ * Read this before changing templates! http://codex.gallery2.org/Gallery2:Editing_Templates *}
{g->text text="FFMPEG is a graphics toolkit that can be used to process video files that you upload to Gallery. You must install the FFMPEG binary on your server, then enter the path to it in the text box below. If you're on a Unix machine, don't forget to make the binary executable (chmod 755 ffmpeg in the right directory should do it)"}
{if !$AdminFfmpeg.canExec}{g->text text="The exec() function is disabled in your PHP by the disabled_functions parameter in php.ini. This module cannot be used until that setting is changed."}
{else} {if $AdminFfmpeg.canWatermark}{g->text text="This module can automatically watermark the thumbnails for movies to help distinguish them from photos."} {if $AdminFfmpeg.canWatermark} {g->text text="See sample at right."} {/if}
{if $AdminFfmpeg.canWatermark}{g->text text="Binary Name"} | {g->text text="Pass/Fail"} |
---|---|
{$test.name} |
{if ($test.success)}
{g->text text="Passed"}
{else}
{g->text text="Failed"}
{if ! empty($test.message)}
{g->text text="Error messages:"}
{foreach from=$test.message item=line} {$line}{/foreach} {/if} {/if} |
{g->text text="The FFMPEG module can decode files of the following MIME types"}
{foreach from=$AdminFfmpeg.mimeTypes item=mimeType}
{$mimeType}
{/foreach}
{g->text text="The FFMPEG module can encode files to the following MIME types"}
{foreach from=$AdminFfmpeg.mimeTypesEncoder item=mimeType} {$mimeType} {if isset($AdminFfmpeg.encodeWarnings.$mimeType)}
{foreach from=$AdminFfmpeg.version item=ver}
{$ver}
{/foreach}
{g->text text="We gathered this debug output while testing your Ffmpeg installation. If you read through this carefully you may discover the reason why Ffmpeg failed the tests."}