0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.