Am 18.03.20 um 14:51 schrieb Peter P.:
> I am wondering if I could forward my grabbed X11 desktop as a video
> stream from ffmpeg to icecast.
So, I've looked up again, how this might work with gstreamer ;)
If it's only video (without audio) and assuming you have one screen
attached, it might be as simple as running:
gst-launch-1.0 ximagesrc use-damage=0 ! video/x-raw,framerate=20/1 !
videoconvert ! vp8enc ! webmmux ! shout2send ip=SERVERIP port=SERVERPORT
password=SOURCE_PASS mount=/test.webm
If you want to go with audio from jack, this might work (Opus here since
output is webm):
gst-launch-1.0 ximagesrc use-damage=0 ! video/x-raw,framerate=20/1 !
videoconvert ! vp8enc ! webmmux name=mux ! shout2send ip=SERVERIP
port=SERVERPORT password=SOURCE_PASS mount=/test.webm jackaudiosrc !
audio/x-raw,channels=2 ! queue ! audioconvert ! opusenc ! mux.
Have fun :)
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Thu Mar 19 04:15:03 2020
This archive was generated by hypermail 2.1.8 : Thu Mar 19 2020 - 04:15:03 EET