Skip to content
Snippets Groups Projects
Commit 93cd121b authored by Julian Rother's avatar Julian Rother
Browse files

Added deinterlace option for livestreams

parent ab24a724
Branches
No related tags found
No related merge requests found
...@@ -177,6 +177,8 @@ def schedule_livestream(lecture_id): ...@@ -177,6 +177,8 @@ def schedule_livestream(lecture_id):
if not obj['clientid']: if not obj['clientid']:
flash('Quelle „%s“ ist nicht aktiv!'%obj['name']) flash('Quelle „%s“ ist nicht aktiv!'%obj['name'])
return None return None
if settings.get('source%i_deinterlace'%idx):
data['src%i'%idx]['vfilter'].append('yadif')
mode = settings.get('source%i_audiomode'%idx) mode = settings.get('source%i_audiomode'%idx)
leftvol = float(settings.get('source%i_leftvolume'%idx, 100))/100.0 leftvol = float(settings.get('source%i_leftvolume'%idx, 100))/100.0
rightvol = float(settings.get('source%i_rightvolume'%idx, 100))/100.0 rightvol = float(settings.get('source%i_rightvolume'%idx, 100))/100.0
......
...@@ -161,6 +161,7 @@ ...@@ -161,6 +161,7 @@
{% endfor %} {% endfor %}
</select> </select>
<img src="{{ url_for('static', filename='smptebars.jpg') }}" style="width: 100%; margin-bottom: 0.5em; margin-top: 0.5em"/> <img src="{{ url_for('static', filename='smptebars.jpg') }}" style="width: 100%; margin-bottom: 0.5em; margin-top: 0.5em"/>
<div class="checkbox"><label><input name="source{{num }}_deinterlace" type="checkbox">Video deinterlacen</label></div>
<label>Lautstärke</label> <label>Lautstärke</label>
<div class="row"> <div class="row">
<div class="col-xs-6"> <div class="col-xs-6">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment