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 !
Results 11 to 20 of 24
-
2011-08-28, 08:29 #11
- Join Date
- Jul 2011
- Location
- france
- Posts
- 42
Last edited by manatlan; 2011-08-28 at 08:34.
-
2011-08-28, 08:43 #12
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.mp3Last 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 9, the Universal App for iPhone, iPad and Apple Watch
-
2011-08-28, 09:34 #13
- 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
-
2011-08-28, 10:10 #14
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 15,694
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".
-
2011-08-28, 10:48 #15
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 15,694
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.
-
2011-08-28, 12:47 #16
- Join Date
- Jul 2011
- Location
- france
- Posts
- 42
-
2011-08-28, 13:10 #17
- Join Date
- Jul 2011
- Location
- france
- Posts
- 42
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.
-
2011-08-28, 15:02 #18
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 15,694
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.
-
2011-08-30, 01:16 #19
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 15,694
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
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 -
-
2012-01-19, 07:25 #20
- Join Date
- Oct 2011
- Posts
- 16
Any news about that? Would it be possible to create a sort of 8tracks plugin?