{"id":13440614,"url":"https://github.com/mofarrell/p2pvc","last_synced_at":"2025-05-15T03:05:22.987Z","repository":{"id":26978574,"uuid":"30442211","full_name":"mofarrell/p2pvc","owner":"mofarrell","description":"A point to point color terminal video chat.","archived":false,"fork":false,"pushed_at":"2023-11-01T18:13:31.000Z","size":12810,"stargazers_count":2900,"open_issues_count":15,"forks_count":212,"subscribers_count":110,"default_branch":"master","last_synced_at":"2025-04-14T03:01:58.355Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mofarrell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-02-07T02:24:58.000Z","updated_at":"2025-03-22T22:28:56.000Z","dependencies_parsed_at":"2024-01-13T16:21:59.365Z","dependency_job_id":"78fead66-c333-4033-9273-bd967a9c9615","html_url":"https://github.com/mofarrell/p2pvc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mofarrell%2Fp2pvc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mofarrell%2Fp2pvc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mofarrell%2Fp2pvc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mofarrell%2Fp2pvc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mofarrell","download_url":"https://codeload.github.com/mofarrell/p2pvc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254264765,"owners_count":22041793,"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-31T03:01:24.439Z","updated_at":"2025-05-15T03:05:22.943Z","avatar_url":"https://github.com/mofarrell.png","language":"C","funding_links":[],"categories":["C","Tools"],"sub_categories":["Bash"],"readme":"# p2pvc\nA point to point color terminal video chat.\n\n![Demo](http://giant.gfycat.com/HideousSpiffyAdder.gif)\n\n[and here's a still image](http://i.imgur.com/ziRPCWE.png)\n\n# Installation\n\nArch users can install `p2pvc-git` from [the AUR](https://aur.archlinux.org/packages/p2pvc-git/)\n\n### Dependencies\n\n* OpenCV\n* PortAudio\n* ncurses\n\n#### Ubuntu:\n\n     sudo apt-get install libncurses-dev libopencv-dev portaudio19-dev\n\n#### OS X (with Homebrew):\n\n     brew install ncurses portaudio opencv\n\n#### OS X (with MacPorts):\n\n     sudo port install ncurses portaudio opencv\n\n### Compilation\nMake the binary.\n\n    make\n\nVideo chat with yourself to test the camera. (Be sure to mute your mic or speakers or you'll get feedback!)\n\n    ./p2pvc 127.0.0.1 -v\n\n# Usage\n\n#### Audio only\n\n    ./p2pvc [ip address]\n\n#### Flags\n\n`-v` enables video chat.\n\n     ./p2pvc [ip address] -v\n\n`-d` sets the dimension of the video in `[width]x[height]` format.\n\n     ./p2pvc [ip address] -v -d 200x50\n\n`-A` and `-V` allow you to specify the port the audio and video run on respectively.\n\n     ./p2pvc [ip address] -v -A 1337 -V 1338\n\n`-b` displays incoming bandwidth in the top-right of the video display.\n \n     ./p2pvc [ip address] -v -b\n\n`-e` to print stderr (which is by default routed to /dev/null).\n\n     ./p2pvc [ip address] -e\n     \n`-B` renders in Braille Unicode characters.  Note that the dimensions must both be divisible by 4. \n\n     ./p2pvc [ip address] -v -B -d 200x152\n\n`-I` sets the threshold for turning pixels on (when using the `-B` flag).  Ranges from 1 - 99, defaults 25.\n\n    ./p2pvc [ip address] -v -B -I 50\n\n`-E` sets and edge filter with `[lower]:[upper]` bounds.\n\n    ./p2pvc [ip address] -v -B -E 100:300\n\n`-c` sets the color of the video.  Used in the form `[r]:[g]:[b]`.  Each color ranges from 0 - 100.\n\n     ./p2pvc [ip address] -v -c 0:100:0\n\n`-s` sets the saturation of the colors in the video.  0.0 is greyscale, 2.0 is default.\n\n     ./p2pvc [ip address] -v -s 3.0\n     \n`-a` sets custom ASCII character maps.  Repeat characters to weight their frequency.\n\n     ./p2pvc [ip address] -v -a \" ......#####\"\n     \n`-r` sets the refresh rate.\n\n     ./p2pvc [ip address] -v -r 10\n     \n![Demo](http://fat.gfycat.com/WideRecklessChinesecrocodilelizard.gif)\n# Known problems and resolutions\n\n#### Black and white\n\nThis happens when p2pvc thinks the terminal doesn't have enough colors to display all 256.  Try `export TERM=xterm-256color` or equivalent to get it working.\n\n#### No connection made\n\np2pvc does not get around NAT, so you may need to port forward.  It uses ports 55555 and 55556 for audio and video respectively.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmofarrell%2Fp2pvc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmofarrell%2Fp2pvc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmofarrell%2Fp2pvc/lists"}