aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiratfm <piratfm@gmail.com>2013-09-11 19:53:58 +0300
committerMatthias P. Braendli <matthias.braendli@mpb.li>2013-12-14 17:42:35 +0100
commit219bb64bfbd79e7b13cfcaa83c3fa60ab6b80cd0 (patch)
tree75cf7655eb4586b8dc9b188251a66fc84f9037cb
parentf91893ab1b9187d71a1c9709f8b7fc2ad8047ddf (diff)
downloadODR-AudioEnc-219bb64bfbd79e7b13cfcaa83c3fa60ab6b80cd0.tar.gz
ODR-AudioEnc-219bb64bfbd79e7b13cfcaa83c3fa60ab6b80cd0.tar.bz2
ODR-AudioEnc-219bb64bfbd79e7b13cfcaa83c3fa60ab6b80cd0.zip
Update README.md
add more info
-rw-r--r--README.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6d61fa2..cd9c104 100644
--- a/README.md
+++ b/README.md
@@ -18,3 +18,28 @@ aac-enc-dabplus [OPTION...]
-c, --channels={ 1, 2 } Nb of input channels for raw input (default: 2).
-r, --rate={ 32000, 48000 } Sample rate for raw input (default: 48000).
+
+
+How to build
+===============
+
+* Download code and unpack it.
+* Download and install libfec from crc.ca website: http://mmbtools.crc.ca/content/view/39/65/ (follow instructions on that website).
+* do "./configure --enable-example", then "make" and "make install"
+* use aac-enc-dabplus to encode live stream or file.
+
+
+How to use
+===============
+
+Scenario 1 (Live Stream enconding and preparing for DAB muxer):
+
+ arecord -t raw -f S16_LE -c 2 -r 48000 -D plughw:CARD=Loopback,DEV=0,SUBDEV=0 | \
+ aac-enc-dabplus -b 24 -f raw -c 2 -r 48000 -i /dev/stdin -o /dev/stdout 2>/dev/null | \
+ mbuffer -q -m 10k -P 100 -s 360 > station1.fifo
+
+
+Scenario 2 (Wave file enconding):
+
+ aac-enc-dabplus -a -b 64 -i wave_file.wav -o station1.dabp
+