# jsmpeg-vnc
A low latency, high framerate screen sharing server and client, viewable in any modern browser.
[More Info & Demo Video](http://phoboslab.org/log/2015/07/play-gta-v-in-your-browser-sort-of)
[Download Binaries](https://github.com/phoboslab/jsmpeg-vnc/releases)
## Usage & Performance Considerations
```
jsmpeg-vnc.exe [options] <window name>
Options:
-b bitrate in kilobit/s (default: estimated by output size)
-s output size as WxH. E.g: -s 640x480 (default: same as window size)
-f target framerate (default: 60)
-p port (default: 8080)
Use "desktop" as the window name to capture the whole Desktop. Use "cursor"
to capture the window at the current cursor position.
Full Example:
jsmpeg-vnc.exe -b 2000 -s 640x480 -f 30 -p 9006 "Quake 3: Arena"
To enable mouse lock in the browser (useful for games that require relative
mouse movements, not absolute ones), append "?mouselock" at the target URL
i.e: http://<server-ip>:8080/?mouselock
```
For sharing the whole Desktop, Windows' Aero theme should be disabled as it slows down screen capture significantly. When serving a single window (e.g. games), Aero only has a marginal performance impact and can be left enabled.
Capturing and encoding 1920x1080 video narrowly amounts to 60fps on my system and occupies a whole CPU core. Capturing smaller windows significantly speeds up the process. Depending on your Wifi network quality you may also want to dial down the bitrate for large video sizes.
## Technology & License
This App uses [ffmpeg](https://github.com/FFmpeg/FFmpeg) for encoding, [libwebsockets](https://github.com/warmcat/libwebsockets) for the WebSocket server and [jsmpeg](https://github.com/phoboslab/jsmpeg) for decoding in the browser. Note that the jsmpeg version in this repository has been modified to get rid of an extra frame of latency. The server sends each frame with a custom header, so the resulting WebSocket stream is not a valid MPEG video anymore.
The client application (the thing that runs in the browser) is very rudimentary. In particular, the mobile version has some quirks with mouse input and only has touch buttons for the arrow keys, ESC and Enter, though this can be easily extended.
jsmpeg-vnc is published under the [GPLv3 License](http://www.gnu.org/licenses/gpl-3.0.en.html).
If you require my code under a different license, or need some consulting work regarding jsmpeg/jsmpeg-vnc, get in touch: dominic@phoboslab.org
没有合适的资源?快使用搜索试试~ 我知道了~
jsmpeg-vnc的二进制文件
共9个文件
dll:4个
js:2个
exe:1个
5星 · 超过95%的资源 需积分: 34 47 下载量 20 浏览量
2017-04-12
12:21:49
上传
评论
收藏 9.32MB ZIP 举报
温馨提示
这是jsmpeg-vnc的二进制文件点击exe文件直接使用,可以避免编译那个源码不成功的可能性,因为是国外的源地址所以下载这个文件很慢所以我就把它上传到这里来了
资源推荐
资源详情
资源评论
收起资源包目录
jsmpeg-vnc-v0.2.zip (9个子文件)
swscale-3.dll 479KB
avutil-54.dll 485KB
swresample-1.dll 276KB
client
index.html 2KB
jsmpg.js 75KB
jsmpg-vnc.js 4KB
README.md 2KB
avcodec-56.dll 21.41MB
jsmpeg-vnc.exe 49KB
共 9 条
- 1
资源评论
- wuyang8852020-06-22还可以哦,不错
liefyuan
- 粉丝: 3965
- 资源: 32
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功