Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Video AG Infrastruktur
website
Commits
93cd121b
Commit
93cd121b
authored
Jul 31, 2018
by
Julian Rother
Browse files
Added deinterlace option for livestreams
parent
ab24a724
Changes
2
Hide whitespace changes
Inline
Side-by-side
livestreams.py
View file @
93cd121b
...
...
@@ -177,6 +177,8 @@ def schedule_livestream(lecture_id):
if
not
obj
[
'clientid'
]:
flash
(
'Quelle „%s“ ist nicht aktiv!'
%
obj
[
'name'
])
return
None
if
settings
.
get
(
'source%i_deinterlace'
%
idx
):
data
[
'src%i'
%
idx
][
'vfilter'
].
append
(
'yadif'
)
mode
=
settings
.
get
(
'source%i_audiomode'
%
idx
)
leftvol
=
float
(
settings
.
get
(
'source%i_leftvolume'
%
idx
,
100
))
/
100.0
rightvol
=
float
(
settings
.
get
(
'source%i_rightvolume'
%
idx
,
100
))
/
100.0
...
...
templates/course.html
View file @
93cd121b
...
...
@@ -161,6 +161,7 @@
{% endfor %}
</select>
<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>
<div
class=
"row"
>
<div
class=
"col-xs-6"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment