<p>Im trying to create an app to control a pc remotely using java , i want to use red5  to let the admin control desktops using a flash movie 
so i need to find java classes to :</p>

<ul>
<li>capture desktop as live video</li>
<li>-control mouse and keyboard</li>
</ul>

TightVNC
has a Java viewer so you can easily manage your server through VNC protocol and use a Java client (usable as an applet too).
There are tools, though not in Java, such as
vncrec
to record VNC sessions. I don't know if this is exactly what you are looking for since to distribute video a better choice would be to set up a streaming server.