--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/build/html/pyams_media.html Sun Jan 14 11:48:51 2018 +0100
@@ -0,0 +1,1300 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>pyams_media package — PyAMS User Guide 0.1.0 documentation</title>
+ <link rel="stylesheet" href="_static/pyramid.css" type="text/css" />
+ <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
+ <script type="text/javascript">
+ var DOCUMENTATION_OPTIONS = {
+ URL_ROOT: './',
+ VERSION: '0.1.0',
+ COLLAPSE_INDEX: false,
+ FILE_SUFFIX: '.html',
+ HAS_SOURCE: true,
+ SOURCELINK_SUFFIX: '.txt'
+ };
+ </script>
+ <script type="text/javascript" src="_static/jquery.js"></script>
+ <script type="text/javascript" src="_static/underscore.js"></script>
+ <script type="text/javascript" src="_static/doctools.js"></script>
+ <link rel="index" title="Index" href="genindex.html" />
+ <link rel="search" title="Search" href="search.html" />
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Neuton&subset=latin" type="text/css" media="screen" charset="utf-8" />
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nobile:regular,italic,bold,bolditalic&subset=latin" type="text/css" media="screen" charset="utf-8" />
+<!--[if lte IE 6]>
+<link rel="stylesheet" href="_static/ie6.css" type="text/css" media="screen" charset="utf-8" />
+<![endif]-->
+
+ </head>
+ <body>
+
+ <div class="related" role="navigation" aria-label="related navigation">
+ <h3>Navigation</h3>
+ <ul>
+ <li class="right" style="margin-right: 10px">
+ <a href="genindex.html" title="General Index"
+ accesskey="I">index</a></li>
+ <li class="right" >
+ <a href="py-modindex.html" title="Python Module Index"
+ >modules</a> |</li>
+ <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li>
+ </ul>
+ </div>
+
+ <div class="document">
+ <div class="documentwrapper">
+ <div class="bodywrapper">
+ <div class="body" role="main">
+
+ <div class="section" id="pyams-media-package">
+<h1>pyams_media package<a class="headerlink" href="#pyams-media-package" title="Permalink to this headline">¶</a></h1>
+<div class="section" id="subpackages">
+<h2>Subpackages<a class="headerlink" href="#subpackages" title="Permalink to this headline">¶</a></h2>
+<div class="toctree-wrapper compound">
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="pyams_media.interfaces.html">pyams_media.interfaces package</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="pyams_media.interfaces.html#module-pyams_media.interfaces">Module contents</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="pyams_media.skin.html">pyams_media.skin package</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="pyams_media.skin.html#module-pyams_media.skin">Module contents</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="pyams_media.tests.html">pyams_media.tests package</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="pyams_media.tests.html#submodules">Submodules</a></li>
+<li class="toctree-l2"><a class="reference internal" href="pyams_media.tests.html#module-pyams_media.tests.test_utilsdocs">pyams_media.tests.test_utilsdocs module</a></li>
+<li class="toctree-l2"><a class="reference internal" href="pyams_media.tests.html#module-pyams_media.tests.test_utilsdocstrings">pyams_media.tests.test_utilsdocstrings module</a></li>
+<li class="toctree-l2"><a class="reference internal" href="pyams_media.tests.html#module-pyams_media.tests">Module contents</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="pyams_media.zmi.html">pyams_media.zmi package</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="pyams_media.zmi.html#submodules">Submodules</a></li>
+<li class="toctree-l2"><a class="reference internal" href="pyams_media.zmi.html#module-pyams_media.zmi.audio">pyams_media.zmi.audio module</a></li>
+<li class="toctree-l2"><a class="reference internal" href="pyams_media.zmi.html#module-pyams_media.zmi.interfaces">pyams_media.zmi.interfaces module</a></li>
+<li class="toctree-l2"><a class="reference internal" href="pyams_media.zmi.html#module-pyams_media.zmi.media">pyams_media.zmi.media module</a></li>
+<li class="toctree-l2"><a class="reference internal" href="pyams_media.zmi.html#module-pyams_media.zmi.video">pyams_media.zmi.video module</a></li>
+<li class="toctree-l2"><a class="reference internal" href="pyams_media.zmi.html#module-pyams_media.zmi">Module contents</a></li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<div class="section" id="submodules">
+<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2>
+</div>
+<div class="section" id="module-pyams_media.audio">
+<span id="pyams-media-audio-module"></span><h2>pyams_media.audio module<a class="headerlink" href="#module-pyams_media.audio" title="Permalink to this headline">¶</a></h2>
+<dl class="class">
+<dt id="pyams_media.audio.AudioTypeAdapter">
+<em class="property">class </em><code class="descclassname">pyams_media.audio.</code><code class="descname">AudioTypeAdapter</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.audio.AudioTypeAdapter" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextAdapter" title="pyams_utils.adapter.ContextAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextAdapter</span></code></a></p>
+<p>Default audio content type adapter</p>
+<dl class="attribute">
+<dt id="pyams_media.audio.AudioTypeAdapter.audio_type">
+<code class="descname">audio_type</code><a class="headerlink" href="#pyams_media.audio.AudioTypeAdapter.audio_type" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.audio.AudioTypeExtension">
+<em class="property">class </em><code class="descclassname">pyams_media.audio.</code><code class="descname">AudioTypeExtension</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.audio.AudioTypeExtension" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextRequestViewAdapter" title="pyams_utils.adapter.ContextRequestViewAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextRequestViewAdapter</span></code></a></p>
+<p>extension:audio_type(media) TALES extension</p>
+<dl class="method">
+<dt id="pyams_media.audio.AudioTypeExtension.render">
+<code class="descname">render</code><span class="sig-paren">(</span><em>context=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.audio.AudioTypeExtension.render" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+</div>
+<div class="section" id="module-pyams_media.converter">
+<span id="pyams-media-converter-module"></span><h2>pyams_media.converter module<a class="headerlink" href="#module-pyams_media.converter" title="Permalink to this headline">¶</a></h2>
+<dl class="class">
+<dt id="pyams_media.converter.AudioConvertersVocabulary">
+<em class="property">class </em><code class="descclassname">pyams_media.converter.</code><code class="descname">AudioConvertersVocabulary</code><span class="sig-paren">(</span><em>context=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.converter.AudioConvertersVocabulary" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">zope.schema.vocabulary.SimpleVocabulary</span></code></p>
+<p>Audio converters vocabulary</p>
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.converter.BaseAudioConverter">
+<em class="property">class </em><code class="descclassname">pyams_media.converter.</code><code class="descname">BaseAudioConverter</code><a class="headerlink" href="#pyams_media.converter.BaseAudioConverter" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="#pyams_media.converter.BaseMediaConverter" title="pyams_media.converter.BaseMediaConverter"><code class="xref py py-class docutils literal"><span class="pre">pyams_media.converter.BaseMediaConverter</span></code></a></p>
+<p>Base media converter</p>
+<dl class="method">
+<dt id="pyams_media.converter.BaseAudioConverter.add_common_filters">
+<code class="descname">add_common_filters</code><span class="sig-paren">(</span><em>document</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.converter.BaseAudioConverter.add_common_filters" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.converter.BaseMediaConverter">
+<em class="property">class </em><code class="descclassname">pyams_media.converter.</code><code class="descname">BaseMediaConverter</code><a class="headerlink" href="#pyams_media.converter.BaseMediaConverter" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
+<p>Base media converter</p>
+<dl class="method">
+<dt id="pyams_media.converter.BaseMediaConverter.add_common_filters">
+<code class="descname">add_common_filters</code><span class="sig-paren">(</span><em>document</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.converter.BaseMediaConverter.add_common_filters" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.converter.BaseMediaConverter.add_filters">
+<code class="descname">add_filters</code><span class="sig-paren">(</span><em>document</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.converter.BaseMediaConverter.add_filters" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.converter.BaseMediaConverter.convert">
+<code class="descname">convert</code><span class="sig-paren">(</span><em>media</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.converter.BaseMediaConverter.convert" title="Permalink to this definition">¶</a></dt>
+<dd><p>Convert media</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.converter.BaseMediaConverter.format">
+<code class="descname">format</code><em class="property"> = None</em><a class="headerlink" href="#pyams_media.converter.BaseMediaConverter.format" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.converter.BaseMediaConverter.get_conversion_loop">
+<code class="descname">get_conversion_loop</code><span class="sig-paren">(</span><em>document</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.converter.BaseMediaConverter.get_conversion_loop" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.converter.BaseMediaConverter.require_input_file">
+<code class="descname">require_input_file</code><span class="sig-paren">(</span><em>media</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.converter.BaseMediaConverter.require_input_file" title="Permalink to this definition">¶</a></dt>
+<dd><p>Check if a physical file is required to handle conversion</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.converter.BaseMediaConverter.require_temp_file">
+<code class="descname">require_temp_file</code><em class="property"> = False</em><a class="headerlink" href="#pyams_media.converter.BaseMediaConverter.require_temp_file" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.converter.BaseVideoConverter">
+<em class="property">class </em><code class="descclassname">pyams_media.converter.</code><code class="descname">BaseVideoConverter</code><a class="headerlink" href="#pyams_media.converter.BaseVideoConverter" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="#pyams_media.converter.BaseMediaConverter" title="pyams_media.converter.BaseMediaConverter"><code class="xref py py-class docutils literal"><span class="pre">pyams_media.converter.BaseMediaConverter</span></code></a></p>
+<p>Base video converter</p>
+<dl class="method">
+<dt id="pyams_media.converter.BaseVideoConverter.add_filters">
+<code class="descname">add_filters</code><span class="sig-paren">(</span><em>document</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.converter.BaseVideoConverter.add_filters" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.converter.BaseVideoConverter.get_conversion_loop">
+<code class="descname">get_conversion_loop</code><span class="sig-paren">(</span><em>document</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.converter.BaseVideoConverter.get_conversion_loop" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.converter.FlvVideoConverter">
+<em class="property">class </em><code class="descclassname">pyams_media.converter.</code><code class="descname">FlvVideoConverter</code><a class="headerlink" href="#pyams_media.converter.FlvVideoConverter" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="#pyams_media.converter.BaseVideoConverter" title="pyams_media.converter.BaseVideoConverter"><code class="xref py py-class docutils literal"><span class="pre">pyams_media.converter.BaseVideoConverter</span></code></a></p>
+<p>Default FLV media converter</p>
+<dl class="method">
+<dt id="pyams_media.converter.FlvVideoConverter.add_common_filters">
+<code class="descname">add_common_filters</code><span class="sig-paren">(</span><em>document</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.converter.FlvVideoConverter.add_common_filters" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.converter.FlvVideoConverter.format">
+<code class="descname">format</code><em class="property"> = 'flv'</em><a class="headerlink" href="#pyams_media.converter.FlvVideoConverter.format" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.converter.FlvVideoConverter.label">
+<code class="descname">label</code><em class="property"> = 'FLV (Flash Video) video converter'</em><a class="headerlink" href="#pyams_media.converter.FlvVideoConverter.label" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.converter.Mp3AudioConverter">
+<em class="property">class </em><code class="descclassname">pyams_media.converter.</code><code class="descname">Mp3AudioConverter</code><a class="headerlink" href="#pyams_media.converter.Mp3AudioConverter" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="#pyams_media.converter.BaseAudioConverter" title="pyams_media.converter.BaseAudioConverter"><code class="xref py py-class docutils literal"><span class="pre">pyams_media.converter.BaseAudioConverter</span></code></a></p>
+<p>Default MP3 media converter</p>
+<dl class="attribute">
+<dt id="pyams_media.converter.Mp3AudioConverter.format">
+<code class="descname">format</code><em class="property"> = 'mp3'</em><a class="headerlink" href="#pyams_media.converter.Mp3AudioConverter.format" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.converter.Mp3AudioConverter.label">
+<code class="descname">label</code><em class="property"> = 'MP3 audio converter'</em><a class="headerlink" href="#pyams_media.converter.Mp3AudioConverter.label" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.converter.Mp4VideoConverter">
+<em class="property">class </em><code class="descclassname">pyams_media.converter.</code><code class="descname">Mp4VideoConverter</code><a class="headerlink" href="#pyams_media.converter.Mp4VideoConverter" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="#pyams_media.converter.BaseVideoConverter" title="pyams_media.converter.BaseVideoConverter"><code class="xref py py-class docutils literal"><span class="pre">pyams_media.converter.BaseVideoConverter</span></code></a></p>
+<p>Default MP4 media converter</p>
+<dl class="method">
+<dt id="pyams_media.converter.Mp4VideoConverter.add_common_filters">
+<code class="descname">add_common_filters</code><span class="sig-paren">(</span><em>document</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.converter.Mp4VideoConverter.add_common_filters" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.converter.Mp4VideoConverter.format">
+<code class="descname">format</code><em class="property"> = 'mp4'</em><a class="headerlink" href="#pyams_media.converter.Mp4VideoConverter.format" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.converter.Mp4VideoConverter.label">
+<code class="descname">label</code><em class="property"> = 'MP4 (HTML5) video converter'</em><a class="headerlink" href="#pyams_media.converter.Mp4VideoConverter.label" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.converter.Mp4VideoConverter.require_temp_file">
+<code class="descname">require_temp_file</code><em class="property"> = True</em><a class="headerlink" href="#pyams_media.converter.Mp4VideoConverter.require_temp_file" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.converter.OggAudioConverter">
+<em class="property">class </em><code class="descclassname">pyams_media.converter.</code><code class="descname">OggAudioConverter</code><a class="headerlink" href="#pyams_media.converter.OggAudioConverter" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="#pyams_media.converter.BaseAudioConverter" title="pyams_media.converter.BaseAudioConverter"><code class="xref py py-class docutils literal"><span class="pre">pyams_media.converter.BaseAudioConverter</span></code></a></p>
+<p>Default OGG audio converter</p>
+<dl class="attribute">
+<dt id="pyams_media.converter.OggAudioConverter.format">
+<code class="descname">format</code><em class="property"> = 'ogg'</em><a class="headerlink" href="#pyams_media.converter.OggAudioConverter.format" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.converter.OggAudioConverter.label">
+<code class="descname">label</code><em class="property"> = 'OGG audio converter'</em><a class="headerlink" href="#pyams_media.converter.OggAudioConverter.label" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.converter.OggVideoConverter">
+<em class="property">class </em><code class="descclassname">pyams_media.converter.</code><code class="descname">OggVideoConverter</code><a class="headerlink" href="#pyams_media.converter.OggVideoConverter" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="#pyams_media.converter.BaseVideoConverter" title="pyams_media.converter.BaseVideoConverter"><code class="xref py py-class docutils literal"><span class="pre">pyams_media.converter.BaseVideoConverter</span></code></a></p>
+<p>OGG media converter</p>
+<dl class="attribute">
+<dt id="pyams_media.converter.OggVideoConverter.format">
+<code class="descname">format</code><em class="property"> = 'ogg'</em><a class="headerlink" href="#pyams_media.converter.OggVideoConverter.format" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.converter.OggVideoConverter.label">
+<code class="descname">label</code><em class="property"> = 'OGG video converter'</em><a class="headerlink" href="#pyams_media.converter.OggVideoConverter.label" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.converter.VideoConvertersVocabulary">
+<em class="property">class </em><code class="descclassname">pyams_media.converter.</code><code class="descname">VideoConvertersVocabulary</code><span class="sig-paren">(</span><em>context=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.converter.VideoConvertersVocabulary" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">zope.schema.vocabulary.SimpleVocabulary</span></code></p>
+<p>Video converters vocabulary</p>
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.converter.WavAudioConverter">
+<em class="property">class </em><code class="descclassname">pyams_media.converter.</code><code class="descname">WavAudioConverter</code><a class="headerlink" href="#pyams_media.converter.WavAudioConverter" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="#pyams_media.converter.BaseAudioConverter" title="pyams_media.converter.BaseAudioConverter"><code class="xref py py-class docutils literal"><span class="pre">pyams_media.converter.BaseAudioConverter</span></code></a></p>
+<p>Default WAV media converter</p>
+<dl class="attribute">
+<dt id="pyams_media.converter.WavAudioConverter.format">
+<code class="descname">format</code><em class="property"> = 'wav'</em><a class="headerlink" href="#pyams_media.converter.WavAudioConverter.format" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.converter.WavAudioConverter.label">
+<code class="descname">label</code><em class="property"> = 'WAV audio converter'</em><a class="headerlink" href="#pyams_media.converter.WavAudioConverter.label" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.converter.WebmVideoConverter">
+<em class="property">class </em><code class="descclassname">pyams_media.converter.</code><code class="descname">WebmVideoConverter</code><a class="headerlink" href="#pyams_media.converter.WebmVideoConverter" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="#pyams_media.converter.BaseVideoConverter" title="pyams_media.converter.BaseVideoConverter"><code class="xref py py-class docutils literal"><span class="pre">pyams_media.converter.BaseVideoConverter</span></code></a></p>
+<p>WebM Media converter</p>
+<dl class="method">
+<dt id="pyams_media.converter.WebmVideoConverter.add_common_filters">
+<code class="descname">add_common_filters</code><span class="sig-paren">(</span><em>document</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.converter.WebmVideoConverter.add_common_filters" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.converter.WebmVideoConverter.format">
+<code class="descname">format</code><em class="property"> = 'webm'</em><a class="headerlink" href="#pyams_media.converter.WebmVideoConverter.format" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.converter.WebmVideoConverter.label">
+<code class="descname">label</code><em class="property"> = 'WebM video converter'</em><a class="headerlink" href="#pyams_media.converter.WebmVideoConverter.label" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.converter.WebmVideoConverter.require_temp_file">
+<code class="descname">require_temp_file</code><em class="property"> = True</em><a class="headerlink" href="#pyams_media.converter.WebmVideoConverter.require_temp_file" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+</div>
+<div class="section" id="module-pyams_media.ffbase">
+<span id="pyams-media-ffbase-module"></span><h2>pyams_media.ffbase module<a class="headerlink" href="#module-pyams_media.ffbase" title="Permalink to this headline">¶</a></h2>
+<dl class="class">
+<dt id="pyams_media.ffbase.FFmpeg">
+<em class="property">class </em><code class="descclassname">pyams_media.ffbase.</code><code class="descname">FFmpeg</code><span class="sig-paren">(</span><em>cmd='avconv'</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFmpeg" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
+<p>FFmpeg Wrapper</p>
+<dl class="method">
+<dt id="pyams_media.ffbase.FFmpeg.info">
+<code class="descname">info</code><span class="sig-paren">(</span><em>input</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFmpeg.info" title="Permalink to this definition">¶</a></dt>
+<dd><p>Retrieve file information parsing command output</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.ffbase.FFmpeg.re_audioline">
+<code class="descname">re_audioline</code><em class="property"> = re.compile('^\\s*Stream #(\\d+:\\d+?)\\(?([A-Za-z]*)\\)?: Audio: (.*?), (\\d+?) Hz, (.*?), (.*?), (\\d+?) kb\\/s$')</em><a class="headerlink" href="#pyams_media.ffbase.FFmpeg.re_audioline" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.ffbase.FFmpeg.re_infoline">
+<code class="descname">re_infoline</code><em class="property"> = re.compile('^\\s*Duration: (.*?), start: 0\\.000000, bitrate: (\\d+?) kb\\/s$')</em><a class="headerlink" href="#pyams_media.ffbase.FFmpeg.re_infoline" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.ffbase.FFmpeg.re_mainline">
+<code class="descname">re_mainline</code><em class="property"> = re.compile("^\\s*Input #(\\d+?), (.*?), from '(.*?)':$")</em><a class="headerlink" href="#pyams_media.ffbase.FFmpeg.re_mainline" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.ffbase.FFmpeg.re_videoline">
+<code class="descname">re_videoline</code><em class="property"> = re.compile('^\\s*Stream #(\\d+:\\d+?)\\(?([A-Za-z]*)\\)?: Video: (.*?), (.*?), (.*?), (.*?)$')</em><a class="headerlink" href="#pyams_media.ffbase.FFmpeg.re_videoline" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFmpeg.render">
+<code class="descname">render</code><span class="sig-paren">(</span><em>effectchain</em>, <em>output</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFmpeg.render" title="Permalink to this definition">¶</a></dt>
+<dd><p>Create a new file by chaining audio/video effects</p>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.ffbase.FFVideoEffect">
+<em class="property">class </em><code class="descclassname">pyams_media.ffbase.</code><code class="descname">FFVideoEffect</code><span class="sig-paren">(</span><em>inputfile=None</em>, <em>**args</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">pyams_media.ffbase.FFEffect</span></code></p>
+<p>video effect</p>
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.aspect">
+<code class="descname">aspect</code><span class="sig-paren">(</span><em>aspect=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.aspect" title="Permalink to this definition">¶</a></dt>
+<dd><p>set aspect ratio</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.bitrate">
+<code class="descname">bitrate</code><span class="sig-paren">(</span><em>b=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.bitrate" title="Permalink to this definition">¶</a></dt>
+<dd><p>set video bitrate</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.bitraterange">
+<code class="descname">bitraterange</code><span class="sig-paren">(</span><em>minrate=None</em>, <em>maxrate=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.bitraterange" title="Permalink to this definition">¶</a></dt>
+<dd><p>set min/max bitrate (bit/s)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.bitratetolerance">
+<code class="descname">bitratetolerance</code><span class="sig-paren">(</span><em>bt=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.bitratetolerance" title="Permalink to this definition">¶</a></dt>
+<dd><p>set bitrate tolerance</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.bufsize">
+<code class="descname">bufsize</code><span class="sig-paren">(</span><em>bufsize=4096</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.bufsize" title="Permalink to this definition">¶</a></dt>
+<dd><p>set buffer size (bits)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.crop">
+<code class="descname">crop</code><span class="sig-paren">(</span><em>top=0</em>, <em>bottom=0</em>, <em>left=0</em>, <em>right=0</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.crop" title="Permalink to this definition">¶</a></dt>
+<dd><p>set the crop size</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.intra">
+<code class="descname">intra</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.intra" title="Permalink to this definition">¶</a></dt>
+<dd><p>use only intra frames</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.lagrangefactor">
+<code class="descname">lagrangefactor</code><span class="sig-paren">(</span><em>lmin=None</em>, <em>lmax=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.lagrangefactor" title="Permalink to this definition">¶</a></dt>
+<dd><p>min/max lagrange factor</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.macroblock">
+<code class="descname">macroblock</code><span class="sig-paren">(</span><em>mblmin=None</em>, <em>mblmax=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.macroblock" title="Permalink to this definition">¶</a></dt>
+<dd><p>min/max macroblock scale</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.pad">
+<code class="descname">pad</code><span class="sig-paren">(</span><em>top=0</em>, <em>bottom=0</em>, <em>left=0</em>, <em>right=0</em>, <em>color='000000'</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.pad" title="Permalink to this definition">¶</a></dt>
+<dd><p>set the pad band size and color as hex value</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.passenc">
+<code class="descname">passenc</code><span class="sig-paren">(</span><em>p=1</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.passenc" title="Permalink to this definition">¶</a></dt>
+<dd><p>select pass number (1 or 2)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.picturesize">
+<code class="descname">picturesize</code><span class="sig-paren">(</span><em>gop=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.picturesize" title="Permalink to this definition">¶</a></dt>
+<dd><p>set of group pictures size</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.pixelformat">
+<code class="descname">pixelformat</code><span class="sig-paren">(</span><em>p=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.pixelformat" title="Permalink to this definition">¶</a></dt>
+<dd><p>set pixelformat</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.quantizerblur">
+<code class="descname">quantizerblur</code><span class="sig-paren">(</span><em>qblur=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.quantizerblur" title="Permalink to this definition">¶</a></dt>
+<dd><p>video quantizer scale blur</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.quantizercompression">
+<code class="descname">quantizercompression</code><span class="sig-paren">(</span><em>qcomp=0.5</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.quantizercompression" title="Permalink to this definition">¶</a></dt>
+<dd><p>video quantizer scale compression</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.quantizerrange">
+<code class="descname">quantizerrange</code><span class="sig-paren">(</span><em>qmin=None</em>, <em>qmax=None</em>, <em>qdiff=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.quantizerrange" title="Permalink to this definition">¶</a></dt>
+<dd><p>define min/max quantizer scale</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.quantizerscale">
+<code class="descname">quantizerscale</code><span class="sig-paren">(</span><em>qscale=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.quantizerscale" title="Permalink to this definition">¶</a></dt>
+<dd><p>Fixed quantizer scale</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.rate">
+<code class="descname">rate</code><span class="sig-paren">(</span><em>r=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.rate" title="Permalink to this definition">¶</a></dt>
+<dd><p>set frame rate</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.sameq">
+<code class="descname">sameq</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.sameq" title="Permalink to this definition">¶</a></dt>
+<dd><p>use same video quality as source</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.size">
+<code class="descname">size</code><span class="sig-paren">(</span><em>s=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.size" title="Permalink to this definition">¶</a></dt>
+<dd><p>set frame size</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_aspect">
+<code class="descname">unset_aspect</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_aspect" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_bitrate">
+<code class="descname">unset_bitrate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_bitrate" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_bitraterange">
+<code class="descname">unset_bitraterange</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_bitraterange" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_bitratetolerance">
+<code class="descname">unset_bitratetolerance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_bitratetolerance" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_bufsize">
+<code class="descname">unset_bufsize</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_bufsize" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_crop">
+<code class="descname">unset_crop</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_crop" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_intra">
+<code class="descname">unset_intra</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_intra" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_lagrangefactor">
+<code class="descname">unset_lagrangefactor</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_lagrangefactor" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_macroblock">
+<code class="descname">unset_macroblock</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_macroblock" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_pad">
+<code class="descname">unset_pad</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_pad" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_passenc">
+<code class="descname">unset_passenc</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_passenc" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_picturesize">
+<code class="descname">unset_picturesize</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_picturesize" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_pixelformat">
+<code class="descname">unset_pixelformat</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_pixelformat" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_quantizerblur">
+<code class="descname">unset_quantizerblur</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_quantizerblur" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_quantizercompression">
+<code class="descname">unset_quantizercompression</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_quantizercompression" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_quantizerrange">
+<code class="descname">unset_quantizerrange</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_quantizerrange" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_quantizerscale">
+<code class="descname">unset_quantizerscale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_quantizerscale" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_rate">
+<code class="descname">unset_rate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_rate" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_sameq">
+<code class="descname">unset_sameq</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_sameq" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_size">
+<code class="descname">unset_size</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_size" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_vcodec">
+<code class="descname">unset_vcodec</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_vcodec" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_vdthreshold">
+<code class="descname">unset_vdthreshold</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_vdthreshold" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_vframes">
+<code class="descname">unset_vframes</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_vframes" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.unset_vn">
+<code class="descname">unset_vn</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.unset_vn" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.vcodec">
+<code class="descname">vcodec</code><span class="sig-paren">(</span><em>vcodec='copy'</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.vcodec" title="Permalink to this definition">¶</a></dt>
+<dd><p>set video codec</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.vdthreshold">
+<code class="descname">vdthreshold</code><span class="sig-paren">(</span><em>vdt=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.vdthreshold" title="Permalink to this definition">¶</a></dt>
+<dd><p>discard threshold</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.vframes">
+<code class="descname">vframes</code><span class="sig-paren">(</span><em>vframes=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.vframes" title="Permalink to this definition">¶</a></dt>
+<dd><p>set number of video frames to record</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFVideoEffect.vn">
+<code class="descname">vn</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFVideoEffect.vn" title="Permalink to this definition">¶</a></dt>
+<dd><p>disable video recording</p>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.ffbase.FFAudioEffect">
+<em class="property">class </em><code class="descclassname">pyams_media.ffbase.</code><code class="descname">FFAudioEffect</code><span class="sig-paren">(</span><em>inputfile</em>, <em>**args</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFAudioEffect" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">pyams_media.ffbase.FFEffect</span></code></p>
+<p>Audio effect</p>
+<dl class="method">
+<dt id="pyams_media.ffbase.FFAudioEffect.acodec">
+<code class="descname">acodec</code><span class="sig-paren">(</span><em>acodec='copy'</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFAudioEffect.acodec" title="Permalink to this definition">¶</a></dt>
+<dd><p>select audio codec</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFAudioEffect.aframes">
+<code class="descname">aframes</code><span class="sig-paren">(</span><em>aframes=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFAudioEffect.aframes" title="Permalink to this definition">¶</a></dt>
+<dd><p>set number of audio frames to record</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFAudioEffect.audiobitrate">
+<code class="descname">audiobitrate</code><span class="sig-paren">(</span><em>ab=64</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFAudioEffect.audiobitrate" title="Permalink to this definition">¶</a></dt>
+<dd><p>set audio bitrate (kbit/s)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFAudioEffect.audiochannels">
+<code class="descname">audiochannels</code><span class="sig-paren">(</span><em>ac=1</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFAudioEffect.audiochannels" title="Permalink to this definition">¶</a></dt>
+<dd><p>set number of audio channels</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFAudioEffect.audiorecording">
+<code class="descname">audiorecording</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFAudioEffect.audiorecording" title="Permalink to this definition">¶</a></dt>
+<dd><p>disable audio recording</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFAudioEffect.audiosampling">
+<code class="descname">audiosampling</code><span class="sig-paren">(</span><em>ar=44100</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFAudioEffect.audiosampling" title="Permalink to this definition">¶</a></dt>
+<dd><p>set audio sampling frequency (Hz)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFAudioEffect.newaudio">
+<code class="descname">newaudio</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFAudioEffect.newaudio" title="Permalink to this definition">¶</a></dt>
+<dd><p>add new audio track</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFAudioEffect.unset_acodec">
+<code class="descname">unset_acodec</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFAudioEffect.unset_acodec" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFAudioEffect.unset_aframes">
+<code class="descname">unset_aframes</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFAudioEffect.unset_aframes" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFAudioEffect.unset_audiobitrate">
+<code class="descname">unset_audiobitrate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFAudioEffect.unset_audiobitrate" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFAudioEffect.unset_audiochannels">
+<code class="descname">unset_audiochannels</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFAudioEffect.unset_audiochannels" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFAudioEffect.unset_audiorecording">
+<code class="descname">unset_audiorecording</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFAudioEffect.unset_audiorecording" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFAudioEffect.unset_audiosampling">
+<code class="descname">unset_audiosampling</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFAudioEffect.unset_audiosampling" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffbase.FFAudioEffect.unset_newaudio">
+<code class="descname">unset_newaudio</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffbase.FFAudioEffect.unset_newaudio" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+</div>
+<div class="section" id="module-pyams_media.ffdocument">
+<span id="pyams-media-ffdocument-module"></span><h2>pyams_media.ffdocument module<a class="headerlink" href="#module-pyams_media.ffdocument" title="Permalink to this headline">¶</a></h2>
+<dl class="class">
+<dt id="pyams_media.ffdocument.FFDocument">
+<em class="property">class </em><code class="descclassname">pyams_media.ffdocument.</code><code class="descname">FFDocument</code><span class="sig-paren">(</span><em>file</em>, <em>metadata=None</em>, <em>effects={}</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffdocument.FFDocument" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="#pyams_media.ffbase.FFVideoEffect" title="pyams_media.ffbase.FFVideoEffect"><code class="xref py py-class docutils literal"><span class="pre">pyams_media.ffbase.FFVideoEffect</span></code></a>, <a class="reference internal" href="#pyams_media.ffbase.FFAudioEffect" title="pyams_media.ffbase.FFAudioEffect"><code class="xref py py-class docutils literal"><span class="pre">pyams_media.ffbase.FFAudioEffect</span></code></a></p>
+<p>audio/video document. A FFDocument describe a higer level action set
+combining several FF[Audio|Video]Effect methods.</p>
+<dl class="method">
+<dt id="pyams_media.ffdocument.FFDocument.chainto">
+<code class="descname">chainto</code><span class="sig-paren">(</span><em>ffdoc</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffdocument.FFDocument.chainto" title="Permalink to this definition">¶</a></dt>
+<dd><p>Prepare to append at the end of another movie clip</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffdocument.FFDocument.get_stream_info">
+<code class="descname">get_stream_info</code><span class="sig-paren">(</span><em>codec_type=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffdocument.FFDocument.get_stream_info" title="Permalink to this definition">¶</a></dt>
+<dd><p>Get metadata info for given stream</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffdocument.FFDocument.ltrim">
+<code class="descname">ltrim</code><span class="sig-paren">(</span><em>time</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffdocument.FFDocument.ltrim" title="Permalink to this definition">¶</a></dt>
+<dd><p>Trim leftmost side (from start) of the clip</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffdocument.FFDocument.resample">
+<code class="descname">resample</code><span class="sig-paren">(</span><em>width=0</em>, <em>height=0</em>, <em>vstream=0</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffdocument.FFDocument.resample" title="Permalink to this definition">¶</a></dt>
+<dd><p>Adjust video dimensions. If one dimension is specified, the re-sampling is proportional</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffdocument.FFDocument.resize">
+<code class="descname">resize</code><span class="sig-paren">(</span><em>width=0</em>, <em>height=0</em>, <em>vstream=0</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffdocument.FFDocument.resize" title="Permalink to this definition">¶</a></dt>
+<dd><p>Resize video dimensions. If one dimension is specified, the re-sampling is proportional</p>
+<p>Width and height can be pixel or % (not mixable)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffdocument.FFDocument.rtrim">
+<code class="descname">rtrim</code><span class="sig-paren">(</span><em>time</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffdocument.FFDocument.rtrim" title="Permalink to this definition">¶</a></dt>
+<dd><p>Trim rightmost side (from end) of the clip</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffdocument.FFDocument.split">
+<code class="descname">split</code><span class="sig-paren">(</span><em>time</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffdocument.FFDocument.split" title="Permalink to this definition">¶</a></dt>
+<dd><p>Return a tuple of FFDocument splitted at a specified time.</p>
+<p>Allowed formats: %, sec, hh:mm:ss.mmm</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.ffdocument.FFDocument.trim">
+<code class="descname">trim</code><span class="sig-paren">(</span><em>left</em>, <em>right</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffdocument.FFDocument.trim" title="Permalink to this definition">¶</a></dt>
+<dd><p>Left and right trim (actually calls ltrim and rtrim)</p>
+</dd></dl>
+
+</dd></dl>
+
+</div>
+<div class="section" id="module-pyams_media.ffexception">
+<span id="pyams-media-ffexception-module"></span><h2>pyams_media.ffexception module<a class="headerlink" href="#module-pyams_media.ffexception" title="Permalink to this headline">¶</a></h2>
+<dl class="exception">
+<dt id="pyams_media.ffexception.FFException">
+<em class="property">exception </em><code class="descclassname">pyams_media.ffexception.</code><code class="descname">FFException</code><span class="sig-paren">(</span><em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.ffexception.FFException" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">Exception</span></code></p>
+</dd></dl>
+
+</div>
+<div class="section" id="module-pyams_media.include">
+<span id="pyams-media-include-module"></span><h2>pyams_media.include module<a class="headerlink" href="#module-pyams_media.include" title="Permalink to this headline">¶</a></h2>
+<dl class="function">
+<dt id="pyams_media.include.handle_new_application">
+<code class="descclassname">pyams_media.include.</code><code class="descname">handle_new_application</code><span class="sig-paren">(</span><em>event</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.include.handle_new_application" title="Permalink to this definition">¶</a></dt>
+<dd><p>Start converter process when application created</p>
+</dd></dl>
+
+<dl class="function">
+<dt id="pyams_media.include.include_package">
+<code class="descclassname">pyams_media.include.</code><code class="descname">include_package</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.include.include_package" title="Permalink to this definition">¶</a></dt>
+<dd><p>Pyramid include</p>
+</dd></dl>
+
+</div>
+<div class="section" id="module-pyams_media.media">
+<span id="pyams-media-media-module"></span><h2>pyams_media.media module<a class="headerlink" href="#module-pyams_media.media" title="Permalink to this headline">¶</a></h2>
+<dl class="class">
+<dt id="pyams_media.media.ConversionsExtension">
+<em class="property">class </em><code class="descclassname">pyams_media.media.</code><code class="descname">ConversionsExtension</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.media.ConversionsExtension" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextRequestViewAdapter" title="pyams_utils.adapter.ContextRequestViewAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextRequestViewAdapter</span></code></a></p>
+<p>extension:conversions(media) TALES extension</p>
+<dl class="method">
+<dt id="pyams_media.media.ConversionsExtension.render">
+<code class="descname">render</code><span class="sig-paren">(</span><em>context=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.media.ConversionsExtension.render" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.media.MediaConversions">
+<em class="property">class </em><code class="descclassname">pyams_media.media.</code><code class="descname">MediaConversions</code><a class="headerlink" href="#pyams_media.media.MediaConversions" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">zope.container.folder.Folder</span></code></p>
+<p>Media conversions</p>
+<dl class="method">
+<dt id="pyams_media.media.MediaConversions.add_conversion">
+<code class="descname">add_conversion</code><span class="sig-paren">(</span><em>conversion</em>, <em>format</em>, <em>extension=None</em>, <em>width=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.media.MediaConversions.add_conversion" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="staticmethod">
+<dt id="pyams_media.media.MediaConversions.get_conversion_width">
+<em class="property">static </em><code class="descname">get_conversion_width</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.media.MediaConversions.get_conversion_width" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.media.MediaConversions.get_conversions">
+<code class="descname">get_conversions</code><span class="sig-paren">(</span><em>with_source=False</em>, <em>order=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.media.MediaConversions.get_conversions" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.media.MediaConversions.has_conversion">
+<code class="descname">has_conversion</code><span class="sig-paren">(</span><em>formats</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.media.MediaConversions.has_conversion" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="pyams_media.media.MediaConversionsFactory">
+<code class="descclassname">pyams_media.media.</code><code class="descname">MediaConversionsFactory</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.media.MediaConversionsFactory" title="Permalink to this definition">¶</a></dt>
+<dd><p>Media conversions factory</p>
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.media.MediaConversionsTraverser">
+<em class="property">class </em><code class="descclassname">pyams_media.media.</code><code class="descname">MediaConversionsTraverser</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.media.MediaConversionsTraverser" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextAdapter" title="pyams_utils.adapter.ContextAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextAdapter</span></code></a></p>
+<p>++conversions++ file traverser</p>
+<dl class="method">
+<dt id="pyams_media.media.MediaConversionsTraverser.traverse">
+<code class="descname">traverse</code><span class="sig-paren">(</span><em>name</em>, <em>furtherpath=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.media.MediaConversionsTraverser.traverse" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="pyams_media.media.MediaInfoFactory">
+<code class="descclassname">pyams_media.media.</code><code class="descname">MediaInfoFactory</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.media.MediaInfoFactory" title="Permalink to this definition">¶</a></dt>
+<dd><p>Media info adapter</p>
+</dd></dl>
+
+<dl class="function">
+<dt id="pyams_media.media.check_media_conversion">
+<code class="descclassname">pyams_media.media.</code><code class="descname">check_media_conversion</code><span class="sig-paren">(</span><em>status</em>, <em>media</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.media.check_media_conversion" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="function">
+<dt id="pyams_media.media.handle_added_media">
+<code class="descclassname">pyams_media.media.</code><code class="descname">handle_added_media</code><span class="sig-paren">(</span><em>event</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.media.handle_added_media" title="Permalink to this definition">¶</a></dt>
+<dd><p>Handle added media file</p>
+</dd></dl>
+
+</div>
+<div class="section" id="module-pyams_media.process">
+<span id="pyams-media-process-module"></span><h2>pyams_media.process module<a class="headerlink" href="#module-pyams_media.process" title="Permalink to this headline">¶</a></h2>
+<dl class="class">
+<dt id="pyams_media.process.ConversionProcess">
+<em class="property">class </em><code class="descclassname">pyams_media.process.</code><code class="descname">ConversionProcess</code><span class="sig-paren">(</span><em>settings</em>, <em>group=None</em>, <em>target=None</em>, <em>name=None</em>, <em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.process.ConversionProcess" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">multiprocessing.context.Process</span></code></p>
+<p>Media conversion process</p>
+<dl class="method">
+<dt id="pyams_media.process.ConversionProcess.run">
+<code class="descname">run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.process.ConversionProcess.run" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.process.ConversionThread">
+<em class="property">class </em><code class="descclassname">pyams_media.process.</code><code class="descname">ConversionThread</code><span class="sig-paren">(</span><em>process</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.process.ConversionThread" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">threading.Thread</span></code></p>
+<p>Media conversion thread</p>
+<dl class="method">
+<dt id="pyams_media.process.ConversionThread.run">
+<code class="descname">run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.process.ConversionThread.run" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.process.MediaConversionHandler">
+<em class="property">class </em><code class="descclassname">pyams_media.process.</code><code class="descname">MediaConversionHandler</code><a class="headerlink" href="#pyams_media.process.MediaConversionHandler" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
+<p>Media conversion handler</p>
+<dl class="method">
+<dt id="pyams_media.process.MediaConversionHandler.convert">
+<code class="descname">convert</code><span class="sig-paren">(</span><em>settings</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.process.MediaConversionHandler.convert" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.process.MediaConversionHandler.test">
+<code class="descname">test</code><span class="sig-paren">(</span><em>settings</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.process.MediaConversionHandler.test" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.process.MediaConversionMessageHandler">
+<em class="property">class </em><code class="descclassname">pyams_media.process.</code><code class="descname">MediaConversionMessageHandler</code><span class="sig-paren">(</span><em>process</em>, <em>stream</em>, <em>stop</em>, <em>handler=None</em>, <em>json_load=-1</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.process.MediaConversionMessageHandler" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="pyams_zmq.html#pyams_zmq.handler.ZMQMessageHandler" title="pyams_zmq.handler.ZMQMessageHandler"><code class="xref py py-class docutils literal"><span class="pre">pyams_zmq.handler.ZMQMessageHandler</span></code></a></p>
+<p>Media conversion message handler</p>
+<dl class="attribute">
+<dt id="pyams_media.process.MediaConversionMessageHandler.handler">
+<code class="descname">handler</code><a class="headerlink" href="#pyams_media.process.MediaConversionMessageHandler.handler" title="Permalink to this definition">¶</a></dt>
+<dd><p>alias of <a class="reference internal" href="#pyams_media.process.MediaConversionHandler" title="pyams_media.process.MediaConversionHandler"><code class="xref py py-class docutils literal"><span class="pre">MediaConversionHandler</span></code></a></p>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.process.MediaConversionProcess">
+<em class="property">class </em><code class="descclassname">pyams_media.process.</code><code class="descname">MediaConversionProcess</code><span class="sig-paren">(</span><em>zmq_address</em>, <em>handler</em>, <em>registry</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.process.MediaConversionProcess" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="pyams_zmq.html#pyams_zmq.process.ZMQProcess" title="pyams_zmq.process.ZMQProcess"><code class="xref py py-class docutils literal"><span class="pre">pyams_zmq.process.ZMQProcess</span></code></a></p>
+<p>Media conversion ZMQ process</p>
+</dd></dl>
+
+</div>
+<div class="section" id="module-pyams_media.site">
+<span id="pyams-media-site-module"></span><h2>pyams_media.site module<a class="headerlink" href="#module-pyams_media.site" title="Permalink to this headline">¶</a></h2>
+<dl class="class">
+<dt id="pyams_media.site.MediaConversionGenerationsChecker">
+<em class="property">class </em><code class="descclassname">pyams_media.site.</code><code class="descname">MediaConversionGenerationsChecker</code><a class="headerlink" href="#pyams_media.site.MediaConversionGenerationsChecker" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
+<p>Medias conversion utility generations checker</p>
+<dl class="method">
+<dt id="pyams_media.site.MediaConversionGenerationsChecker.evolve">
+<code class="descname">evolve</code><span class="sig-paren">(</span><em>site</em>, <em>current=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.site.MediaConversionGenerationsChecker.evolve" title="Permalink to this definition">¶</a></dt>
+<dd><p>Check for required utilities</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.site.MediaConversionGenerationsChecker.generation">
+<code class="descname">generation</code><em class="property"> = 1</em><a class="headerlink" href="#pyams_media.site.MediaConversionGenerationsChecker.generation" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="pyams_media.site.handle_new_local_site">
+<code class="descclassname">pyams_media.site.</code><code class="descname">handle_new_local_site</code><span class="sig-paren">(</span><em>event</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.site.handle_new_local_site" title="Permalink to this definition">¶</a></dt>
+<dd><p>Create a new conversion utility when a site is created</p>
+</dd></dl>
+
+</div>
+<div class="section" id="module-pyams_media.utility">
+<span id="pyams-media-utility-module"></span><h2>pyams_media.utility module<a class="headerlink" href="#module-pyams_media.utility" title="Permalink to this headline">¶</a></h2>
+<dl class="class">
+<dt id="pyams_media.utility.MediaConversionUtility">
+<em class="property">class </em><code class="descclassname">pyams_media.utility.</code><code class="descname">MediaConversionUtility</code><a class="headerlink" href="#pyams_media.utility.MediaConversionUtility" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">persistent.Persistent</span></code>, <code class="xref py py-class docutils literal"><span class="pre">zope.container.contained.Contained</span></code></p>
+<p>Medias conversions utility</p>
+<dl class="attribute">
+<dt id="pyams_media.utility.MediaConversionUtility.audio_bitrate">
+<code class="descname">audio_bitrate</code><a class="headerlink" href="#pyams_media.utility.MediaConversionUtility.audio_bitrate" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.utility.MediaConversionUtility.audio_formats">
+<code class="descname">audio_formats</code><a class="headerlink" href="#pyams_media.utility.MediaConversionUtility.audio_formats" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.utility.MediaConversionUtility.audio_sampling">
+<code class="descname">audio_sampling</code><a class="headerlink" href="#pyams_media.utility.MediaConversionUtility.audio_sampling" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.utility.MediaConversionUtility.check_media_conversion">
+<code class="descname">check_media_conversion</code><span class="sig-paren">(</span><em>media</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.utility.MediaConversionUtility.check_media_conversion" title="Permalink to this definition">¶</a></dt>
+<dd><p>Check if conversion is needed for given media</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.utility.MediaConversionUtility.convert">
+<code class="descname">convert</code><span class="sig-paren">(</span><em>media</em>, <em>format</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.utility.MediaConversionUtility.convert" title="Permalink to this definition">¶</a></dt>
+<dd><p>Send conversion request for given media</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.utility.MediaConversionUtility.test_process">
+<code class="descname">test_process</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.utility.MediaConversionUtility.test_process" title="Permalink to this definition">¶</a></dt>
+<dd><p>Send test request to conversion process</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.utility.MediaConversionUtility.video_audio_bitrate">
+<code class="descname">video_audio_bitrate</code><a class="headerlink" href="#pyams_media.utility.MediaConversionUtility.video_audio_bitrate" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.utility.MediaConversionUtility.video_audio_sampling">
+<code class="descname">video_audio_sampling</code><a class="headerlink" href="#pyams_media.utility.MediaConversionUtility.video_audio_sampling" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.utility.MediaConversionUtility.video_bitrate">
+<code class="descname">video_bitrate</code><a class="headerlink" href="#pyams_media.utility.MediaConversionUtility.video_bitrate" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.utility.MediaConversionUtility.video_formats">
+<code class="descname">video_formats</code><a class="headerlink" href="#pyams_media.utility.MediaConversionUtility.video_formats" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.utility.MediaConversionUtility.video_frame_size">
+<code class="descname">video_frame_size</code><a class="headerlink" href="#pyams_media.utility.MediaConversionUtility.video_frame_size" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.utility.MediaConversionUtility.video_quantisation">
+<code class="descname">video_quantisation</code><a class="headerlink" href="#pyams_media.utility.MediaConversionUtility.video_quantisation" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_media.utility.MediaConversionUtility.zodb_name">
+<code class="descname">zodb_name</code><a class="headerlink" href="#pyams_media.utility.MediaConversionUtility.zodb_name" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+</dd></dl>
+
+</div>
+<div class="section" id="module-pyams_media.video">
+<span id="pyams-media-video-module"></span><h2>pyams_media.video module<a class="headerlink" href="#module-pyams_media.video" title="Permalink to this headline">¶</a></h2>
+<dl class="class">
+<dt id="pyams_media.video.FlashVideoTypeAdapter">
+<em class="property">class </em><code class="descclassname">pyams_media.video.</code><code class="descname">FlashVideoTypeAdapter</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.video.FlashVideoTypeAdapter" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextAdapter" title="pyams_utils.adapter.ContextAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextAdapter</span></code></a></p>
+<p>Flash video content type adapter</p>
+<dl class="attribute">
+<dt id="pyams_media.video.FlashVideoTypeAdapter.video_type">
+<code class="descname">video_type</code><a class="headerlink" href="#pyams_media.video.FlashVideoTypeAdapter.video_type" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.video.ThumbnailTraverser">
+<em class="property">class </em><code class="descclassname">pyams_media.video.</code><code class="descname">ThumbnailTraverser</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.video.ThumbnailTraverser" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextAdapter" title="pyams_utils.adapter.ContextAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextAdapter</span></code></a></p>
+<p>++thumb++ video namespace traverser</p>
+<dl class="method">
+<dt id="pyams_media.video.ThumbnailTraverser.traverse">
+<code class="descname">traverse</code><span class="sig-paren">(</span><em>name</em>, <em>furtherpath=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.video.ThumbnailTraverser.traverse" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.video.VideoThumbnailAdapter">
+<em class="property">class </em><code class="descclassname">pyams_media.video.</code><code class="descname">VideoThumbnailAdapter</code><span class="sig-paren">(</span><em>video</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.video.VideoThumbnailAdapter" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
+<p>Video thumbnail adapter</p>
+<dl class="method">
+<dt id="pyams_media.video.VideoThumbnailAdapter.clear_geometries">
+<code class="descname">clear_geometries</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.video.VideoThumbnailAdapter.clear_geometries" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.video.VideoThumbnailAdapter.clear_thumbnails">
+<code class="descname">clear_thumbnails</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.video.VideoThumbnailAdapter.clear_thumbnails" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.video.VideoThumbnailAdapter.delete_thumbnail">
+<code class="descname">delete_thumbnail</code><span class="sig-paren">(</span><em>thumbnail_name</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.video.VideoThumbnailAdapter.delete_thumbnail" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.video.VideoThumbnailAdapter.get_geometry">
+<code class="descname">get_geometry</code><span class="sig-paren">(</span><em>selection_name</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.video.VideoThumbnailAdapter.get_geometry" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.video.VideoThumbnailAdapter.get_image_size">
+<code class="descname">get_image_size</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.video.VideoThumbnailAdapter.get_image_size" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.video.VideoThumbnailAdapter.get_thumbnail">
+<code class="descname">get_thumbnail</code><span class="sig-paren">(</span><em>thumbnail_name</em>, <em>format=None</em>, <em>time=5</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.video.VideoThumbnailAdapter.get_thumbnail" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.video.VideoThumbnailAdapter.get_thumbnail_name">
+<code class="descname">get_thumbnail_name</code><span class="sig-paren">(</span><em>thumbnail_name</em>, <em>with_size=False</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.video.VideoThumbnailAdapter.get_thumbnail_name" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.video.VideoThumbnailAdapter.get_thumbnail_size">
+<code class="descname">get_thumbnail_size</code><span class="sig-paren">(</span><em>thumbnail_name</em>, <em>forced=False</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.video.VideoThumbnailAdapter.get_thumbnail_size" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_media.video.VideoThumbnailAdapter.set_geometry">
+<code class="descname">set_geometry</code><span class="sig-paren">(</span><em>selection_name</em>, <em>geometry</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.video.VideoThumbnailAdapter.set_geometry" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.video.VideoTypeAdapter">
+<em class="property">class </em><code class="descclassname">pyams_media.video.</code><code class="descname">VideoTypeAdapter</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.video.VideoTypeAdapter" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextAdapter" title="pyams_utils.adapter.ContextAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextAdapter</span></code></a></p>
+<p>Default video content type adapter</p>
+<dl class="attribute">
+<dt id="pyams_media.video.VideoTypeAdapter.video_type">
+<code class="descname">video_type</code><a class="headerlink" href="#pyams_media.video.VideoTypeAdapter.video_type" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_media.video.VideoTypeExtension">
+<em class="property">class </em><code class="descclassname">pyams_media.video.</code><code class="descname">VideoTypeExtension</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.video.VideoTypeExtension" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextRequestViewAdapter" title="pyams_utils.adapter.ContextRequestViewAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextRequestViewAdapter</span></code></a></p>
+<p>extension:video_type(media) TALES extension</p>
+<dl class="method">
+<dt id="pyams_media.video.VideoTypeExtension.render">
+<code class="descname">render</code><span class="sig-paren">(</span><em>context=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.video.VideoTypeExtension.render" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+</div>
+<div class="section" id="module-pyams_media">
+<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyams_media" title="Permalink to this headline">¶</a></h2>
+<dl class="function">
+<dt id="pyams_media.includeme">
+<code class="descclassname">pyams_media.</code><code class="descname">includeme</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_media.includeme" title="Permalink to this definition">¶</a></dt>
+<dd><p>Pyramid include</p>
+</dd></dl>
+
+</div>
+</div>
+
+
+ </div>
+ </div>
+ </div>
+ <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
+ <div class="sphinxsidebarwrapper">
+ <h3><a href="index.html">Table Of Contents</a></h3>
+ <ul>
+<li><a class="reference internal" href="#">pyams_media package</a><ul>
+<li><a class="reference internal" href="#subpackages">Subpackages</a></li>
+<li><a class="reference internal" href="#submodules">Submodules</a></li>
+<li><a class="reference internal" href="#module-pyams_media.audio">pyams_media.audio module</a></li>
+<li><a class="reference internal" href="#module-pyams_media.converter">pyams_media.converter module</a></li>
+<li><a class="reference internal" href="#module-pyams_media.ffbase">pyams_media.ffbase module</a></li>
+<li><a class="reference internal" href="#module-pyams_media.ffdocument">pyams_media.ffdocument module</a></li>
+<li><a class="reference internal" href="#module-pyams_media.ffexception">pyams_media.ffexception module</a></li>
+<li><a class="reference internal" href="#module-pyams_media.include">pyams_media.include module</a></li>
+<li><a class="reference internal" href="#module-pyams_media.media">pyams_media.media module</a></li>
+<li><a class="reference internal" href="#module-pyams_media.process">pyams_media.process module</a></li>
+<li><a class="reference internal" href="#module-pyams_media.site">pyams_media.site module</a></li>
+<li><a class="reference internal" href="#module-pyams_media.utility">pyams_media.utility module</a></li>
+<li><a class="reference internal" href="#module-pyams_media.video">pyams_media.video module</a></li>
+<li><a class="reference internal" href="#module-pyams_media">Module contents</a></li>
+</ul>
+</li>
+</ul>
+
+<div id="searchbox" style="display: none" role="search">
+ <h3>Quick search</h3>
+ <form class="search" action="search.html" method="get">
+ <div><input type="text" name="q" /></div>
+ <div><input type="submit" value="Go" /></div>
+ <input type="hidden" name="check_keywords" value="yes" />
+ <input type="hidden" name="area" value="default" />
+ </form>
+</div>
+<script type="text/javascript">$('#searchbox').show(0);</script>
+ </div>
+ </div>
+ <div class="clearer"></div>
+ </div>
+ <div class="related" role="navigation" aria-label="related navigation">
+ <h3>Navigation</h3>
+ <ul>
+ <li class="right" style="margin-right: 10px">
+ <a href="genindex.html" title="General Index"
+ >index</a></li>
+ <li class="right" >
+ <a href="py-modindex.html" title="Python Module Index"
+ >modules</a> |</li>
+ <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li>
+ </ul>
+ </div>
+ <div class="footer" role="contentinfo">
+ © Copyright 2017, Thierry Florac.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5.
+ </div>
+ </body>
+</html>
\ No newline at end of file