aboutsummaryrefslogtreecommitdiff
path: root/voctocore/lib/avpreviewoutput.py
diff options
context:
space:
mode:
Diffstat (limited to 'voctocore/lib/avpreviewoutput.py')
-rw-r--r--voctocore/lib/avpreviewoutput.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/voctocore/lib/avpreviewoutput.py b/voctocore/lib/avpreviewoutput.py
index ac5fd0a..a0bb951 100644
--- a/voctocore/lib/avpreviewoutput.py
+++ b/voctocore/lib/avpreviewoutput.py
@@ -20,10 +20,13 @@ class AVPreviewOutput(TCPMultiConnection):
pipeline = """
intervideosrc channel=video_{channel} !
{vcaps_in} !
+ capssetter caps="video/x-raw,interlace-mode=interlaced" !
+ deinterlace !
+ video/x-raw,interlace-mode=progressive !
+ videoscale !
videorate !
- videoscale method=nearest-neighbour !
{vcaps_out} !
- jpegenc !
+ jpegenc quality=90 !
queue !
mux.