Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 25

Hybrid View

  1. #1

    AAC playback/streaming stopped after installing SC 7.3

    Hi,

    I previously had M4A files playing back successfully through SqueezeCenter 7.2, but after installing 7.3, it hasn't worked. If it's currently playing a playlist, it will skip over the M4A files and go to the next song.

    I'm currently running on a Buffalo Linkstation and have checked and confirmed I have FAAD/FLAC and LAME installed. I've re-installed them just to confirm.

    I turned on "Info" logging in Player.Source to see if that will provide any indications...
    Code:
    [08-12-12 23:03:15.1324] Slim::Player::Source::playmode (172) 00:04:20:16:dc:d6: Current playmode: stop
    [08-12-12 23:03:15.1493] Slim::Player::StreamingController::play (1546) 00:04:20:16:dc:d6
    [08-12-12 23:03:15.1656] Slim::Player::StreamingController::_Stop (532) Song queue is now 0
    [08-12-12 23:03:15.1716] Slim::Player::StreamingController::_setPlayingState (1779) new playing state STOPPED
    [08-12-12 23:03:15.1776] Slim::Player::StreamingController::_setStreamingState (1792) new streaming state IDLE
    [08-12-12 23:03:15.1938] Slim::Player::Song::new (64) index 0 -> file:///mnt/home/shared/Music/iTunes%20Music/10,000%20Maniacs/MTV%20Unplugged/01%20These%20Are%20Days.m4a
    [08-12-12 23:03:15.2020] Slim::Player::StreamingController::_setStreamingState (1792) new streaming state TRACKWAIT
    [08-12-12 23:03:15.2096] Slim::Player::Song::getNextSong (178) file:///mnt/home/shared/Music/iTunes%20Music/10,000%20Maniacs/MTV%20Unplugged/01%20These%20Are%20Days.m4a
    [08-12-12 23:03:15.2179] Slim::Player::StreamingController::_nextTrackReady (639) 00:04:20:16:dc:d6: nextTrack will be index 0
    [08-12-12 23:03:15.2240] Slim::Player::StreamingController::_Stream (913) 00:04:20:16:dc:d6: preparing to stream song index 0
    [08-12-12 23:03:15.2301] Slim::Player::StreamingController::_Stream (918) Song queue is now 0,0
    [08-12-12 23:03:15.2379] Slim::Player::Song::open (302) file:///mnt/home/shared/Music/iTunes%20Music/10,000%20Maniacs/MTV%20Unplugged/01%20These%20Are%20Days.m4a
    [08-12-12 23:03:15.2774] Slim::Player::TranscodingHelper::checkBin (260)    couldn't find binary for: mov123
    [08-12-12 23:03:15.2857] Slim::Player::TranscodingHelper::getConvertCommand2 (451) Error: Didn't find any command matches for type: mov
    [08-12-12 23:03:15.2921] Slim::Player::Song::open (323) seek=false time=0 canSeek=0SEEK_ERROR_TYPE_NOT_SUPPORTEDmov
    [08-12-12 23:03:15.3088] Slim::Player::TranscodingHelper::getConvertCommand2 (454) Matched: mov->flc via: [faad] -w -f 2 $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian little --sign signed --channels 2 --bps 16 --sample-rate 44100 -
    [08-12-12 23:03:15.3150] Slim::Player::Song::open (340) Transcoder: streamMode=I, streamformat=flc
    [08-12-12 23:03:15.3213] Slim::Player::Song::open (364) Opening stream (no direct streaming) using Slim::Player::Protocols::File [file:///mnt/home/shared/Music/iTunes%20Music/10,000%20Maniacs/MTV%20Unplugged/01%20These%20Are%20Days.m4a]
    [08-12-12 23:03:15.3403] Slim::Player::Protocols::File::open (79) duration: [294] size: [7103092] endian [] offset: [0] for file:///mnt/home/shared/Music/iTunes%20Music/10,000%20Maniacs/MTV%20Unplugged/01%20These%20Are%20Days.m4a
    [08-12-12 23:03:15.3462] Slim::Player::Protocols::File::open (96) Opening file /mnt/home/shared/Music/iTunes Music/10,000 Maniacs/MTV Unplugged/01 These Are Days.m4a
    [08-12-12 23:03:15.3589] Slim::Player::Song::open (385) URL is a song (audio): file:///mnt/home/shared/Music/iTunes%20Music/10,000%20Maniacs/MTV%20Unplugged/01%20These%20Are%20Days.m4a, type=mov
    [08-12-12 23:03:15.3733] Slim::Player::Song::open (457) Tokenized command "/usr/local/bin/faad" -w -f 2 "-" | "/usr/bin/flac" -cs --totally-silent --compression-level-0 --endian little --sign signed --channels 2 --bps 16 --sample-rate 44100 -
    [08-12-12 23:03:15.5877] Slim::Player::StreamingController::_Stream (956) 00:04:20:16:dc:d6: stream
    [08-12-12 23:03:15.6204] Slim::Player::StreamingController::_Stream (985) Song queue is now 0,0
    [08-12-12 23:03:15.6315] Slim::Player::StreamingController::_setPlayingState (1779) new playing state BUFFERING
    [08-12-12 23:03:15.6376] Slim::Player::StreamingController::_setStreamingState (1792) new streaming state STREAMING
    [08-12-12 23:03:19.0017] Slim::Player::Source::_readNextChunk (499) end of file or error on socket, song pos: 0
    [08-12-12 23:03:19.0282] Slim::Player::Source::_readNextChunk (508) Didn't stream any bytes for this song, so just mark it as played
    [08-12-12 23:03:19.0472] Slim::Player::StreamingController::playerTrackStarted (1613) 00:04:20:16:dc:d6
    [08-12-12 23:03:19.0623] Slim::Player::StreamingController::_setPlayingState (1779) new playing state PLAYING
    [08-12-12 23:03:19.0799] Slim::Player::StreamingController::_Playing (346) Song 0 is not longer in the queue
    [08-12-12 23:03:19.0979] Slim::Player::StreamingController::_Playing (352) Song 0 has now started playing
    [08-12-12 23:03:19.1255] Slim::Player::StreamingController::_Playing (381) Song queue is now 0
    [08-12-12 23:03:19.1317] Slim::Player::Source::_readNextChunk (515) 00:04:20:16:dc:d6 mark end of stream
    [08-12-12 23:03:19.1411] Slim::Player::StreamingController::_setStreamingState (1792) new streaming state STREAMOUT
    [08-12-12 23:03:19.8850] Slim::Player::StreamingController::playerEndOfStream (1688) 00:04:20:16:dc:d6
    [08-12-12 23:03:19.8912] Slim::Player::StreamingController::_setStreamingState (1792) new streaming state STREAMOUT
    [08-12-12 23:03:19.9014] Slim::Player::StreamingController::playerReadyToStream (1628) 00:04:20:16:dc:d6
    [08-12-12 23:03:19.9083] Slim::Player::StreamingController::_setStreamingState (1792) new streaming state IDLE
    [08-12-12 23:03:19.9161] Slim::Player::StreamingController::nextsong (747) The next song is number 0, was 0
    It seems to fail with the error "end of file or error on socket, song pos:", but I don't know what that means.

    Any thoughts would be greatly appreciated?

    Thanks.

  2. #2
    Junior Member
    Join Date
    Aug 2008
    Location
    Utah
    Posts
    14

    Cool Yes Me too - no more m4a playback

    I am running SqueezeCenter from Hardy Heron and the package manager notified me of the SqueezeCenter Update. When I did the update it flagged overwriting the types.conf file that I edited previously to play aac & m4a files. So, I overwrote the file and went back and re-did my edits, carefully using diff. Mplayer and FAAD seem to be working fine independently of Squeezecenter. And I can play AACPlus streams from sky.fm without any problems. When I try to play m4a files everything looks like it working. The album art shows but, the player jumps from track to track and stops occasionally to act as if it is playing the file. I attached my conf files. Did something else change?
    Thanks
    Attached Files Attached Files

  3. #3
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    11,259
    7.3 has new lines in convert.conf types files. It is dpocumented in the convert.conf file.

    Syntax is strict white space hash white space new directives.

    Code:
    # Transcoding for AAC files.
    mov flc * *
     # F
    	[faad] -w -f 2 $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian little --sign signed --channels 2 --bps 16 --sample-rate 44100 -
    
    mov mp3 * *
     # FB:{BITRATE=-B %B}
    	[faad] -w -f 2 $FILE$ | [lame] --resample 44100 --silent -q $QUALITY$ $BITRATE$ -r - -
    
    mov wav * *
     # F
    	[faad] -w -f 2 $FILE$

  4. #4
    Junior Member
    Join Date
    Jan 2008
    Posts
    4

    Cool Fixed skipping now get white noise

    Hi all,

    I made the change suggested in an earlier post in the conf files and now get a stream to players for AAC files, instead of skipping like before. AAC files work fine on Squeezeboom and Squeezeplay Beta, but only get white noise on softsqueeze and squeezebox. Any ideas? I am streaming from a Linux box using Squeezecenter 7.3 and listening via softsqueeze.

    --Kirk

  5. #5
    Junior Member
    Join Date
    Mar 2008
    Posts
    5
    Quote Originally Posted by kmoloney View Post
    Hi all,

    I made the change suggested in an earlier post in the conf files and now get a stream to players for AAC files, instead of skipping like before. AAC files work fine on Squeezeboom and Squeezeplay Beta, but only get white noise on softsqueeze and squeezebox. Any ideas? I am streaming from a Linux box using Squeezecenter 7.3 and listening via softsqueeze.

    --Kirk
    I am having the same prob...i use stream.mp3 to steam from my linux box at home to my windows box at work (using itunes).

    I have followed the various suggestions on getting m4a files to play (ie created the correct updated custom-convert.conf) and now squeezecenter doesnt just flip by them...its plays them..but its all static.

    any suggestions. thanks
    cinchel

  6. #6
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    11,259
    If you have white noise or static after transcoding to MP3 - try changing the setting of the lame "-x" option.

  7. #7
    Quote Originally Posted by bpa View Post
    7.3 has new lines in convert.conf types files. It is dpocumented in the convert.conf file.

    Syntax is strict white space hash white space new directives.

    Code:
    # Transcoding for AAC files.
    mov flc * *
     # F
    	[faad] -w -f 2 $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian little --sign signed --channels 2 --bps 16 --sample-rate 44100 -
    
    mov mp3 * *
     # FB:{BITRATE=-B %B}
    	[faad] -w -f 2 $FILE$ | [lame] --resample 44100 --silent -q $QUALITY$ $BITRATE$ -r - -
    
    mov wav * *
     # F
    	[faad] -w -f 2 $FILE$
    I made the changes as you suggested and it now streams M4A/AAC files. Now I need to convince it to prioritise mov-mp3 over mov-wav transcoding, as with wav, I get a lot of buffering/stuttering.

  8. #8
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    11,259
    SC will always choose mov->flac first so the cause of your stuttering might be either disabled mov->flac.

    To choose mov->MP3 - disable mov->flc and mov->wav or enable bit rate limiting for the player but you must have lame installed.

  9. #9
    Thanks for the response bpa.

    I've set to "disable" in SC settings, the AAC->WAV and AAC->MP3 transcoding and now it's using FLAC. What I've noticed is that AAC->FLAC is less CPU intensive on NAS, than the other two mechanisms. So I think I've found the solution that works perfectly for my system... So far been streaming for about 30 minutes and it's working a treat.

    Thanks for your help.

  10. #10
    Junior Member
    Join Date
    Aug 2008
    Location
    Utah
    Posts
    14

    Smile Squeezecenter Goodness

    Thanks BPA that was it! Everything is back to goodness. I removed custom-convert.conf and made the changes you suggested in the convert.conf file. I did not look in the convert.conf file. I was still in the mode of making these changes in the custom-convert.conf file.

Posting Permissions

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