x

Programs, configuration and documentation that don't fit anywhere else
Log | Files | Refs | README | LICENSE

commit 1e0f74802b07d3bb880dbd00370afb5584c97496
parent 11c58be98c6575552b27a5998fbe6afa78d4649e
Author: Oliver Lowe <o@olowe.co>
Date:   Wed, 14 Aug 2024 09:45:43 +1000

xstream: swap to mjpeg from mpeg-ts

lower latency and easier on older hardware in LANs.

Diffstat:
Mbin/xstream | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/xstream b/bin/xstream @@ -9,5 +9,6 @@ then fi addr=$1 -ffmpeg -hide_banner -f x11grab -i $DISPLAY -r 25 \ - -f mpegts -c:v mpeg2video -b:v 3000k udp://$addr +ffmpeg -hide_banner -r 20 -s 1920x1080 -f x11grab -i $DISPLAY \ + -f rtp -pix_fmt yuvj420p -c:v mjpeg -huffman 0 -force_duplicated_matrix 1 \ + -b:v 20000k -q:v 7 rtp://$addr