From 1a2a35b798b22fd61ae2b91d68221a40431bdc8e Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Fri, 11 Oct 2024 11:44:02 +0200 Subject: [PATCH] re-add jpeg video caps, rm video timestamp and delay --- bin/streaming/telecaster.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bin/streaming/telecaster.py b/bin/streaming/telecaster.py index 6f73bc5..babfb1e 100755 --- a/bin/streaming/telecaster.py +++ b/bin/streaming/telecaster.py @@ -10,15 +10,14 @@ from copy import deepcopy # ! queue ! clockoverlay time-format="%D %H:%M:%S" \ -VIDEO_PIPELINE_BASE="""pipewiresrc client-name="video_streaming" \ +VIDEO_PIPELINE_BASE="""pipewiresrc client-name="video_streaming" ! {format}, width={width}, height={height}, framerate={framerate}/1 \ ! queue ! {decoder} \ - ! queue min-threshold-time={video_delay} ! videoflip method={flip} \ - ! queue ! timecodestamper first-timecode-to-now=true \ + ! queue ! videoflip method={flip} \ ! queue ! videoconvert \ ! queue ! vp8enc threads=4 deadline=2 \ ! queue ! muxout. \ pipewiresrc client-name="video_streaming" ! audio/x-raw, format=F32LE, channels={channels} \ - ! queue min-threshold-time={audio_delay} ! audiocheblimit mode=high-pass cutoff=120 poles=4 \ + ! queue ! audiocheblimit mode=high-pass cutoff=120 poles=4 \ ! queue ! volume volume={gain_pre} \ ! queue ! audiodynamic characteristics=soft-knee mode=compressor threshold=0.125 ratio=0.125 \ ! queue ! volume volume={gain_post} \ -- 2.39.5