Streaming a window's contents

Stefan Reich stefan.reich.maker.of.eye at googlemail.com
Mon Jun 17 12:22:02 UTC 2019


Hi!

I'm looking for the right parameters to stream the contents of a window
into a file on Linux with GStreamer.

Here's what I have:

gst-launch-1.0 ximagesrc xid=0x03c00006 \
    ! videoconvert \
    ! x264enc tune=zerolatency bitrate=500 speed-preset=superfast \
    ! filesink location=~/Videos/window.mp4

It does something, but the output file is very small and seems broken.

Any suggestions? Thanks!

Stefan

-- 
Stefan Reich
BotCompany.de // Java-based operating systems
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190617/783cd009/attachment.html>


More information about the gstreamer-devel mailing list