{% 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() %}
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 %}