Difficulty using SBT to reach streaming source (VLC) on LAN

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Atlantic
    Senior Member
    • Feb 2011
    • 121

    Difficulty using SBT to reach streaming source (VLC) on LAN

    I have a USB codec (ADC) plugged into a Windows laptop and I have VLC on that laptop playing the USB codec source through the laptop speakers. I've tried to setup VLC to (also) stream that source, but I cannot get my SB Touch to stream from it. Settings are:

    Laptop IP : 192.168.0.101

    VLC stream settings (4 different attempts):
    (i) Stream via http, localhost, port 1234
    (ii) Stream via http, 192.168.0.101, port 1234
    (iii) Stream via rtp, 192.168.0.101, port 1234
    (iv) 'Stream locally' ticked, Stream via http, localhost, port 1234

    Laptop firewall settings: VLC has open access on all ports, either direction

    Using 'tune in a URL' on SBS, http://192.168.0.101:1234, 'click on play', SBT tries to contact http://192.168.0.101, for a few seconds, then stops.

    I'd be grateful for any advice, and in particular,
    (a) Is this approach feasible, using VLC to stream a local source across the LAN to an SBT?
    (b) Will SBT work ok with an http url such as I've been using?
    (c) if anyone else uses VLC, which settings ought I be using? Should I 'tick' 'stream locally', and do I need to also fill in the url field on VLC's stream menu?

    Would be grateful for any suggestions.

    regards, Atlantic
  • bpa
    Senior Member
    • Oct 2005
    • 22880

    #2
    For LMS to play a VLC stream - it needs ot have a name and extension and also VLC will only stream MP3

    See this thread

    Comment

    • d6jg
      Senior Member
      • Feb 2011
      • 8952

      #3
      Try streamwhatyouhear - it works ok
      Jim



      pCP9.0 / LMS 9.x storage QNAP TS419p (NFS)
      Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
      Office Joggler & Pi3 -> Onkyo CRN775 -> Wharfedale Modus Cubes
      Kitchen WiiM Pro -> Topping MX3 - B&W In Ceiling speakers
      Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
      Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
      Guest Room Joggler > Denon RCFN8 -> Celestions F10s

      Comment

      • Atlantic
        Senior Member
        • Feb 2011
        • 121

        #4
        Originally posted by bpa
        For LMS to play a VLC stream - it needs ot have a name and extension and also VLC will only stream MP3

        See this thread
        http://forums.slimdevices.com/showth...ebox-using-VLC
        That was a great link, helped me to get it going. I could connect an analogue source to a USB codec, plug the USB codec into a Windows laptop, and use VLC to stream the analogue source to any squeezebox player in the house. Exactly what I needed.

        For anyone interested, here are the settings I used:

        Laptop

        - Analogue source (line level) plugged into USB codec inputs (ADC)

        - Windows PC with VLC
        Eg laptop on WiFi, I use static addresses and this laptop is 192.168.0.101

        - Laptop Firewall set to give VLC full in/out access

        - Sound settings (from Windows Control Panel) Enable USB codec in, Disable mic in, Disable line in
        Enable Speakers out, disable USB codec out
        Configure speakers to be full range - this may be needed to prevent Windows trying to 'compensate' the sound source

        VLC settings

        - VLC set to use default audio system
        Set to stream as:
        :sout=#transcode{acodec=mpga,ab=256,channels=2}:du plicate{dst=std{access=http,mux=raw,dst=192.168.0. 101:1234/vlc.mp3}}
        Un-tick 'play locally' - this also may be needed to prevent Windows trying to 'compensate' the sound source, as well as preventing the annoying tinny sound

        Squeezebox

        - Use SBS 'Internet Radio, tune a URL', and set to http://192.168.0.101:1234/vlc.mp3

        There are 2 things I would like to try sometime in the future:

        - see if codec flac (acodec=flac) would work, with flac filename (vlc.flac), though bpa suggests this might not work
        - see if I can get a Linux laptop to manage this - when I briefly tried, VLC couldn't see the USB codec source (though Audacity can).

        Thanks to bpa for the link, and to d6jg for the streamwhatyouhear suggestion (which looks useful but I didn't need, in the end)

        regards, Atlantic
        Last edited by Atlantic; 2015-12-31, 14:21.

        Comment

        Working...