Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 10 of 10
  1. #1
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    2,544

    IPeng, Spotty and remote streaming

    Starting a thread because I don't know if this is an iPeng thing or a Spotty thing.
    I do a lot of remote streaming via SSL VPN (although type of VPN is irrelevant) using iPeng and headphones.
    Spotty tracks work over Wifi with VPN
    Doesn't work over 4G with VPN with bitrate limiting ON but does work over 4G if it's turned OFF.
    This is with LMS on Pi3.
    My guess is that Spotty takes the 320kbps OGG file and transcodes it to higher rate PCM which iPeng then asks it to limit to whatever the bitrate limit is set to and the Pi just can't cope but it works OK with local FLACs which get transcoded to the bitrate limit.

    I assume iPeng correctly identifies that it would like content at the bitrate limit that's set.

    Michael and or Pippin

    Thoughts?
    Pi3 with piCoreplayer music on QNAP TS419p via NFS iThingys/iPeng/Tablets/Jogglers
    Living Room - Joggler & SB3 -> Onkyo TS606 - > Celestion Ditton F20s
    Office - Pi -> Sony TA FE320 -> Celestion F10s / Pi & SB3 -> Onkyo CRN 755 -> Wharfedale Modus Cubes
    Dining Room -> SB Boom Kitchen -> UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) - SB Touch -> Topping TP21 -> AKG Headphones

  2. #2
    Senior Member pippin's Avatar
    Join Date
    Oct 2007
    Location
    Berlin
    Posts
    14,027
    iPeng just adjusts the player settings for bitrate limiting and it does that depending on whether it’s using cellular or WiFi, which is what you set in iPeng‘s bitrate limiting menu.
    The rest of course has to be done by the server.

    Michael has to answer this but I seem to remember that he’s throwing the PCM output of librespot at the transcoding framework so maybe that means the server can’t transcode again to make MP3 out of this.

    However ... usually this would still be supposed to work, other cases where transcoding fails you’d just get the untranscoded data.
    ---
    learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
    Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
    at penguinlovesmusic.com
    New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch

  3. #3
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,681

    IPeng, Spotty and remote streaming

    > Doesn't work over 4G with VPN with bitrate limiting ON but does work
    > over 4G if it's turned OFF.


    Do you have lame installed?

    --

    Michael

  4. #4
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,681

    IPeng, Spotty and remote streaming

    > Michael has to answer this but I seem to remember that heÂ’s throwing the
    > PCM output of librespot at the transcoding framework so maybe that means
    > the server canÂ’t transcode again to make MP3 out of this.


    I have added rules for mp3, and I think I did test bitrate limiting.
    Running the server with player.source=info would tell you more.

    --

    Michael

  5. #5
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    2,544
    Thanks Pippin
    I should have been clearer.
    When I say it doesn't work I mean that you get stuttering so whatever transcoding is supposed to be happening is being attempted by the Pi. It's at it's worst with bitrate limiting ON but does appear to a lesser extent even over a Wifi VPN.
    I am now wondering whether even a dedicated LMS only Pi just hasn't got the guts.
    I had no such issues with my VB 2.3 and SPH so it's either Spotty or the Pi I fear.
    Pi3 with piCoreplayer music on QNAP TS419p via NFS iThingys/iPeng/Tablets/Jogglers
    Living Room - Joggler & SB3 -> Onkyo TS606 - > Celestion Ditton F20s
    Office - Pi -> Sony TA FE320 -> Celestion F10s / Pi & SB3 -> Onkyo CRN 755 -> Wharfedale Modus Cubes
    Dining Room -> SB Boom Kitchen -> UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) - SB Touch -> Topping TP21 -> AKG Headphones

  6. #6
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    2,544
    Quote Originally Posted by mherger View Post
    > Doesn't work over 4G with VPN with bitrate limiting ON but does work
    > over 4G if it's turned OFF.


    Do you have lame installed?

    --

    Michael
    Good point. It's a new stock pCp 3.2 so I suspect not. I shall investigate further.
    Pi3 with piCoreplayer music on QNAP TS419p via NFS iThingys/iPeng/Tablets/Jogglers
    Living Room - Joggler & SB3 -> Onkyo TS606 - > Celestion Ditton F20s
    Office - Pi -> Sony TA FE320 -> Celestion F10s / Pi & SB3 -> Onkyo CRN 755 -> Wharfedale Modus Cubes
    Dining Room -> SB Boom Kitchen -> UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) - SB Touch -> Topping TP21 -> AKG Headphones

  7. #7
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    2,544
    Quote Originally Posted by mherger View Post
    > Doesn't work over 4G with VPN with bitrate limiting ON but does work
    > over 4G if it's turned OFF.


    Do you have lame installed?

    --

    Michael
    Lame is now installed and operating. So a bit of an update. If I connect to LMS remotely via 4G using iPeng & VPN with bitrate limiting on I now get better results but there are still unacceptable pauses. If I switch to the old VB2.3 there isn't any problem. I think I may have hit a limitation of a Pi3 as LMS server. I shall continue to tweak and if I can get acceptable results I shall post back.
    Pi3 with piCoreplayer music on QNAP TS419p via NFS iThingys/iPeng/Tablets/Jogglers
    Living Room - Joggler & SB3 -> Onkyo TS606 - > Celestion Ditton F20s
    Office - Pi -> Sony TA FE320 -> Celestion F10s / Pi & SB3 -> Onkyo CRN 755 -> Wharfedale Modus Cubes
    Dining Room -> SB Boom Kitchen -> UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) - SB Touch -> Topping TP21 -> AKG Headphones

  8. #8
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,681

    IPeng, Spotty and remote streaming

    > Lame is now installed and operating. So a bit of an update. If I connect
    > to LMS remotely via 4G using iPeng & VPN with bitrate limiting on I now
    > get better results but there are still unacceptable pauses. If I switch
    > to the old VB2.3 there isn't any problem. I think I may have hit a
    > limitation of a Pi3 as LMS server. I shall continue to tweak and if I
    > can get acceptable results I shall post back.


    Did you ever check your Pi's load using top? Imho it should have enough
    oomph to handle transcoding. After all it has four cores. Enough to
    assign each to LMS, Spotty, and lame.

    --

    Michael

  9. #9
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    2,544
    Quote Originally Posted by mherger View Post
    > Lame is now installed and operating. So a bit of an update. If I connect
    > to LMS remotely via 4G using iPeng & VPN with bitrate limiting on I now
    > get better results but there are still unacceptable pauses. If I switch
    > to the old VB2.3 there isn't any problem. I think I may have hit a
    > limitation of a Pi3 as LMS server. I shall continue to tweak and if I
    > can get acceptable results I shall post back.


    Did you ever check your Pi's load using top? Imho it should have enough
    oomph to handle transcoding. After all it has four cores. Enough to
    assign each to LMS, Spotty, and lame.

    --

    Michael
    Not had a chance to do that yet Michael but I was out today and it was working OK. I haven't made any changes. Bizarre.
    Pi3 with piCoreplayer music on QNAP TS419p via NFS iThingys/iPeng/Tablets/Jogglers
    Living Room - Joggler & SB3 -> Onkyo TS606 - > Celestion Ditton F20s
    Office - Pi -> Sony TA FE320 -> Celestion F10s / Pi & SB3 -> Onkyo CRN 755 -> Wharfedale Modus Cubes
    Dining Room -> SB Boom Kitchen -> UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) - SB Touch -> Topping TP21 -> AKG Headphones

  10. #10
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    2,544
    An update
    It's all working perfectly now. My remote streaming via 4G from the pCP Pi is just as good as it was from my VB2.3.
    I am putting the 4G pauses I was experiencing down to the recent weather (seriously). I think the 4G signal around here has been affected.
    Still going to build a VB2.4 though as I like it's ripping ability but it will be hacked to rip directly to my NAS via NFS
    Pi3 with piCoreplayer music on QNAP TS419p via NFS iThingys/iPeng/Tablets/Jogglers
    Living Room - Joggler & SB3 -> Onkyo TS606 - > Celestion Ditton F20s
    Office - Pi -> Sony TA FE320 -> Celestion F10s / Pi & SB3 -> Onkyo CRN 755 -> Wharfedale Modus Cubes
    Dining Room -> SB Boom Kitchen -> UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) - SB Touch -> Topping TP21 -> AKG Headphones

Posting Permissions

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