Realtime capture and streaming of a 4K HTML5 Session under Linux?
Sebastian Dröge
sebastian at centricular.com
Thu Oct 31 12:22:54 CET 2013
On Mi, 2013-10-30 at 16:40 -0400, Stirling Westrup wrote:
> I have a Linux application where we want to capture a live HTML5 browser
> session and stream the results through gstreamer to a 4K projector. Because
> of the size the final results will be shown at, we would like to do the
> capture at 4K resolution, rather than upscale it for projection.
>
> We have the back-end working fine: if we feed in a canned capture of a 4K
> session, we can stream and project it fine. However, we can't seem to do a
> capture in realtime. I'm hoping its just because we took the naive approach
> of setting up a dummy Xorg session (we don't have any 4K video cards), and
> launched Mozilla on it. We then used ximagesrc to capture from the Xorg
> session into gstreamer. The results were FAR too slow to be usable.
>
> I was hoping someone here would have some suggestions as to things we could
> do to capture and stream more efficiently.
You could also run a browser in some kind of offscreen window and
capture from that, or run something like a webkit web view in your
application and have it render directly to a GStreamer buffer (Qt and
GTK both have ways to render to memory instead of a X11 window). That
should provide you with better performance as ximagesrc.
Otherwise it would be best to check where exactly ximagesrc is too slow
and try to get around that.
--
Sebastian Dröge <sebastian at centricular.com>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131031/9db9d738/attachment.pgp>
More information about the gstreamer-devel
mailing list