Home of the Squeezebox™ & Transporter® network music players.
Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 32
  1. #21
    Many thanks for the super-fast response. Apologies for my misinterpretation of your instructions.

    1. Original convert.conf put back
    2. New custom-convert.conf created and saved as per instructions :set list seems to show just NL which I think is what is required. (file attached)
    3. Server re-started
    4. Debug player.source enabled from Server settings / Advanced / Logging [apply]
    5. Attempted to run BBC R4 on demand at 12:01- same as before: 'Connecting' on screen a brief flick of 'now playing' and then back to resting state.
    6. 30 second wait and log file zipped and downloaded from web interface (attached) - The action seems to kick off at 18-02-28 12:01:31.4587
    7. Debug turned off and applied
    Attached Files Attached Files
    Last edited by mikebainbridge; 2018-02-27 at 18:56. Reason: Added convert.conf file as well as custom

  2. #22
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    18,623
    From the log below the conf file is OK and it has executed the correct command line. The problem is the command line does not seem to run on your system.

    Check whether the faad and sox actually run on your system, try the following at a shell prompt - you should get banner lines.

    /usr/share/squeezeboxserver/Bin/armhf-linux/faad
    /usr/share/squeezeboxserver/Bin/armhf-linux/sox

    You are playing HLS format streams. As I have no reference system for HLS streams, I don't support using HLS so there may be a problem with timing when streaming and then running faad/sox on ARM processor. Please set preferences to use DASH first.


    Code:
    [18-02-28 12:01:30.1082] Slim::Player::Song::open (363) hls://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/vpid/b09smgt9/mediaset/audio-syndication/proto/http|
    [18-02-28 12:01:30.1095] Slim::Player::Song::open (387) seek=false time=0 canSeek=1
    [18-02-28 12:01:30.1104] Slim::Player::TranscodingHelper::checkBin (242) Checking formats for: aac-aif-squeezebox-00:04:20:05:90:fc
    [18-02-28 12:01:30.1108] Slim::Player::TranscodingHelper::checkBin (242) Checking formats for: aac-aif-*-00:04:20:05:90:fc
    [18-02-28 12:01:30.1113] Slim::Player::TranscodingHelper::checkBin (242) Checking formats for: aac-aif-squeezebox-*
    [18-02-28 12:01:30.1117] Slim::Player::TranscodingHelper::checkBin (242) Checking formats for: aac-aif-*-*
    [18-02-28 12:01:30.1121] Slim::Player::TranscodingHelper::checkBin (242) Checking formats for: aac-pcm-squeezebox-00:04:20:05:90:fc
    [18-02-28 12:01:30.1125] Slim::Player::TranscodingHelper::checkBin (242) Checking formats for: aac-pcm-*-00:04:20:05:90:fc
    [18-02-28 12:01:30.1130] Slim::Player::TranscodingHelper::enabledFormat (209) Checking to see if aac-pcm-*-00:04:20:05:90:fc is enabled
    [18-02-28 12:01:30.1134] Slim::Player::TranscodingHelper::checkBin (250)    enabled
    [18-02-28 12:01:30.1138] Slim::Player::TranscodingHelper::checkBin (252)   Found command: [faad] -q -w -f 1 -b 1 $FILE$ | [sox] -q -t wav $FILE$ -t raw -r 44100 -c 2 -2 -s -
    [18-02-28 12:01:30.1145] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: aac->pcm via: [faad] -q -w -f 1 -b 1 $FILE$ | [sox] -q -t wav $FILE$ -t raw -r 44100 -c 2 -2 -s -
    [18-02-28 12:01:30.1151] Slim::Player::Song::open (408) Transcoder: streamMode=I, streamformat=pcm
    [18-02-28 12:01:30.1157] Slim::Player::Song::open (461) Opening stream (no direct streaming) using Plugins::BBCiPlayer::HLS [hls://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/vpid/b09smgt9/mediaset/audio-syndication/proto/http|]
    [18-02-28 12:01:30.1183] Slim::Player::Song::open (482) URL is a song (audio): hls://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/vpid/b09smgt9/mediaset/audio-syndication/proto/http|, type=aac
    [18-02-28 12:01:30.1193] Slim::Player::TranscodingHelper::tokenizeConvertCommand2 (617) Using command for conversion: "/usr/share/squeezeboxserver/Bin/armhf-linux/faad" -q -w -f 1 -b 1 - | "/usr/share/squeezeboxserver/Bin/armhf-linux/sox" -q -t wav - -t raw -r 44100 -c 2 -2 -s -
    [18-02-28 12:01:30.1199] Slim::Player::Song::open (558) Tokenized command: "/usr/share/squeezeboxserver/Bin/armhf-linux/faad" -q -w -f 1 -b 1 - | "/usr/share/squeezeboxserver/Bin/armhf-linux/sox" -q -t wav - -t raw -r 44100 -c 2 -2 -s -

  3. #23
    Thanks again for your time

    Both faad and sox are there - banners below

    faad -

    *********** Ahead Software MPEG-4 AAC Decoder V2.7 ******************

    Patched for Squeezebox Server:
    * ALAC decoder integrated
    * Seeking support with -j and -e switches
    * STDIN support
    * utgg win32 STDOUT patch
    * Source at https://github.com/ralph-irving/faad2

    Build: Apr 6 2017
    Copyright 2002-2004: Ahead Software AG
    http://www.audiocoding.com
    Floating point version
    etc.

    sox

    sox: SoX v14.3.1

    Changed settings to Dash First
    Re-enabled custom-cconvert.conf

    Restarted server

    Still same problem - Connecting / Now playing / Back to rest

    Settings are:
    Name:  Screen Shot 2018-03-01 at 08.55.03.png
Views: 107
Size:  89.3 KB

  4. #24
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    18,623
    Can you get a log with player.source=DEBUG playing a "on-Demand" program from the BBCiPlayer menu (i.e. not from Extra and not live)

    I want to do a direct compare against log which works on my system.

  5. #25
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    18,623
    I tested the suggested custom-convert.conf before and I thought it worked.

    I just I retested using the lines I had posted and I get same failure as you get. So I need to backtrack.

  6. #26
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    18,623
    I must have pasted an old version - the following is custom-convert.conf that work. I had lost the "--ignore-length" option on sox.

    Code:
    	
    aac pcm * aa:bb:cc:dd:ee:ff
            # IF
            [faad] -q -w -f 1 -b 1 $FILE$ | [sox] -q --ignore-length -t wav $FILE$ -t raw -r 44100 -c 2 -2 -s -

  7. #27
    I've captured the log anyway just in case the change to the settings sheds any light- The log certainly looks different - I started the World at One R4 on demand at 13.05 local time.

    server.log (1).zip

  8. #28
    We 'crossed in the post'

    Success !!

    The latest string did the trick (once I'd realised that I hadn't changed the Mac address to mine) - A massive 'thank you'

    This works perfectly with no server load problems my cursory look so far can tell. I'll look for something more formal to really check but I'm up and running at the right speed for sure.

    "Top" shows about 23% processor usage by sox while running but no dropouts or pauses for the whole 30 minute programme.
    Last edited by mikebainbridge; 2018-02-28 at 20:23. Reason: Added top stats

  9. #29
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    18,623
    Quote Originally Posted by mikebainbridge View Post
    This works perfectly with no server load problems my cursory look so far can tell. I'll look for something more formal to really check but I'm up and running at the right speed for sure.

    "Top" shows about 23% processor usage by sox while running but no dropouts or pauses for the whole 30 minute programme.
    Good that it works. Your system has a 4 core processor with "hard float" Linux so it should be able to keep up with necessary resampling without too much load.

    As "sox" will be included when playing all AAC stream to the SB1 - you should check that AAC files/streams with 44.1kHz are not affected - sox should see source is 44.1kHz and do no processing.

  10. #30
    All seems well with aac encoded 44.1 files - I'll have to look for streaming later as all the stations I listen to had the 48 'problem' !

    Thanks again !

Tags for this Thread

Posting Permissions

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