On 05/06/13 18:33, Gustavo Homem wrote:

[SNIP]

> I also sympathize with the idea of having a transparent solution that
> is player independent.
>
> This would require:
>
> - a "virtual" accel extension on the remote X11rdp server

VAAPI is probably the one to use.

> - a transport of the partially decoded video (YUV, unscaled)

Nope you would want to take the media stream as much undecoded as
possible, ideally when it has just been unpacked from the file format
container but not decoded and then put it back in the file format container.

As I read it MS-RDPEV wants fully undecoded media streams. Though I am
no expert on RDP and I could be reading the Microsoft documentation wrongly.

> - an RDP client that knows how to handle the partially decoded data
> (YUV->  RGB, scale) and deliver it to a local mechanism that handles
> it (could be a Linux, Mac, Windows or mobile client...)
 >
> - a negotiation mechanism, so that for clients that don't support
> this X11rdp doesn't expose the "virtual" accel extension
>

That is the MS-RDPEV extension to the protocol. The FreeRDP client 
understands it as do the latest clients from Microsoft.

> Does this make sense? What virtual extension should be done on the
> server? Xv, VAAPI, GL ...? Why?

VAAPI is the one to use.

However for media formats that are not covered by MS-RDPEV such as say 
Theora one could make use of the RemoteFX extensions to RDP. With this 
technique you would used the Xv extension to register for a video 
stream, recompress the bitmap using the RemoteFX codex with optional GPU 
acceleration and pass it onto client. Not as good as method one but 
works for just about everything under X11 that would try and display a 
video.

The RemoteFX support in X11rdp and xrdp could also be used to add in 
VirtualGL type OpenGL into X11rdp to provide good 3D performance as 
well. I would guess some of the code from VirtualGL could be reused. 
What this does is take the OpenGL stuff hands it to the GPU card to 
actually render the 3D stuff, then get the GPU to compress the image 
with the RemoteFX codex and then feed that to the client. Should be a 
lot lot faster than using the software Mesa render.

Using VirtualGL which does the rendering on the GPU but then passes it 
back to the user using VNC gives orders of magnitude better performance 
than the xrdp/X11rdp combination.


JAB.

-- 
Jonathan A. Buzzard                 Email: jonathan (at) buzzard.me.uk
Fife, United Kingdom.

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Reply via email to