Git Product home page Git Product logo

p2pvc's Introduction

p2pvc

A point to point color terminal video chat.

![demo] (http://giant.gfycat.com/HideousSpiffyAdder.gif)

and here's a still image

Installation

Arch users can install p2pvc-git from the AUR

Build from source

Make the binary.

make

Video chat with yourself to test the camera. (Be sure to mute your mic or speakers or you'll get feedback!)

./p2pvc 127.0.0.1 -v

Dependencies

  • OpenCV
  • PulseAudio
  • ncurses

If you are running Ubuntu: sudo apt-get install libncurses-dev libopencv-dev libpulse-dev

Usage

Audio only

./p2pvc [ip address]

Flags

-v flag enables video chat.

 ./p2pvc [ip address] -v

-d flag allows you to specify the dimension of the video in either [width]x[height] or [width]:[height] format. Note that both users should specify the same dimension.

 ./p2pvc [ip address] -v -d 200x50

-A and -V flags allow you to specify the port the audio and video run on respectively.

 ./p2pvc [ip address] -v -A 1337 -V 1338

Known problems and resolutions

Black and white

This 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.

No connection made

p2pvc does not get around NAT, so you may need to port forward. It uses ports 55555 and 55556 for audio and video respectively.

p2pvc's People

Contributors

cpd85 avatar emgram769 avatar mofarrell avatar stefandasbach avatar tmatth avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.