Sorry if this seems a silly question, but where's this flac parameter - on the same line?
Is this line of code all I'm supposed to do to get the stream playable? I'm only getting silence at the moment and a reported (in SC) bitrate of 128kb/s OGG. Do I have to disable some of the other options in conv.conf?
Phileas
Results 21 to 30 of 74
-
2009-07-26, 02:31 #21Senior Member
- Join Date
- Oct 2008
- Location
- Bristol, England
- Posts
- 108
Phileas
Lounge:(PC>)SB3>AVI ADM40
Study:(PC>)Touch>Benchmark DAC1>Sennheiser HD580/Behringer Truth B2030A
Bedroom:(PC>)Boom
-
2009-07-26, 10:12 #22Senior Member
- Join Date
- Feb 2007
- Location
- Olde London Town
- Posts
- 1,099
I was meaning the sample rate parameter to the flac command needs to be matched to 48000, so in convert.conf I commented out this
and replaced with thisCode:#ogg flc * * # # IFRD:{RESAMPLE=-r %d} # [sox] -t ogg $FILE$ -t flac -C 0 $RESAMPLE$ -
Restart Squeezcenter, then in the filetypes menu, I set the FLAC handling of Ogg Vorbis to be "mplayer/flac" from the dropdown options and disabled the others.Code:ogg flc * * # R [mplayer] -really-quiet -vc null -vo null -cache 512 -af volume=0,channels=2 -ao pcm:nowaveheader:file=#PIPE# $FILE$ | [flac] -cs --totally-silent --endian=little --channels=2 --sign=signed --bps=16 --sample-rate=48000 --compression-level-0 -
The Squeezebox display shows 128kbps, but I assume that's just an aberration.Last edited by amcluesent; 2009-07-26 at 10:18.
-
2009-07-26, 11:10 #23Senior Member
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 11,251
A word of warning - the suggested 48000 solution will makew Flac assume all streams from mplayer are 48kHz so that if you try to play a stream with 44.1kHz you will get speed problems. A proper solution would be to have mplayer send a WAV header so that sample rates are matched.
-
2009-07-26, 12:02 #24Senior Member
- Join Date
- Oct 2008
- Location
- Bristol, England
- Posts
- 108
-
2009-08-03, 08:15 #25
So what's the answer for the relatively non technical?
When will SB stream
http://radio.cesnet.cz:8000/cro-d-dur.flac
I have just set up my new Beresford Caiman to use Foobar with WASAPI from my laptop into the USB input.
Foobar will stream
http://radio.cesnet.cz:8000/cro-d-dur.flac
and that station is amazing.
When, O when Squeezebox gurus?Last edited by Labarum; 2009-08-03 at 10:18.
Brian
In Southampton: Quad 77 Integrated Amp - AVI Neutron 4
In Nicosia: Quad 520f refreshed by Dada - Quart 980s German Tower Loudspeakers. Boom in conservatory.
http://www.hifi-wiki.de/index.php/MB_Quart_980_S
In both: Squeezebox Classic, Beresford Caiman DAC, Sony MDR-F1 Headphones
-
2009-08-03, 10:14 #26
Yeah this is really interesting to me too, but we just don't have time to work on it right now. I have filed an enhancement though: http://bugs.slimdevices.com/show_bug.cgi?id=12893
-
2009-08-03, 10:19 #27
Thanks Andy. I will have to be patient!
Brian
In Southampton: Quad 77 Integrated Amp - AVI Neutron 4
In Nicosia: Quad 520f refreshed by Dada - Quart 980s German Tower Loudspeakers. Boom in conservatory.
http://www.hifi-wiki.de/index.php/MB_Quart_980_S
In both: Squeezebox Classic, Beresford Caiman DAC, Sony MDR-F1 Headphones
-
2009-08-04, 00:35 #28Senior Member
- Join Date
- Dec 2005
- Location
- Sutton Coldfield, UK
- Posts
- 158
Just wanted to say that the station's (D-Dur) homepage has a fantastic free flac download offer of the 6 Brandenburg Concertos by Musica Florea.
They sound fantastic.
http://www.rozhlas.cz/d-dur/english
Will vote for the bug as soon as my Bugzilla account is created.
-
2009-08-04, 00:51 #29
Yes, they are very good.
Brian
In Southampton: Quad 77 Integrated Amp - AVI Neutron 4
In Nicosia: Quad 520f refreshed by Dada - Quart 980s German Tower Loudspeakers. Boom in conservatory.
http://www.hifi-wiki.de/index.php/MB_Quart_980_S
In both: Squeezebox Classic, Beresford Caiman DAC, Sony MDR-F1 Headphones
-
2009-09-25, 01:49 #30Senior Member
- Join Date
- Sep 2008
- Location
- Bern, Switzerland
- Posts
- 199
Hi there
Unfortunately the hack doesn't work anymore with 7.4. Could one of the pros give me a hint what I will have to change on these lines to make it work again? D-dur in FLAC turned out to be my favored classical station.
(I don't care if OGG files are not playable and all the OGG streams I'm listening to are 48kHz.)
Thanks!Code:ogg flc * * # R [mplayer] -really-quiet -vc null -vo null -cache 256 -af volume=0,channels=2 -ao pcm:nowaveheader:file=#PIPE# $FILE$ | [flac] -cs --totally-silent --endian=little --channels=2 --sign=signed --bps=16 --sample-rate=48000 --compression-level-0 -


Reply With Quote

