diff options
author | Sergio <sergio@sergione.(none)> | 2014-06-13 12:28:32 +0200 |
---|---|---|
committer | Sergio <sergio@sergione.(none)> | 2014-06-13 12:28:32 +0200 |
commit | cb5211684e8d4300641f36830ed3445e72a3f8bd (patch) | |
tree | 5889800d2cc867d5fecbfe935701b287aa29c2ca /README.md | |
parent | eedf902dde96026057fb71e0743864d3257f4a20 (diff) | |
download | ODR-AudioEnc-cb5211684e8d4300641f36830ed3445e72a3f8bd.tar.gz ODR-AudioEnc-cb5211684e8d4300641f36830ed3445e72a3f8bd.tar.bz2 ODR-AudioEnc-cb5211684e8d4300641f36830ed3445e72a3f8bd.zip |
Added option to ignore EOF fifo and generates silence
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -138,8 +138,20 @@ arecord. Here we are using the ALSA plughw feature. + Scenario 5 ---------- +Live Stream resampling (to 32KHz) and encoding from FIFO and preparing for DAB muxer, with FIFO to odr-dabmux +using mplayer. If there are no data in FIFO, encoder generates silence. + + mplayer -quiet -loop 0 -af resample=32000:nowaveheader,format=s16le,channels=2 -ao pcm:file=/tmp/aac.fifo:fast <FILE/URL> & + dabplus-enc -l -f raw --fifo-silence -i /tmp/aac.fifo -r 32000 -c 2 -b 72 -o /dev/stdout \ + mbuffer -q -m 10k -P 100 -s 1080 > station1.fifo + +*Note*: Do not use /dev/stdout for pcm oputput in mplayer. Mplayer log messages on stdout. + +Scenario 6 +---------- Wave file encoding, for non-realtime processing dabplus-enc -a -b $BITRATE -i wave_file.wav -o station1.dabp |