Home of the Squeezebox™ & Transporter® network music players.
Page 3 of 8 FirstFirst 12345 ... LastLast
Results 21 to 30 of 74
  1. #21
    Senior Member
    Join Date
    Oct 2008
    Location
    Bristol, England
    Posts
    108
    Quote Originally Posted by amcluesent View Post
    I removed the 'resample=44100:0:1' directive from mplayer and set the flac parameter to 48000.
    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
    Phileas

    Lounge:(PC>)SB3>AVI ADM40
    Study:(PC>)Touch>Benchmark DAC1>Sennheiser HD580/Behringer Truth B2030A
    Bedroom:(PC>)Boom

  2. #22
    Senior 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

    Code:
    #ogg flc * *
    #	# IFRD:{RESAMPLE=-r %d}
    #	[sox] -t ogg $FILE$ -t flac -C 0 $RESAMPLE$ -
    and replaced with this

    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 -
    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.

    The Squeezebox display shows 128kbps, but I assume that's just an aberration.
    Last edited by amcluesent; 2009-07-26 at 10:18.

  3. #23
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    11,252
    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.

  4. #24
    Senior Member
    Join Date
    Oct 2008
    Location
    Bristol, England
    Posts
    108
    Quote Originally Posted by amcluesent View Post
    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

    Code:
    #ogg flc * *
    #	# IFRD:{RESAMPLE=-r %d}
    #	[sox] -t ogg $FILE$ -t flac -C 0 $RESAMPLE$ -
    and replaced with this

    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 -
    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.

    The Squeezebox display shows 128kbps, but I assume that's just an aberration.
    Ah - that's it. Thanks.

    Phileas
    Phileas

    Lounge:(PC>)SB3>AVI ADM40
    Study:(PC>)Touch>Benchmark DAC1>Sennheiser HD580/Behringer Truth B2030A
    Bedroom:(PC>)Boom

  5. #25
    Senior Member Labarum's Avatar
    Join Date
    Sep 2008
    Location
    Southampton, UK & Nicosia, Cyprus
    Posts
    626
    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

  6. #26
    Administrator andyg's Avatar
    Join Date
    Jan 2006
    Location
    Pittsburgh, PA
    Posts
    7,396
    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

  7. #27
    Senior Member Labarum's Avatar
    Join Date
    Sep 2008
    Location
    Southampton, UK & Nicosia, Cyprus
    Posts
    626
    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

  8. #28
    Senior 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.

  9. #29
    Senior Member Labarum's Avatar
    Join Date
    Sep 2008
    Location
    Southampton, UK & Nicosia, Cyprus
    Posts
    626
    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

  10. #30
    Senior 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.)

    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 -
    Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •