Re: [SlimDevices: Plugins] Logitech Media Server 7.9.2+squeezelite: Some m4a files don't play(faad_decode error)

2019-02-07 Thread bpa


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)

2019-02-07 Thread Manul


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)

2019-02-07 Thread bpa


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)

2019-02-07 Thread Manul


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)

2019-02-07 Thread bpa


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)

2019-02-07 Thread Manul


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)

2019-02-07 Thread Man in a van


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