From d3d3f2179c898292acdd3ff93d71b1393d91de65 Mon Sep 17 00:00:00 2001 From: Johannes Pohl Date: Tue, 26 Jul 2016 20:23:25 +0200 Subject: [PATCH] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index d4eb934d..8b47e94d 100644 --- a/README.md +++ b/README.md @@ -139,6 +139,11 @@ To test your mpd installation, you can add a radio station by #output = autoaudiosink output = audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! wavenc ! filesink location=/tmp/snapfifo +###MPlayer setup +Use `-novideo` and `-ao` to pipe MPlayer's audio output to the snapfifo: + + mplayer http://wms-15.streamsrus.com:11630 -novideo -channels 2 -srate 48000 -af format=s16le -ao pcm:file=/tmp/snapfifo + ###Alsa setup If the player cannot be configured to route the audio stream into the snapfifo, Alsa or PulseAudio can be redirected, resulting in this chain: