...
 
Commits (2)
......@@ -26,7 +26,10 @@ use pavucontrol(-qt) to determine what pulseaudio sends to ffmpeg
ssl: optional, encrypt with openssl and a passphrase
the command to be used on the other side is generated and printing
prior to start. you may want to replace '$HOSTNAME' with your WAN IP"
prior to start. you may want to replace '$HOSTNAME' with your WAN IP
if the stream fails to start most likely the pulseaudio sink is
suspended, play something on the sink to make it encode"
exit 0
fi
......@@ -77,7 +80,7 @@ esac
ffmpeg \
-f x11grab -s 4096x2160 -framerate 30 -i :0.0 \
-f pulse -ac 2 -ar 48000 -i default \
-vf "scale=-1:720" -sws_flags fast_bilinear \
-vf "scale=-1:1080" -sws_flags fast_bilinear \
-c:v h264_nvenc -preset:v llhq -rc:v vbr \
-c:a aac -b:a 128k \
-f mpegts - \
......