From 410b394019d49f7599340063c6320cec3247593a Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Fri, 25 Feb 2022 12:12:32 +0100 Subject: [PATCH] add comment about video stream --- nixos/modules/programs/video.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/nixos/modules/programs/video.nix b/nixos/modules/programs/video.nix index 2f7be1e..a3bedbe 100644 --- a/nixos/modules/programs/video.nix +++ b/nixos/modules/programs/video.nix @@ -4,6 +4,28 @@ with lib; let +# Lassulus streaming setup +# ------------------------- +# ffmpeg \ +# -f pulse \ +# -i default \ +# -vaapi_device /dev/dri/renderD128 \ +# -f x11grab \ +# -video_size 1366x768 \ +# -i :0 \ +# -vf 'hwupload,scale_vaapi=format=nv12' \ +# -c:v h264_vaapi \ +# -c:a aac \ +# -b:a 96k \ +# -af "highpass=f=200, lowpass=f=3000" \ +# -qp 30 \ +# -f flv \ +# rtmp://lassul.us:1935/stream/nixos \ +# ./rc3-output-$(date +%d%H%M%S).mp4 +# +# Dann abspielen mit : +# mpv rtmp://lassul.us:1935/stream/nixos + cfg = config.programs.custom.video; # show keyboard input on desktop for screencasts