{% extends "base.html" %} {% load static %} {% block title %}Create Video Configuration - Stream Processor{% endblock %} {% block page_title %} Create Video Configuration {% endblock %} {% block extra_css %} {% endblock %} {% block content %}

Create Video Configuration

Configure video encoding parameters for stream processing

Video Configuration Guidelines

Configure video encoding parameters for optimal stream processing. Higher quality settings require more processing power and bandwidth.

Video Configuration Settings

{% csrf_token %}
{{ form.name }} {% if form.name.errors %}
{{ form.name.errors.0 }}
{% endif %}

Unique name for this video configuration

{{ form.codec }} {% if form.codec.errors %}
{{ form.codec.errors.0 }}
{% endif %}

Video codec for encoding

{{ form.resolution }} {% if form.resolution.errors %}
{{ form.resolution.errors.0 }}
{% endif %}

Video resolution (width x height)

{{ form.framerate }} {% if form.framerate.errors %}
{{ form.framerate.errors.0 }}
{% endif %}

Frames per second

{{ form.aspect_ratio }} {% if form.aspect_ratio.errors %}
{{ form.aspect_ratio.errors.0 }}
{% endif %}

Video aspect ratio

{{ form.bitrate_min }} {% if form.bitrate_min.errors %}
{{ form.bitrate_min.errors.0 }}
{% endif %}

Minimum bitrate (e.g., '2000k')

{{ form.bitrate_max }} {% if form.bitrate_max.errors %}
{{ form.bitrate_max.errors.0 }}
{% endif %}

Maximum bitrate (e.g., '4000k')

{{ form.preset }} {% if form.preset.errors %}
{{ form.preset.errors.0 }}
{% endif %}

Speed vs quality trade-off

{{ form.profile }} {% if form.profile.errors %}
{{ form.profile.errors.0 }}
{% endif %}

H.264 profile setting

{{ form.level }} {% if form.level.errors %}
{{ form.level.errors.0 }}
{% endif %}

Video level (e.g., '3.1', '4.0')

{{ form.crf }} {% if form.crf.errors %}
{{ form.crf.errors.0 }}
{% endif %}

Quality setting (lower = better quality, 18-28 typical)

{{ form.keyframe_interval }} {% if form.keyframe_interval.errors %}
{{ form.keyframe_interval.errors.0 }}
{% endif %}

Keyframe interval in seconds

Advanced Options

{{ form.two_pass }}

Enable two-pass encoding for better quality

{% if form.two_pass.errors %}
{{ form.two_pass.errors.0 }}
{% endif %}
{{ form.hardware_acceleration }}

Use GPU acceleration if available

{% if form.hardware_acceleration.errors %}
{{ form.hardware_acceleration.errors.0 }}
{% endif %}
Cancel

Common Presets

High Quality

1920x1080, 30fps, H.264

  • • Bitrate: 4000k-8000k
  • • CRF: 18-23
  • • Preset: slow

Standard Quality

1280x720, 25fps, H.264

  • • Bitrate: 2000k-4000k
  • • CRF: 23-28
  • • Preset: medium

Fast Encoding

854x480, 25fps, H.264

  • • Bitrate: 1000k-2000k
  • • CRF: 28-32
  • • Preset: fast
{% endblock %}