From c1cc1078b758346a514c399a5a7ed71d7fc46571 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Mon, 8 Feb 2016 09:49:20 +0100 Subject: raise blocksize to 1M on the write-side, too --- voctocore/lib/avpreviewoutput.py | 1 + voctocore/lib/avrawoutput.py | 1 + voctogui/lib/videodisplay.py | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/voctocore/lib/avpreviewoutput.py b/voctocore/lib/avpreviewoutput.py index 6b3e3e5..ac5fd0a 100644 --- a/voctocore/lib/avpreviewoutput.py +++ b/voctocore/lib/avpreviewoutput.py @@ -38,6 +38,7 @@ class AVPreviewOutput(TCPMultiConnection): writing-app=Voctomix-AVPreviewOutput ! multifdsink + blocksize=1048576 buffers-max=500 sync-method=next-keyframe name=fd diff --git a/voctocore/lib/avrawoutput.py b/voctocore/lib/avrawoutput.py index c465b0e..4603c30 100644 --- a/voctocore/lib/avrawoutput.py +++ b/voctocore/lib/avrawoutput.py @@ -29,6 +29,7 @@ class AVRawOutput(TCPMultiConnection): writing-app=Voctomix-AVRawOutput ! multifdsink + blocksize=1048576 buffers-max=500 sync-method=next-keyframe name=fd diff --git a/voctogui/lib/videodisplay.py b/voctogui/lib/videodisplay.py index 7f6ce2d..78dafba 100644 --- a/voctogui/lib/videodisplay.py +++ b/voctogui/lib/videodisplay.py @@ -25,7 +25,7 @@ class VideoDisplay(object): # Setup Server-Connection, Demuxing and Decoding pipeline = """ - tcpclientsrc host={host} port={port} ! + tcpclientsrc host={host} port={port} blocksize=1048576 ! queue ! matroskademux name=demux """ -- cgit v1.2.3