summaryrefslogtreecommitdiff
path: root/voctocore/lib/video/mix.py
diff options
context:
space:
mode:
authorMaZderMind <github@mazdermind.de>2015-05-10 20:06:51 +0200
committerMaZderMind <github@mazdermind.de>2015-05-10 20:06:51 +0200
commite104284f309b4492325931c5b47a16505e44a9a1 (patch)
treee673491d2ff609d5c5bead60883af8693ed334c2 /voctocore/lib/video/mix.py
parentb9ec27da68ddce2afc94454e92a78fe262812a0e (diff)
Move files & implement output counting
Diffstat (limited to 'voctocore/lib/video/mix.py')
-rw-r--r--voctocore/lib/video/mix.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/voctocore/lib/video/mix.py b/voctocore/lib/video/mix.py
new file mode 100644
index 0000000..2d73d7b
--- /dev/null
+++ b/voctocore/lib/video/mix.py
@@ -0,0 +1,15 @@
+#!/usr/bin/python3
+import logging
+from gi.repository import Gst
+
+from lib.config import Config
+
+class VideoMix(object):
+ log = logging.getLogger('VideoMix')
+
+ def __init__(self):
+ caps = Config.get('mix', 'videocaps')
+
+ names = Config.getlist('sources', 'video')
+ self.log.info('Configuring Mixer for %u Sources', len(names))
+ #for idx, name in enumerate():