Quantcast
Channel: Squeezebox : Community : Forums - Logitech Media Server
Viewing all articles
Browse latest Browse all 5293

To CPAN or NoCPAN, that's the question

$
0
0
Can someone please help me understand if I should use Unix tarball or Unix tarball(No CPAN libraries).

My case:
I'm having a hard time getting my latest installation on FreeBSD after a hardware failure to play Apple Lossless files. The good old "decoder does not support file format" error in the server log. In the past I was on lms 7.8 and after replacing a the faad binary with a precompiled one from solved the problem. I must have been lucky then.
I've had to reinstall from scratch. Created a new FreeBSD jail based on FreeBSD 10.3-amd64. Followed a post to install required packages including faad2, build from slimserver-vendor, build, merge with a noCPAN nightly. All this process completes and the server starts and I can play most of my music except those pesky m4a files.
I think the initial installation of faad2 from FreeBSD repos installs the non slimdevices-patched version of faad2. But I've been unable to installed the patched version.
After the merging with noCPAN I end up with a faad2 directory inside the path I created for lms /usr/local/lms/slimserver-vendor-public-7.9/faad2/ but there are no binaries there. When I run the shell script buildme-linux.sh it completes successfully after patching with the included patch, echoes "Configuring", followed by "Running make" and then "Running make install". But I can not find a compiled faad2 binary anywhere from / down. There is no alternative path to give to the buildme-linux.sh file.
I've also replaced the faad2 binary from the same nightly into the path where the other binaries are found /usr/local/bin/. No joy, I still can't play the files.
Executing faad2 from within this directory (trying different binaries one at the time), some give me missing linked binaries errors like
Code:

root@Slimnas:/usr/local/bin # faad_original
"shared object "libfaad.so.2" not found, required by "faad_original"

or if it works when I give it a file to decode, then it fails unable to read the file.
Code:

root@Slimnas:/usr/local/bin # faad_backup1 /mnt/Music/Foo\ Fighters/
Echoes, Silence, Patience & Grace/    Foo_Fighters-Greatest_Hits-2009-TosK/
Foo Fighters/                        Skin and Bones/
root@Slimnas:/usr/local/bin # faad_backup1 /mnt/Music/Foo\ Fighters/Echoes,\ Silence,\ Patience\ \&\ Grace/01\ The\ Pretender.m4a
 *********** Ahead Software MPEG-4 AAC Decoder V2.7 ******************

 Build: Oct  1 2016
 Copyright 2002-2004: Ahead Software AG
 http://www.audiocoding.com
 Floating point version

 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License.

 **************************************************************************

Unable to find correct AAC sound track in the MP4 file.
root@Slimnas:/usr/local/bin #

Therefore it comes down to me not knowing how to get the slimdevices/logitech faad, flac and other patched decoders into my system.
Hence the question: for my needs to be able to use them, do I need to build again with or without CPAN?
Thanks in advance.

System:
FreeBSD Slimnas.local 10.3-RELEASE-p7 FreeBSD 10.3-RELEASE-p7 #0 r306148M: Thu Sep 22 02:31:16 CEST 2016 root@dev.nas4free.org:/usr/obj/nas4free/usr/src/sys/NAS4FREE-amd64 amd64

LMS I'd like to use is a 7.9 nightly or the latest 7.8

Viewing all articles
Browse latest Browse all 5293

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>