You are not logged in.

#1 2014-10-21 08:40:19

elb
Member
From: France
Registered: 2006-03-17
Posts: 24
Website

[SOLVED] logitechmediaserver transcoding issue

logitechmediaserver is working fine on my server for serving music on my stereo (mainly FLAC and MP3 files).

Yesterday I tried to stream music through 3g to my Android smartphone using SqueezePlayer. To save on data consumption I limited the bitrate for the player to 128 kbps (through Player Audio settings on logitechmediaserver config).

I can play MP3s fine through SqueezePlayer. With MP3 files > 128 kbps a ps aux|grep lame shows that lame is launched to reencode the stream to 128 K bitrate.

However with other files (FLAC or even OGG) I have no luck. The file does not even play. I have checked File Types configuration : Stream Format Decoder for FLAC -> MP3 is set to flac/lame. Looks like flac decoding on the server does not work. Found nothing in the server log.

Last edited by elb (2014-10-21 10:05:55)

Offline

#2 2014-10-21 10:05:31

elb
Member
From: France
Registered: 2006-03-17
Posts: 24
Website

Re: [SOLVED] logitechmediaserver transcoding issue

I solved this issue.

The logitechmediaserver package from AUR comes with its own flac binary as well as others in /opt/logitechmediaserver/Bin/i386-linux.

root@tangha /opt/logitechmediaserver/Bin/i386-linux # l
total 4004
-rwx------ 1 logitechms logitechms  292788  6 juin  18:31 faad*
-rwx------ 1 logitechms logitechms  480836  6 juin  18:31 flac*
-rwx------ 1 logitechms logitechms  139316  6 juin  18:31 mac*
-rwx------ 1 logitechms logitechms  432232  6 juin  18:31 mppdec*
-rwx------ 1 logitechms logitechms  221916  6 juin  18:31 sls*
-rwx------ 1 logitechms logitechms 2340068  6 juin  18:31 sox*
-rwx------ 1 logitechms logitechms  172904  6 juin  18:31 wvunpack*
root@tangha /opt/logitechmediaserver/Bin/i386-linux #

These are 32 bits binaries. In order to use these on a x86_64 ArchLinux, one has to enable multilib repository (if not already done) and then install some 32 bits compatibility libraries:

pacman -S lib32-glibc
pacman -S lib32-gcc-libs

Et voilà :-)

Offline

Board footer

Powered by FluxBB