Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Firstly, I might suggest only capturing a small part of the screen, rather than downscaling and potentially losing information, perhaps with something like a sliding window which can be moved around by pushing the edges with a cursor. This is really just a small design suggestion though.</p> <p>As for compression, I would think that a series of images would not compress separately as well as with a decent video compression scheme, especially as frames are likely to remain consistent between captures in this scenario.</p> <p>One option would be to use Xuggle, which is capable of capturing the desktop via Robot in a number of video formats afaiu, but I can't tell if you can stream and decode with this.</p> <p>For capturing jpegs and converting them, then you can also use <a href="http://www.koders.com/java/fid8AE9208DC5FB846910DFD3F935D64E7C9A5BB784.aspx?s=jpegimagestomovie.java#L4" rel="nofollow">this</a>.</p> <p>Streaming these videos seems to be a little more complicated, though.</p> <p>Also, it seems that the abandoned Java Media Framework supports this functionality.</p> <p>My knowledge in this area is not fantastic tbh, so sorry if I have wasted your time, but it looks like some more useful information on the feasibility of using Xuggle as a screensharer has been compiled <a href="http://wiki.xuggle.com/Xuggle_Screensharing_Implementation" rel="nofollow">here</a>. This also appears to link to their own notes on existing approaches.</p> <p>If it doesn't need to be pure Java I reckon this would all be much easier using just by interfacing with a native screen capture tool...</p> <p>Maybe it would be easiest just to send video as a series of jpegs after all! You could always implement your own compression scheme if you were feeling a little crazy...</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload