diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-06-13 16:57:07 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-06-13 16:57:07 +0200 |
commit | 039b48b75d8b26d4a15c01be7513140a6be493da (patch) | |
tree | 5889800d2cc867d5fecbfe935701b287aa29c2ca /README.md | |
parent | eedf902dde96026057fb71e0743864d3257f4a20 (diff) | |
parent | cb5211684e8d4300641f36830ed3445e72a3f8bd (diff) | |
download | fdk-aac-dabplus-039b48b75d8b26d4a15c01be7513140a6be493da.tar.gz fdk-aac-dabplus-039b48b75d8b26d4a15c01be7513140a6be493da.tar.bz2 fdk-aac-dabplus-039b48b75d8b26d4a15c01be7513140a6be493da.zip |
Merge pull request #2 from sergione76/master
Add option to ignore EOF fifo and generate 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 |