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

Small livestream fix

parent f7a3dcd3
No related branches found
No related tags found
Loading
......@@ -184,15 +184,15 @@ def schedule_livestream(lecture_id):
data['vmix'] = 'streamselect=map=0'
elif mode == '2':
data['vmix'] = 'streamselect=map=1'
elif vmode == 'lecture4:3':
elif mode == 'lecture4:3':
data['src1']['vfilter'].append('scale=1440:1080')
data['src2']['vfilter'].append('scale=1440:810,pad=1440:1080:0:135,crop=480:1080')
data['vmix'] = 'hstack'
elif vmode == 'lecture16:9':
elif mode == 'lecture16:9':
data['src1']['vfilter'].append('scale=1440:810,pad=1440:1080:0:135')
data['src2']['vfilter'].append('scale=1440:810,pad=1440:1080:0:135,crop=480:1080')
data['vmix'] = 'hstack'
elif vmode == 'sidebyside':
elif mode == 'sidebyside':
data['src1']['vfilter'].append('scale=960:540')
data['src2']['vfilter'].append('scale=960:540')
data['vmix'] = 'hstack,pad=1920:1080:0:270'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment