GithubHelp home page GithubHelp logo

ss-sync's Introduction

How to Build

You will need gstreamer-1.0 and the gst-rtsp-server development files in order to build this program. In Ubuntu 16.04, you can install these by running:

$ sudo apt install libgstreamer1.0-dev libgstrtspserver-1.0-dev

In order to build, simply run make:

$ make

How to Run the Server

Pass an mkv file containing an H.265 video as the only argument to ss-sync:

$ ./ss-sync ~/sample_data/1_cam01.mkv

How to Watch the Video

You can use any video player supporting RTSP. For example, to use the command-line version of VLC run:

$ cvlc rtsp://localhost:8554/test

Checking the Timestamps

Use tcpdump or wireshark to capture the packets while being played:

$ sudo tcpdump -i lo -w foo.pcap

Then filter for RTP packets containing the header extensions in wireshark: rtp.ext eq 1. Under RTP headers, you will see the extension headers with the type 0xabac. The first header is the seconds portion of the timestamp, while the second header contains the nanoseconds.

ss-sync's People

Contributors

elektito avatar

Watchers

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