Re: stream from jack to icecast(2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx
https://lists.linuxaudio.org/listinfo/linux-audio-user




[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux