Giter Site home page Giter Site logo

naonaoyh / broadcast-fingerprint-monitor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nondescriptpointer/broadcast-fingerprint-monitor

0.0 2.0 0.0 15 KB

Scan for an audio fingerprint within an audio stream.

License: MIT License

Makefile 3.81% C++ 96.19%

broadcast-fingerprint-monitor's Introduction

Broadcast fingerprint monitor

A small C++ program to monitor a radio stream if a specific track or ad is played. It's using gstreamer to pull in the PCM data and echoprint-codegen for fingerprinting.

To use, first build a fingerprint of what you want to scan for: monitor build file:///path/to/file.mp3 This will create a ref_fingerprint.dat in your pwd. Then just run this to start scanning a radio channel monitor scan "http://url-to.com/livestream.mp4" streamid commandtorunwhenfound

Notes:

  • You'll probably want to modify the buffersize (buffer that is matched to the audio fingerpint), updaterate (how often the fingerprints are compared) and minimum_rate (how many codes need to match at a minimum to match)
  • I am currently only using the codes, not the frames from echoprint. Accuracy can be increased by using the frames and alignment as well.
  • Echoprint has been slightly modified to not compress the fingerprints since that is not needed for my use case. You can find this fork here.

Todo:

  • Log the PCM data buffer when a match has been found for diagnostics

broadcast-fingerprint-monitor's People

Contributors

nondescriptpointer avatar

Watchers

 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.