Re: [SlimDevices: Plugins] Logitech Media Server 7.9.2+squeezelite: Some m4a files don't play(faad_decode error)
Manul wrote: > Thanks for the explanation. I would also consider that metadata, but I > guess that's a matter of semantics and personal taste. ;)> > > > > Metadata can be removed and the file will play. Without this index the > > file is unplayable - it is essential part of the MPEG4 compressed audio. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=110150 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Logitech Media Server 7.9.2+squeezelite: Some m4a files don't play(faad_decode error)
Thanks for the explanation. I would also consider that metadata, but I guess that's a matter of semantics and personal taste. ;) Thank you also for the pointer to the faststart option, researching that I found that ffmpeg also comes with a tool "qt-faststart" which does just that, so the files are fixed now. Manul's Profile: http://forums.slimdevices.com/member.php?userid=68932 View this thread: http://forums.slimdevices.com/showthread.php?t=110150 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Logitech Media Server 7.9.2+squeezelite: Some m4a files don't play(faad_decode error)
Manul wrote: > Thank you, @bpa, seems like that was indeed the solution. I wasn't even > aware it was possible to have the metadata (at least that's my > interpretation of "index to the audio") at the end of the file. Sounds > like an...interesting design decision. At least I can't think of any use > case where it would make sense to have the raw data before knowing how > to interpret i. Not metadata but index into audio data. AAC audio is split up into "frames" - player needs to know the start of a frame in order to play audio - index tell player where to find the start of each frame. When creating an audio file in a single pass it is easy to put index at end of file as it is only available when compressed audio has been created. To put index at start of file requires a 2nd pass. The "offending" files can be easily fixed using ffmpeg and the "movflags faststart" option. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=110150 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Logitech Media Server 7.9.2+squeezelite: Some m4a files don't play(faad_decode error)
Thank you, @bpa, seems like that was indeed the solution. I wasn't even aware it was possible to have the metadata (at least that's my interpretation of "index to the audio") at the end of the file. Sounds like an...interesting design decision. At least I can't think of any use case where it would make sense to have the raw data before knowing how to interpret it. Anyway, I have a way to deal with this now, so not my concern. Thanks again! Manul's Profile: http://forums.slimdevices.com/member.php?userid=68932 View this thread: http://forums.slimdevices.com/showthread.php?t=110150 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Logitech Media Server 7.9.2+squeezelite: Some m4a files don't play(faad_decode error)
Manul wrote: > Thank you very much for your help! > > Unfortunately, I think the linked thread doesn't help me much as it's > mainly concerned with conversion settings. I think, however, that > squeezelite should be able to play both files natively. Not if the index to the audio is at the end of the file - a streamed file needs to have index at the start (in this cae the file needs to modified by ffmpeg with faststart flag to move index to start of file). However LMS has decided the file cannot be played natively by squeezelite (assuming it is a normal buidl which can play AAC natively) so it is trty to transcode. Get a log with player.source set to "INFO" to see why LMS is trying to transcode. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=110150 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Logitech Media Server 7.9.2+squeezelite: Some m4a files don't play(faad_decode error)
Thank you very much for your help! Unfortunately, I think the linked thread doesn't help me much as it's mainly concerned with conversion settings. I think, however, that squeezelite should be able to play both files natively. Interestingly, the 'faad' binary on the same machine is able to decode the file without any issues. Any other ideas anybody? Manul's Profile: http://forums.slimdevices.com/member.php?userid=68932 View this thread: http://forums.slimdevices.com/showthread.php?t=110150 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Logitech Media Server 7.9.2+squeezelite: Some m4a files don't play(faad_decode error)
So I did a search for Code: squeezebox mp41/isom and found this https://forums.slimdevices.com/showthread.php?108370-MPEG-4-AAC-France-Musique-Podcasts I'm not saying that this is the answer (or even the problem) but yer man is a bit busy at the mo. It might give you a bit of a clue though/or not (I don't understand it :o ) ronnie Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627 View this thread: http://forums.slimdevices.com/showthread.php?t=110150 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
[SlimDevices: Plugins] Logitech Media Server 7.9.2+squeezelite: Some m4a files don't play(faad_decode error)
I'm running LMS 7.9.2 on a Linux server and squeezelite on a number of Linux clients (Raspberries and Intel). I see the phenomenon that some of my m4a files play without problem while others don't. Here's the mediainfo for a file that works: Code: General Complete name: Austin Lucas/The Common Cold/01 Dead Factories.m4a Format : MPEG-4 Format profile : Apple audio with iTunes info Codec ID : M4A (M4A /mp42/isom) File size: 3.85 MiB Duration : 2 min 44 s Overall bit rate mode: Variable Overall bit rate : 196 kb/s Album: The Common Cold Track name : Dead Factories Track name/Position : 1 Track name/Total : 9 Performer: Austin Lucas Performer/Sorted by : Lucas, Austin Genre: Country Encoded date : UTC 2008-06-10 23:55:55 Tagged date : UTC 2013-02-02 17:16:40 Writing application : iTunes v7.6.2, QuickTime 7.4.5 Cover: Yes Audio ID : 1 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : mp4a-40-2 Duration : 2 min 44 s Bit rate mode: Variable Bit rate : 192 kb/s Maximum bit rate : 257 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate: 44.1 kHz Frame rate : 43.066 FPS (1024 SPF) Compression mode : Lossy Stream size : 3.79 MiB (98%) Encoded date : UTC 2008-06-10 23:55:55 Tagged date : UTC 2013-02-02 17:16:40 and here for one that doesn't: Code: General Complete name: Jayme Stone/Jayme Stone's Lomax Project/01 Lazy John.m4a Format : MPEG-4 Format profile : Base Media / Version 1 Codec ID : mp41 (mp41/isom) File size: 7.22 MiB Duration : 3 min 1 s Overall bit rate mode: Constant Overall bit rate : 334 kb/s Album: Jayme Stone's Lomax Project Track name : Lazy John Track name/Position : 1 Performer: Jayme Stone Encoded date : UTC 2014-12-24 16:16:01 Tagged date : UTC 2015-09-27 19:27:04 Cover: Yes Audio ID : 1 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : mp4a-40-2 Duration : 3 min 1 s Bit rate mode: Constant Bit rate : 320 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate: 44.1 kHz Frame rate : 43.066 FPS (1024 SPF) Compression mode : Lossy Stream size : 6.92 MiB (96%) Language : English Encoded date : UTC 2014-12-24 16:16:01 Tagged date : UTC 2015-09-27 19:27:04 Upon trying to play back the latter, I get the following entry in the server log: Code: [19-02-07 11:49:33.2965] Slim::Player::Squeezebox2::statHandler (150) Error: 84:2b:2b:ad:e2:30: Decoder does not support file format, code 0 And the following in squeezelite's log: Code: HTTP/1.1 200 OK Server: Logitech Media Server (7.9.2 - 1548942599) Connection: close Content-Type: audio/aac [13:16:10.178956] sendRESP:202 RESP [13:16:10.581453] read_mp4_header:294 type: ftyp len: 24 consume: 24 [13:16:10.581532] read_mp4_header:235 type: mdat len: 725