Streaming a window's contents
Krzysztof Konopko
krzysztof.konopko at konagma.eu
Sat Jun 22 05:56:54 UTC 2019
As a casual user, I'm not sure, but you're definitely missing a
muxer. Based on the file extension you provided to 'filesink', looks
like you want 'qtmux' after 'x264enc'. AFAICT, if you want to test it
with `gst-launch-1.0`, you'll also need `-e` option to send EOS when
you stop it with Crtl+C so that the MP4 file is correctly finalised
(some headers need to be written out).
Maybe others will be able to provide more help.
Kris
On Sat, 2019-06-22 at 01:03 +0200, Stefan Reich wrote:
> Screw it
>
> On Fri, 21 Jun 2019 at 12:03, Stefan Reich <
> stefan.reich.maker.of.eye at googlemail.com> wrote:
> > I just need to know roughly which parameters to use, please.
> > On Mon, 17 Jun 2019 at 14:22, Stefan Reich <
> > stefan.reich.maker.of.eye at googlemail.com> wrote:
> > > 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.mp4It
> > > does something, but the output file is very small and seems
> > > broken.
> > > Any suggestions? Thanks!
> > > Stefan
> > >
> > > --
> > > Stefan ReichBotCompany.de // Java-based operating systems
> > >
> >
> > --
> > Stefan ReichBotCompany.de // Java-based operating systems
> >
>
>
> _______________________________________________gstreamer-devel
> mailing listgstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190622/7cde0ba4/attachment.html>
More information about the gstreamer-devel
mailing list