subsonic icon indicating copy to clipboard operation
subsonic copied to clipboard

Subsonic does not play m4a files or flac on Raspian Stretch 9.9

Open Mingus85 opened this issue 5 years ago • 2 comments

I have just installed subsonic on on my raspberry pi (Raspian Stretch 9.9).

Everything seems to work, except files with *.m4a or *.flac extention are not playing.

subsonic.log example m4a:

[5/12/19 9:14:15 PM BST] | INFO | TranscodeInputStream | Starting transcoder: /var/subsonic/transcode/ffmpeg -i /mnt/samsung/# Music Archive/Keith Jarrett/Silence/01 Byablue.m4a -map 0:0 -b:a 320k -v 0 -f mp3 - [5/12/19 9:14:15 PM BST] | INFO | InputStreamReaderThread | (/var/subsonic/transcode/ffmpeg) /var/subsonic/transcode/ffmpeg: 1: /var/subsonic/transcode/ffmpeg: Syntax error: "(" unexpected

subsonic.log example flac:

[5/12/19 9:27:02 PM BST] | INFO | TranscodeInputStream | Starting transcoder: /var/subsonic/transcode/ffmpeg -i /mnt/samsung/# Music Archive/Ray Baretto/Pachanga (1995)/01. Exodus.flac -map 0:0 -b:a 320k -v 0 -f mp3 - [5/12/19 9:27:02 PM BST] | INFO | InputStreamReaderThread | (/var/subsonic/transcode/ffmpeg) /var/subsonic/transcode/ffmpeg: 1: /var/subsonic/transcode/ffmpeg: Syntax error: "(" unexpected

Any suggestions?

Mingus85 avatar May 12 '19 20:05 Mingus85

Ok, the solution here was to reinstall mmpeg http://pmdzsite.online.fr/index.php?article17/subsonic-on-raspberry-pi-3

Mingus85 avatar May 12 '19 20:05 Mingus85

On my rpi 3, I installed ffmpeg then copied it to the transcode directory. Now it plays wma, flac etc. Command was,

sudo cp /usr/bin/ffmpeg /var/subsonic/transcode/ffmpeg

To be on the safe side, I also did the same for flac and lame after installing them with sudo apt-get install flac (or lame). I have my files on a synology NAS with the music folder mounted as an NFS share on the rpi. Seems to be working ok now. It took me a bit of searching to find the fix to copy the files to transcode.

Glenora avatar May 27 '21 10:05 Glenora