{"id":13452958,"url":"https://github.com/phoboslab/jsmpeg-vnc","last_synced_at":"2025-05-15T10:05:38.118Z","repository":{"id":35501790,"uuid":"39771596","full_name":"phoboslab/jsmpeg-vnc","owner":"phoboslab","description":"A low latency, high framerate screen sharing server for Windows and client for browsers","archived":false,"fork":false,"pushed_at":"2023-09-01T04:31:54.000Z","size":374,"stargazers_count":2402,"open_issues_count":52,"forks_count":397,"subscribers_count":167,"default_branch":"master","last_synced_at":"2025-04-14T16:55:41.107Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phoboslab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-07-27T11:45:28.000Z","updated_at":"2025-04-07T06:30:28.000Z","dependencies_parsed_at":"2024-06-12T07:23:03.854Z","dependency_job_id":"0c57d5bf-dab2-4dd6-baee-27420e82ef9d","html_url":"https://github.com/phoboslab/jsmpeg-vnc","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoboslab%2Fjsmpeg-vnc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoboslab%2Fjsmpeg-vnc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoboslab%2Fjsmpeg-vnc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoboslab%2Fjsmpeg-vnc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phoboslab","download_url":"https://codeload.github.com/phoboslab/jsmpeg-vnc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254319718,"owners_count":22051072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T08:00:29.268Z","updated_at":"2025-05-15T10:05:33.080Z","avatar_url":"https://github.com/phoboslab.png","language":"C","readme":"# jsmpeg-vnc\n\nA low latency, high framerate screen sharing server and client, viewable in any modern browser.\n\n[More Info \u0026 Demo Video](http://phoboslab.org/log/2015/07/play-gta-v-in-your-browser-sort-of)\n\n[Download Binaries](https://github.com/phoboslab/jsmpeg-vnc/releases)\n\n\n## Usage \u0026 Performance Considerations\n\n```\njsmpeg-vnc.exe [options] \u003cwindow name\u003e\n\nOptions:\n\t-b bitrate in kilobit/s (default: estimated by output size)\n\t-s output size as WxH. E.g: -s 640x480 (default: same as window size)\n\t-f target framerate (default: 60)\n\t-p port (default: 8080)\n\t-c crop area in the captured window as X,Y,W,H. E.g.: -c 200,300,640,480\n\t-i enable/disable remote input. E.g. -i 0 (default: 1)\n\nUse \"desktop\" as the window name to capture the whole Desktop. Use \"cursor\"\nto capture the window at the current cursor position.\n\nExample:\njsmpeg-vnc.exe -b 2000 -s 640x480 -f 30 -p 9006 \"Quake 3: Arena\"\n\nTo enable mouse lock in the browser (useful for games that require relative\nmouse movements, not absolute ones), append \"?mouselock\" at the target URL\ni.e: http://\u003cserver-ip\u003e:8080/?mouselock\n```\t\n\nFor 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.\n\nCapturing 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.\n\nIf Windows complains about a missing MSVCR100.dll, install the [Microsoft Visual C++ 2010 Redistributable Package](https://www.microsoft.com/en-us/download/details.aspx?id=5555).\n\n\n## Technology \u0026 License\n\nThis 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.\n\nThe 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.\n\njsmpeg-vnc is published under the [GPLv3 License](http://www.gnu.org/licenses/gpl-3.0.en.html).\n\nIf you require my code under a different license, or need some consulting work regarding jsmpeg/jsmpeg-vnc, get in touch: dominic@phoboslab.org","funding_links":[],"categories":["C","others","etc"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphoboslab%2Fjsmpeg-vnc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphoboslab%2Fjsmpeg-vnc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphoboslab%2Fjsmpeg-vnc/lists"}