screen capture and lossless codec, .net

北城以北 提交于 2019-12-21 06:25:40

问题


There is a system written in c#/.net. The client make screen shots (1-3 times/sec) and sends the screen shots to a high performance server for processing.

I want to reduce network traffic.

  • previously I sent Png images data.
  • now I just check the important regions, and send these regions only if changes.

Now I wondering what would happen if you use lossless codecs. There is a few exiting lossless video codecs. But how can I use it from c#/.net , and send the stream?

I found a few AVI wrappers, like AForge.AVIWriter, but all save the result into file. (it's not possible to save it to a temporary file in client, because of lack of space)


回答1:


It sounds like you're trying to re-create something like Remote Desktop (RDP protocol) or VNC (RFB protocol). Both of those protocols are lossless and send compressed deltas, so you might look into them and see if there are libraries that would take care of the details for you.



来源:https://stackoverflow.com/questions/7326846/screen-capture-and-lossless-codec-net

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!