GithubHelp home page GithubHelp logo

gizahnl / libklvanc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stoth68000/libklvanc

0.0 0.0 0.0 51.24 MB

VANC Processing Framework

Shell 0.09% C 97.87% Makefile 0.91% M4 0.42% Meson 0.71%

libklvanc's Introduction

Introduction

Libklvanc is a library which can be used for parsing/generation of Vertical Ancillary Data (VANC) commonly found in the Serial Digital Interface (SDI) wire protocol.

The library includes a general parser/decoder and an encoder for VANC lines, as well as the ability to both decode and generate protocols commonly found in SDI, including:

  • SMPTE ST 334 - CEA-708 closed captions in VANC
  • SMPTE ST 2016 Active Format Descriptor (AFD) and Bar Data
  • SCTE-104 Ad triggers
  • SMPTE ST 2038 arbitrary VANC encapsulation
  • SMPTE ST 12-2 Timecodes
  • SMPTE RDD 8 Subtitle Distribution packets
  • SMPTE ST 2108-1 HDR/WCG Metadata Packing and Signaling

By providing both encoders and decoders, the library can be used for common use cases involving both capture of SDI (and subsequent decoding) as well as generation of VANC for inclusion in an SDI output interface. This includes computing/validating checksums at various levels and dealing with subtle edge cases related to VANC line formatting such as ensuring packets are contiguous.

The library also provides utility functions for various colorspaces VANC may be represented in, including the V210 format typically used by BlackMagic Decklink SDI cards.

Beyond this Readme.MD file, API level documentation can be generated via Doxygen (see "Making Documentation" section below).

Users should refer to the "tools" subdirectory for some test code which which make use of the library. For a "real world" application, refer to the klvanc-tools package, which make use of libklvanc in conjunction with Blackmagic cards to capture real SDI signals.

https://github.com/stoth68000/klvanc-tools

LICENSE

LGPL-V2.1
See the included lgpl-2.1.txt for the complete license agreement.

Dependencies

  • Doxygen (if generation of API documentation is desired)

Compilation

    ./autogen.sh --build
    ./configure --enable-shared=no
    make

Making Documentation:

To make doxygen documentation in the doxygen folder, run the following command:

    make docs

To view the documentation, cd into the doxygen/html/ directory and open the index.html file in a browser window.

Verifying the compilation:

The library comes with a series of test cases which allow the user to confirm the library is working appropriately (as well as allowing us to watch for regressions).

To run the tests after compilation, run the following command:

    make test

Compilation with meson

Meson can be used as an alternative to autotools:

    meson build
    ninja -C build

The documentation will be built automatically if Doxygen is available

Running tests with meson

    meson test -C build

libklvanc's People

Contributors

dheitmueller avatar gizahnl avatar mathieuduponchelle avatar pkeroulas avatar stoth68000 avatar stuartm avatar yvesdm3000 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.