Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24
  1. #11
    Member
    Join Date
    Jul 2011
    Location
    france
    Posts
    42
    Quote Originally Posted by bpa View Post
    This file won't play when downloaded as faad or flac gives a segmentation fault
    Works now !
    It seems it's a SBS bug !

    to correct that (from here : http://www.superkikim.com/linux-atti...squeezecenter/):

    apt-get install faad flac
    rm /usr/share/squeezeboxserver/Bin/i386-linux/flac
    rm /usr/share/squeezeboxserver/Bin/i386-linux/faad
    ln -s /usr/bin/faad /usr/share/squeezeboxserver/Bin/i386-linux/faad
    ln -s /usr/bin/flac /usr/share/squeezeboxserver/Bin/i386-linux/flac

    Now a downloaded m4a plays !
    Last edited by manatlan; 2011-08-28 at 08:34.

  2. #12
    Senior Member pippin's Avatar
    Join Date
    Oct 2007
    Location
    Berlin
    Posts
    11,193
    Quote Originally Posted by manatlan View Post
    If we can't resolve that : we never had a 8tracks plugin ;-(
    I don't believe that.
    I can play 8tracks tracks just fine if I queue them up with iPeng directly from their site.

    Edit: Spoke too soon, doesn't work either.

    I know it DID work last week, though, so maybe something changed with 7.6.1? Or 8tracks?

    Edit2: Last week's links were mp3s for some reason:

    ♪ Ich h÷re gerade Girls Like You von The Naked And Famous aus Passive Me, Aggressive You aus Girls Like You von The Naked And Famous aus Passive Me, Aggressive You - http://8tracks.s3.amazonaws.com/tf/0.../216/52839.mp3
    Last edited by pippin; 2011-08-28 at 08:48.
    ---
    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 7, the Universal App for iOS 7

  3. #13
    Member
    Join Date
    Jul 2011
    Location
    france
    Posts
    42
    interesting ^^

    now, the same M4A works, for me, when downloaded and placed in music folder.
    But won't work when it streamed from an http server

    [11-08-28 18:02:00.9044] Slim::Player::Song:pen (409) Error: Couldn't create command line for mov playback for [http://192.168.0.3:8080/static/zic.m4a]

    really annoying and strange

  4. #14
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    11,532
    Are you using Windows ?
    Do you have Quicktime installed ?

    The "mov" filetype is played back using mov123 exe which uses Quicktime libraries which is only setup for SBS on Windows.

    The problem is why has SBS decided to use "mov" file type and not "mp4".

  5. #15
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    11,532
    Quote Originally Posted by manatlan View Post
    Works now !
    It seems it's a SBS bug !

    to correct that (from here : http://www.superkikim.com/linux-atti...squeezecenter/):

    apt-get install faad flac
    rm /usr/share/squeezeboxserver/Bin/i386-linux/flac
    rm /usr/share/squeezeboxserver/Bin/i386-linux/faad
    ln -s /usr/bin/faad /usr/share/squeezeboxserver/Bin/i386-linux/faad
    ln -s /usr/bin/flac /usr/share/squeezeboxserver/Bin/i386-linux/flac

    Now a downloaded m4a plays !
    faad for SBS has patches for standard "faad" 2.7 otherwise it will not work under some circumstances (iirc seeks into mpeg4 files and some adts streams).

    I'll have a look to see what version you have down loaded.

    edit:

    The build reference is also 2.7 so I think the original user had the "64 bit kernel trying to play 32 bit app" problem and not the issue here.
    Last edited by bpa; 2011-08-28 at 11:48.

  6. #16
    Member
    Join Date
    Jul 2011
    Location
    france
    Posts
    42
    Quote Originally Posted by bpa View Post
    Are you using Windows ?
    no ! ubuntu 11.04 up to date

    Quote Originally Posted by bpa View Post
    Do you have Quicktime installed ?
    what's that ?! ;-)

    Quote Originally Posted by bpa View Post
    The problem is why has SBS decided to use "mov" file type and not "mp4".
    sure

  7. #17
    Member
    Join Date
    Jul 2011
    Location
    france
    Posts
    42
    Quote Originally Posted by bpa View Post
    The problem is why has SBS decided to use "mov" file type and not "mp4".
    I've added a "custom convert" ( http://wiki.slimdevices.com/index.php/AAC )
    and now it says me :

    [11-08-28 22:02:09.8757] Slim::Player::Song:pen (409) Error: Couldn't create command line for mp4 playback for [http://192.168.0.3:8080/static/zic.m4a]

    and I really think the trouble is url-related since :

    this works : faad -w -f 2 zic.m4a
    this don't work : faad -w -f 2 http://192.168.0.3:8080/static/zic.m4a

    "faad" with an url doesn't work ... and I get a "Couldn't create command line for mp4 playback" ... it makes sens, no ?
    Last edited by manatlan; 2011-08-28 at 14:44.

  8. #18
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    11,532
    Quote Originally Posted by manatlan View Post
    "faad" with an url doesn't work ... and I get a "Couldn't create command line for mp4 playback" ... it makes sens, no ?
    That's correct - faad does not work with an URL. The URL is read by SBS and then passed to the faad through stdin.

    The problem with the convert.conf, is that SBS will use the mime value has been set in the Content-type http header by the server that is serving up http://192.168.0.3:8080/static/zic.m4a] and not the suffix.

    Since that is a local ip address - what is the Content-type value set to ?

    When streaming an URL SBS has to create the transcoding stream before it reads the audio data so it uses http header Content-type first and if that doesn't exist it may use suffix but I'm not sure.

  9. #19
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    11,532
    Did some more checking.

    faad cannot play MP4 streams. faad only support playing from a file or stdin. SBS plays an internet stream to faad through stdin.

    To play MP4 - faad needs to seek up/down the MP4 header and this can only be done with a file and not stdin.

    To play MP4 streams on SBS you need to use a different player such as ffmpeg, mplayer or VLC.

    There is an additional issue whether the mime type of the stream is in types.conf. I found the 8track stream I tested used "audio/mp4" so I added it to custom-types.conf

    I think the following conf file break playing MP4 files seeking I don't know whether else it could breaks in MP4 support.

    Don't try the MP4->PCM - there is something wrong.

    custom-types.conf
    Code:
    # content types supported by the Squeezebox Server
    # first column is unique three letter identifier or URL scheme
    # second column is file suffixes or URL 
    # third column are MIME content-types
    # fourth column is a Squeezebox Server file type
    # blank lines, non-three column lines and content after a # is ignored.
    
    #########################################################################
    #ID     Suffix          Mime Content-Type               Server File Type#
    #########################################################################
    mp4     m4a,mp4,m4b     audio/m4a,audio/x-m4a,audio/mp4           audio
    custom-convert.conf
    Code:
    mp4 mp3 * *
    	# IFRB:{BITRATE=-B %B}T:{START=--skip=%t}
    	[ffmpeg] -loglevel quiet  -f mp4 -i $FILE$ -f wav - | [lame] --silent -q $QUALITY$ $BITRATE$ - -
    
    mp4 pcm * *
    	# IFRB:{BITRATE=-B %B}T:{START=--skip=%t}
    	[ffmpeg] -loglevel quiet  -f mp4 -i $FILE$ -f u16le -
    
    mp4 flc * *
    	# IFRB:{BITRATE=-B %B}T:{START=--skip=%t}
    	[ffmpeg] -loglevel quiet -f mp4 -i $FILE$ -f flac -
    ffmpeg produces some text when playing - I haven't found a way to shut it up.

  10. #20
    Junior Member
    Join Date
    Oct 2011
    Posts
    16
    Any news about that? Would it be possible to create a sort of 8tracks plugin?

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
  •