Page 1 of 1
playing m4a on Raspberry Pi?

Posted:
Sat Jan 23, 2016 11:22 pm
by ethanb
Hi, I'm trying to play some m4a files on Subsonic on the RPi. They're found in the audio scan but they can't be played. MP3s seems to be fine. Haven't tried other formats yet. Anything I need to do to configure the system to handle m4a files? They are rips from iTunes, not DRM-controlled FYI.
Thanks!
Re: playing m4a on Raspberry Pi?

Posted:
Sun Jan 24, 2016 12:55 pm
by ethanb
Just a quick update; searching the archives it seemed like it might be related to version 5.3. I've tried 2 other versions where people may have had success (5.2.1 and 4.9) and neither of those work as well. In all cases MP3s are fine but m4a are a problem.
Any ideas? Would love to use this application but not if I have to transcode a large portion of my music.
Thanks!
Re: playing m4a on Raspberry Pi?

Posted:
Sun Jan 24, 2016 2:49 pm
by ethanb
One more clue - looks like the logs for 4.9 are more complete - this is what they say about trying to play an mp3 (that works) and an m4a (that doesn't)
24/16 12:53:17 PM UTC] INFO PlayQueueInputStream admin listening to "Analogue Bubblebath 1/01 Analalogue Bubblebath.m4a"
[1/24/16 12:53:17 PM UTC] DEBUG TranscodeInputStream Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/media/USBHDD/Music/AFX/Analogue Bubblebath 1/01 Analalogue Bubblebath.m4a] [-map] [0:0] [-b:a] [128k] [-v] [0] [-f] [mp3] [-]
[1/24/16 12:53:50 PM UTC] INFO PlayQueueInputStream admin listening to "Analogue Bubblebath 4/01 Elephant Song.mp3"
[1/24/16 12:54:05 PM UTC] INFO PlayQueueInputStream admin listening to "Analogue Bubblebath 1/02 Isopropophlex.m4a"
[1/24/16 12:54:05 PM UTC] DEBUG TranscodeInputStream Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/media/USBHDD/Music/AFX/Analogue Bubblebath 1/02 Isopropophlex.m4a] [-map] [0:0] [-b:a] [128k] [-v] [0] [-f] [mp3] [-]
[1/24/16 12:54:06 PM UTC] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) /var/subsonic/transcode/ffmpeg: 1: /var/subsonic/transcode/ffmpeg: Syntax error: "(" unexpected
So there you go; ffmpeg is called incorrectly (or there's a problem with my version of ffmpeg itself). Any ideas?
Re: playing m4a on Raspberry Pi?

Posted:
Sun Jan 24, 2016 3:30 pm
by ethanb
OK figured it out; the version of ffmpeg in the transcode directory isn't compatible with the Pi. Just copied the one in /usr/bin and I'm playing m4as. Yay for that.
Now to figure out why album art is kind of messed up...