{% if version_info and version_info.current_version %} ffmpeg4discord v{{ version_info.current_version }} {% else %} ffmpeg4discord's Web UI {% endif %}

ffmpeg4discord {% if version_info and version_info.current_version %} v{{ version_info.current_version }} {% endif %}

{% if version_info and version_info.update_available %} {% endif %}

Drag the video playhead, and use the buttons below to set the Start and End times.

{{ twopass.from_seconds|string + " seconds" if twopass.from_seconds else "0 seconds" }}
{{ twopass.to_seconds|string + " seconds" if twopass.to_seconds else twopass.duration|string + " seconds" }}

Output Parameters

{% if twopass.audio_streams|length > 1 %}
{% for stream in twopass.audio_streams %} {% set idx = loop.index0 %}
{% endfor %}
{% endif %}

Video Streams

{% set video_streams = twopass.probe["streams"] | selectattr("codec_type", "equalto", "video") | list %} {% if video_streams %}
{% for stream in video_streams %}-- Stream {{ loop.index0 }} --
{% for key, value in stream.items() %}{% if key not in ["disposition", "tags"] %}{{ key }}: {{ value }}
{% endif %}{% endfor %}

{% endfor %}
{% else %}

No video streams found.

{% endif %}

Audio Streams

{% set audio_streams = twopass.probe["streams"] | selectattr("codec_type", "equalto", "audio") | list %} {% if audio_streams %}
{% for stream in audio_streams %}-- Stream {{ loop.index0 }} --
{% for key, value in stream.items() %}{% if key not in ["disposition", "tags"] %}{{ key }}: {{ value }}
{% endif %}{% endfor %}

{% endfor %}
{% else %}

No audio streams found.

{% endif %}