Skip to content

acrcloud/acrcloud_scan_files_go

Repository files navigation

Audio Recognition -- File Scan Tool (Golang)

Overview

ACRCloud provides Automatic Content Recognition services for Audio Fingerprinting based applications such as Audio Recognition (supports music, video, ads for both online and offline), Broadcast Monitoring, Second Screen, Copyright Protection and etc.

This tool can scan audio/video files and detect audios you want to recognize such as music, ads.

Supported Format:

 Audio: mp3, wav, m4a, flac, aac, amr, ape, ogg ...
 Video: mp4, mkv, wmv, flv, ts, avi ...

Feature

  • Scan file
  • Scan network file
  • Export the report
  • Scan folder
  • Custom report fields
  • Filter report result

Usage

Download the latest execution file from release page

Before you use this tool, you must have acrcloud host, access_key and access_secret.

If you haven't have these, you can register one.

Rename config.yaml.example to config.yaml and fill in host, key and secret

-  host:
-  access_key:
-  access_secret:
+  host: HOST ADDRESS in your console
+  access_key:  ACCESS KEY in your console
+  access_secret: ACCESS SECRET in your console 

Notice: the libacrcloud_extr_tool.dylib file must be in the same directory with main file

GLOBAL OPTIONS:
   --mode MODE, -m MODE        MODE: local, network (default: "local")
   --type TYPE, -t TYPE        TYPE: folder, file (default: "file")
   --filename PATH, -f PATH    PATH: the file need to scan
   --url URL, -u URL           URL: the network file you want to scan (when using network mode)
   --output OUTPUT, -o OUTPUT  OUTPUT: the directory to save the results
   --filter FILTER, -l FILTER  FILTER: combine, fuzzy
   --help, -h                  show help
   --version, -v               print the version

Scan a file and save the result:

./main scan -f ~/media_files/test.mp4 -o ~/media_files/report.csv

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published