Created
September 5, 2014 14:15
-
-
Save timss/181bcd872463a3518b8b to your computer and use it in GitHub Desktop.
mpd http pcm wav stream + mplayer, only giving 705.6 kbit/s
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mediainfo 06.Black Sun Empire - The Rat (Kemal Remix).flac | |
General | |
Complete name : 06.Black Sun Empire - The Rat (Kemal Remix).flac | |
Format : FLAC | |
Format/Info : Free Lossless Audio Codec | |
File size : 43.3 MiB | |
Duration : 6mn 55s | |
Overall bit rate mode : Variable | |
Overall bit rate : 873 Kbps | |
Album : Driving Insane CD1 | |
Track name : The Rat (Kemal Remix) | |
Track name/Position : 06 | |
Performer : Black Sun Empire | |
Genre : Drum & Bass | |
Recorded date : 2004 | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
audio_output { | |
type "httpd" | |
name "HTTP stream (pcm wav)" | |
encoder "wave" | |
port "8000" | |
format "44100:16:1" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mplayer --idle -cache 2048 <stream> | |
... | |
Selected audio codec: Uncompressed PCM [pcm] | |
AUDIO: 44100 Hz, 1 ch, s16le, 705.6 kbit/100.00% (ratio: 88200->88200) | |
AO: [pulse] 44100Hz 1ch s16le (2 bytes per sample) | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solution: format should be
44100:16:2
, giving a bitrate of 1411.2 kbit/s over stereo.