@@ -23,20 +23,6 @@ On Macintosh with [homebrew](http://bew.sh/), for example:
2323
2424``` bash
2525brew install ffmpeg chromaprint make
26- git clone
[email protected] :djthorpe/go-media.git
27- cd go-media
28- make
29- ```
30-
31- On Debian Linux:
32-
33-
34- ``` bash
35- sudo apt install libavcodec-dev libavdevice-dev libavfilter-dev \
36- libavformat-dev libavresample-dev libavutil-dev libchromaprint-dev
37- git clone
[email protected] :djthorpe/go-media.git
38- cd go-media
39- make
4026```
4127
4228There are some examples in the ` cmd ` folder of the main repository on how to use
@@ -47,6 +33,14 @@ the package. The various make targets are:
4733 * ` make cmd ` will build example command-line tools into the ` build ` folder;
4834 * ` make clean ` will remove all build artifacts.
4935
36+ For example,
37+
38+ ``` bash
39+ git clone
[email protected] :djthorpe/go-media.git
40+ cd go-media
41+ make
42+ ```
43+
5044## Examples
5145
5246There are two example [ Command Line applications] ( https://github.com/mutablelogic/go-media/tree/master/cmd ) :
@@ -59,9 +53,9 @@ You can compile both applications with `make cmd`which places the binaries into
5953Use the ` -help ` option on either application to see the options.
6054
6155
62- ## The Media Transcoding API
56+ ## Media Transcoding
6357
64- The API is split into two parts :
58+ You can programmatically demultiplex, re-multiplex and re-sample media files using the following packages :
6559
6660 * ` sys/ffmpeg51 ` provides the implementation of the lower-level function calls
6761 to ffmpeg. The documentation is [ here] ( https://pkg.go.dev/github.com/mutablelogic/go-media/sys/ffmpeg51 )
@@ -75,7 +69,15 @@ The API is split into two parts:
7569
7670## Audio Fingerprinting
7771
78- TODO
72+ You can programmatically fingerprint audio files, compare fingerprints and identify music using the following packages:
73+
74+ * ` sys/chromaprint ` provides the implementation of the lower-level function calls
75+ to chromaprint. The documentation is [ here] ( https://pkg.go.dev/github.com/mutablelogic/go-media/sys/chromaprint )
76+ * ` pkg/chromaprint ` provides the higher-level API for fingerprinting and identifying music. The documentation
77+ is [ here] ( https://pkg.go.dev/github.com/mutablelogic/go-media/pkg/chromaprint ) .
78+
79+ You'll need an API key in order to use the [ AcoustID] ( https://acoustid.org/ ) service. You can get a key
80+ [ here] ( https://acoustid.org/login ) .
7981
8082## Contributing & Distribution
8183
@@ -86,7 +88,7 @@ The license is Apache 2 so feel free to redistribute. Redistributions in either
8688code or binary form must reproduce the copyright notice, and please link back to this
8789repository for more information:
8890
89- > Copyright (c) 2021, David Thorpe, All rights reserved.
91+ > Copyright (c) 2021-2023 David Thorpe, All rights reserved.
9092
9193## References
9294
0 commit comments