|
rowan
Guest
|
 |
« Reply #140 on: 4 Jun '08 - 19:07 » |
Quote
|
I'm not sure if this is an issue with the plugin, my settings or something else.
I have a number of tracks hosted on a web server (https). So going to https://.../x.mp3 downloads the track. XMPlay handles these very differently depending if they are mp3 or m4a.
Now for mp3s it says 'opening' for a fraction of a second before changing to 'buffering' for another fraction of a second and then starts playing whilst downloading the rest of the track in the background.
However, for m4a files it just stays on 'opening' until the whole track is downloaded (10+ seconds) and then starts playing.
Are there any settings I should check? Is this a known issue with the plugin? Any pointers appreciated.
|
|
|
|
|
Logged
|
|
|
|
|
Ian @ un4seen
Administrator
Posts: 15244
|
 |
« Reply #141 on: 5 Jun '08 - 15:49 » |
Quote
|
I don't think MP4 files can be streamed, so they get pre-downloaded (like other formats that can't be streamed). If you use plain AAC files (without the MP4 container) instead, then it should be possible to stream them.
|
|
|
|
|
Logged
|
|
|
|
|
rowan
Guest
|
 |
« Reply #142 on: 6 Jun '08 - 11:50 » |
Quote
|
Indeed AAC files stream fine, but MP4s don't.
I have done some reading about it and found some sites claiming that this is because most encoders put all the metadata at the end of the mp4 whereas it can be put at the begining. If it is at the beginning then they are streamable.
They state there are 2 ways round this 1) For the player to request the end of the file first - but I don't know if all simple web servers like mine would support this. 2) Rewrite the MP4 with the metadata at the start.
I will look into the suggested utilities to do move the metadata and see if it works.
|
|
|
|
|
Logged
|
|
|
|
|
rowan
Guest
|
 |
« Reply #143 on: 12 Jun '08 - 12:20 » |
Quote
|
I am not entirely certain about this yet, but reading up in it on different forums like doom9 etc I am coming to the conclusion that MP4s should be quite streamable - both audio only and video MP4s. They do have to have hints in them to make them streamable and not all MP4 writing software puts those in, but the format is streamable.
I tried what was suggested in other forums I found. That was to use mp4box to rewrite the file. It puts the metadata and hints at the start of the file and should mean it is streamable.
eg: mp4box -inter 300 example.mp4
was the suggested settings.
However, this does not make it streamable with XMPlay. And neither do a few other suggested ways of rewriting it.
I am not sure if that is because it is not doing what is needed or if it is because XMPlay and the plug-in are just assuming that it will not be streamable and not trying. Will the plug-in try and stream it if it finds the hint at the start or not?
|
|
|
|
|
Logged
|
|
|
|
|
Ian @ un4seen
Administrator
Posts: 15244
|
 |
« Reply #144 on: 12 Jun '08 - 13:22 » |
Quote
|
I think the AAC plugin will pre-check/process all chunks/atoms in an MP4 file, but I'm not certain about that. If you upload an example of a file that should be streamable, I'll look into it... ftp.un4seen.com/incoming/Btw, have you been able to stream MP4 files in any other software?
|
|
|
|
|
Logged
|
|
|
|
|
rowan
Guest
|
 |
« Reply #145 on: 12 Jun '08 - 14:21 » |
Quote
|
I will try and upload something this evening - can't ftp from work. I haven't yet been able to do it in anything else as I can't install any other players at work to try, and my network is to fast to easily test it at home. I am going to do a longer/bigger file to test it at home at some point soon.
|
|
|
|
|
Logged
|
|
|
|
|
rowan
Guest
|
 |
« Reply #146 on: 12 Jun '08 - 19:13 » |
Quote
|
I have uploaded the rather optimistically named streamable.mp4 for you to have a look at.
It will probably be a few days till I have a chance to try some other players on it.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Rowan
Guest
|
 |
« Reply #148 on: 13 Jun '08 - 17:21 » |
Quote
|
Trying with the files that I have been passing through the utilities to make them streamable, it starts off with Opening... as before. Then very quickly it then changes to not displaying anything and seems to have given up doing anything with the file... It seems to be deciding it can do some streaming and then stopping (presumably erroring internally). They play fine locally. However, playing a file that I have not played about with - just a straight record in iTunes - streams perfectly where the old version had do download the whole thing. How ironic  It certainly seems to be getting there.
|
|
|
|
|
Logged
|
|
|
|
|
Ian @ un4seen
Administrator
Posts: 15244
|
 |
« Reply #149 on: 16 Jun '08 - 14:26 » |
Quote
|
I only tested with the "streamable.mp4" file that you uploaded, but that seemed to stream OK. Is that file not streaming there? If that's OK but you're having the trouble with other files, please upload another example.
|
|
|
|
|
Logged
|
|
|
|
|
Rowan
Guest
|
 |
« Reply #150 on: 17 Jun '08 - 13:55 » |
Quote
|
Strangely they are now all streaming OK. Not sure what the difference is from before other than a reboot. Looks like it works perfectly then  If it finds any it won't stream again I will look into it and let you know. Thanks for all your help.
|
|
|
|
|
Logged
|
|
|
|
|
Auren
Posts: 144
|
 |
« Reply #151 on: 4 Aug '08 - 10:57 » |
Quote
|
Ian, please add support for episodes in m4a-files (iTunes supports them natively). I uploaded a test .m4a-file with episodes to your FTP under the name Chill Out GenreCast - Episode 000.m4a
I need at least song name detection (like in .cue-files now). And it would be much better if covers of the songs are displayed too. But I think that it would be better to address the second request to Barna ;-)
|
|
|
|
|
Logged
|
|
|
|
|
Ian @ un4seen
Administrator
Posts: 15244
|
 |
« Reply #152 on: 6 Aug '08 - 16:54 » |
Quote
|
I'm not sure what I'm supposed to be looking for in that file; please describe it 
|
|
|
|
|
Logged
|
|
|
|
|
Auren
Posts: 144
|
 |
« Reply #153 on: 6 Aug '08 - 20:40 » |
Quote
|
|
|
|
|
« Last Edit: 6 Aug '08 - 20:52 by Auren »
|
Logged
|
|
|
|
|
|
|
Barna
Posts: 103
|
 |
« Reply #155 on: 7 Aug '08 - 02:03 » |
Quote
|
These advanced information are stored in their own MP4 track, so it isn't part of the meta mp4 header as simple text tags are. The data aren't stored as XML in the MP4 file anymore, they are joined into the whole MP4 stream to actually stream all the informations (cover images, titles, links) during playing. One can dump these tracks with mp4box. The titles and the timing they apply to are stored in a text track with fourcc text (track 2 in the one podcast I got from beatport). The dumped rawdata alone isn't much, as it needs the track header which contains the actual offsets and timing information (timescale and durations). You can get all the informations on how to find what at http://www.geocities.com/xhelmboyx/quicktime/formats/mp4-layout.txtYes it's big :-) First I thought I'd look at some libraries others have done... Then I found some huge uber complex libraries and decided to take the dirty route and just write a parser which gets me what I want (cover image data).
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Auren
Posts: 144
|
 |
« Reply #157 on: 7 Aug '08 - 16:14 » |
Quote
|
Hey, that's damn fast, Ian! It works just flawlessly.
|
|
|
|
|
Logged
|
|
|
|
|
samplah!
Posts: 97
|
 |
« Reply #158 on: 7 Feb '10 - 10:41 » |
Quote
|
niiiiiiiiiiice!!! finally i can listen to di.fm with aac  Thanks! 
|
|
|
|
|
Logged
|
|
|
|
|
Lesmo16
Posts: 19
|
 |
« Reply #159 on: 8 Feb '10 - 11:37 » |
Quote
|
Unfortunately this link doesn't work ---> 404 - Not Found. Where can I download the plugin? Thanks in advance.
|
|
|
|
|
Logged
|
|
|
|
|