From cb5211684e8d4300641f36830ed3445e72a3f8bd Mon Sep 17 00:00:00 2001 From: Sergio Date: Fri, 13 Jun 2014 12:28:32 +0200 Subject: Added option to ignore EOF fifo and generates silence --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index c1ccff2..533ef02 100644 --- a/README.md +++ b/README.md @@ -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 & + 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 -- cgit v1.2.3