VIDEO_PIPELINE_BASE="""v4l2src device=/dev/video{id} ! {format}, width={width}, height={height}, framerate={framerate}/1 \
! queue ! {decoder} \
- ! queue min-threshold-time={video_delay} ! videoflip method={flip} \
+ ! videoflip method={flip} \
! queue ! videoconvert \
- ! queue ! vp8enc threads=4 deadline=2 \
+ ! queue ! vp8enc threads=4 deadline=2 target-bitrate={vp8_bitrate} \
! queue ! muxout. \
jackaudiosrc connect=2 ! audio/x-raw, format=F32LE, channels={channels} \
- ! queue min-threshold-time={audio_delay} ! audiocheblimit mode=high-pass cutoff=120 poles=4 \
+ ! 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} \