{% extends "base.html" %} {% from 'utils.html' import make_tabs %} {% from 'bootstrap/form.html' import render_form, render_field, render_form_row %} {% macro profile_list() %} {% for name, cfg in config.APP_CONFIG.transcode_profiles.items() %}

{{name}}

{{cfg.doc}}
ffmpeg -i <infile> {{cfg.command}} <outfile>
{% if cfg.vars %} {% for var,doc in cfg.vars.items() %}

{{var}}
({{doc}}{% if cfg.defaults[var] %}, Default:
{{cfg.defaults[var]}}
{% endif %})

{% endfor %} {% endif %}
{% endfor %} {% endmacro %} {% block app_content %}

Transcode profiles

{{profile_list()}}
{% endblock %}