philippe_44 wrote:
> I will recheck mp4 specs but AFAIR, the audio size is not at all from
> the average but rate but is indicated in the file itself, by the size of
> the atom the contains the audio data (mdat), so it is an exact value
> that is set by the encoder itself. This is for example how you parse a
> mp4 with header at the end. If you reach the mdat atom before the
> header, then you jump by the mdat audio size.
>
> The most likely hypothesis is an error in the encoder or in the HTTP
> content_length. All other mp4 content provider work like that, and there
> are a few now, so I think if there was an issue we would have seen it
> already.
Thanks for the explanation, I can see that now. Yes, it looks like an
error in their encoder as the content length is accurate. Also if I
use exiftool on a downloaded version of the file, it reports very
slightly different size values (but equally problematic!) as LMS :
Code:
--------------------
Media Time Scale : 22050
Media Duration : 3:00:00
Media Language Code : und
Handler Type : Audio Track
Handler Description : SoundHandler
Balance : 0
Audio Format : mp4a
Audio Channels : 2
Audio Bits Per Sample : 16
Audio Sample Rate : 22050
Movie Data Size : 63182628
Movie Data Offset : 931550
Avg Bitrate : 46.8 kbps
--------------------
So, in all in all, we know why its failing, but unless I can open up a
dialogue with them, we can't really do anything about this (without
opening up other potential problems), as these streams work on their
website and in their app which is probably the only places they care
about.
Stuart McLean
EXPECTINGTOFLY PLUGINS :
- *BBC Sounds* :
https://github.com/expectingtofly/LMS_BBC_Sounds_Plugin
- *Virgin Radio (UK)* :
https://github.com/expectingtofly/LMS_Virgin_Radio_Plugin
- *Times Radio* :
https://github.com/expectingtofly/LMS_TIMES_RADIO_PLUGIN
- *Global Player (UK)* :
https://github.com/expectingtofly/LMS_GlobalPlayer_Plugin
For BBC Sounds help see the 'BBC Sounds Wiki'
(https://github.com/expectingtofly/LMS_BBC_Sounds_Plugin/wiki).
------------------------------------------------------------------------
expectingtofly's Profile: http://forums.slimdevices.com/member.php?userid=63263
View this thread: http://forums.slimdevices.com/showthread.php?t=115070
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter