summaryrefslogtreecommitdiff
path: root/voctocore
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2016-02-05 12:23:56 +0100
committerMaZderMind <git@mazdermind.de>2016-02-05 12:23:56 +0100
commit6fcaad32a6247ac91ea17fc4bdefd3a005b0a02f (patch)
tree7d8b4730bb55219942b9eafeb81006b624abe735 /voctocore
parent3e4b04b2d1bfd96b7018a2058cbb0a847e012cf7 (diff)
swap audio & video around, so that 0.0 in the output is video and 0.1 is audio
Diffstat (limited to 'voctocore')
-rw-r--r--voctocore/lib/avpreviewoutput.py10
-rw-r--r--voctocore/lib/avrawoutput.py8
2 files changed, 9 insertions, 9 deletions
diff --git a/voctocore/lib/avpreviewoutput.py b/voctocore/lib/avpreviewoutput.py
index 04ff637..6b3e3e5 100644
--- a/voctocore/lib/avpreviewoutput.py
+++ b/voctocore/lib/avpreviewoutput.py
@@ -18,11 +18,6 @@ class AVPreviewOutput(TCPMultiConnection):
vcaps_out = Config.get('mix', 'videocaps')
pipeline = """
- interaudiosrc channel=audio_{channel} !
- {acaps} !
- queue !
- mux.
-
intervideosrc channel=video_{channel} !
{vcaps_in} !
videorate !
@@ -32,6 +27,11 @@ class AVPreviewOutput(TCPMultiConnection):
queue !
mux.
+ interaudiosrc channel=audio_{channel} !
+ {acaps} !
+ queue !
+ mux.
+
matroskamux
name=mux
streamable=true
diff --git a/voctocore/lib/avrawoutput.py b/voctocore/lib/avrawoutput.py
index 60d2b37..c465b0e 100644
--- a/voctocore/lib/avrawoutput.py
+++ b/voctocore/lib/avrawoutput.py
@@ -13,13 +13,13 @@ class AVRawOutput(TCPMultiConnection):
self.channel = channel
pipeline = """
- interaudiosrc channel=audio_{channel} !
- {acaps} !
+ intervideosrc channel=video_{channel} !
+ {vcaps} !
queue !
mux.
- intervideosrc channel=video_{channel} !
- {vcaps} !
+ interaudiosrc channel=audio_{channel} !
+ {acaps} !
queue !
mux.