Author |
|
sb.net
Joined: 22 Sep 2006 Posts: 120 Location: USA
|
|
Back to top |
|
Jorge
Joined: 12 Mar 2006 Posts: 376 Location: Belgium
|
Posted: Tue 26 Sep '06 8:57 Post subject: |
|
|
It's probebly that you can't send the file fast enough to the client. Try setting WMP/WINAMP/Whatever to a larger buffer and see if it still happens if not its defently a shortage of banthwidth |
|
Back to top |
|
sb.net
Joined: 22 Sep 2006 Posts: 120 Location: USA
|
Posted: Tue 26 Sep '06 16:55 Post subject: |
|
|
how do i do that. is it in the apache config? |
|
Back to top |
|
Jorge
Joined: 12 Mar 2006 Posts: 376 Location: Belgium
|
Posted: Wed 27 Sep '06 9:06 Post subject: |
|
|
No its client side... example:
You send a file of 120kb at 1kb sec. so it would take 2 minutes to download
Your client buffers 60k and start playsing, the 60 is audio for 7 seconds... see the problem it wouln't have gotten the next 60kb to contineu playing.
It would be around 67kb ... now if you increase the client buffer to hold more data this problem can be fixed.
(note this is an exteme case i used for example) |
|
Back to top |
|
Brian
Joined: 21 Oct 2005 Posts: 209 Location: Puyallup, WA USA
|
Posted: Tue 03 Oct '06 22:28 Post subject: |
|
|
Another option would be to send a header for that file type that indicates to the client's browser that this a file that requires download instead of opening with the client's default program (i.e. WinAmp in this case). This way they would download it then they could play it. |
|
Back to top |
|
sb.net
Joined: 22 Sep 2006 Posts: 120 Location: USA
|
Posted: Tue 03 Oct '06 22:32 Post subject: |
|
|
even if i right click and press save link as, it does not work. it says it in not an audio file. |
|
Back to top |
|
Brian
Joined: 21 Oct 2005 Posts: 209 Location: Puyallup, WA USA
|
Posted: Wed 04 Oct '06 7:01 Post subject: |
|
|
Hmmm,
Well if you have a public URL, perhaps you could past a very small, 8k or so, file and let us try it out to see what the server responds with ... is that a possibility.
Or perhaps you would prefer to simply email me a link to a sample file that is giving you fits, you can email me if you wish to at:
info at Webbywarehouse dot com
Either way, I'd be happy to help if I am able to.
--
Brian |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Wed 04 Oct '06 9:37 Post subject: |
|
|
I am able to download the mp3 from synth38 dot com |
|
Back to top |
|
Brian
Joined: 21 Oct 2005 Posts: 209 Location: Puyallup, WA USA
|
Posted: Wed 04 Oct '06 15:35 Post subject: |
|
|
whew!
I did not notice the link at the top, sorry for that. I also was able to dl a file, no problem what-so-ever. Anyway, so maybe it is for you a browser issue. Try another browser, and try it from another computer outside of your network (though being outside of the network should not make any difference, just give it a shot...).
Seems like the server is sending the proper headers, only thing left as far as I can see is a client side issue. |
|
Back to top |
|
sb.net
Joined: 22 Sep 2006 Posts: 120 Location: USA
|
Posted: Wed 04 Oct '06 17:43 Post subject: |
|
|
i tried it on both of our computers and both browsers. same result. did you listen to it? |
|
Back to top |
|
sb.net
Joined: 22 Sep 2006 Posts: 120 Location: USA
|
Posted: Wed 04 Oct '06 17:55 Post subject: |
|
|
I had a problem once on another server. I had to enable page output buffering for large downloads to work.
I could just host them over ftp. |
|
Back to top |
|
Brian
Joined: 21 Oct 2005 Posts: 209 Location: Puyallup, WA USA
|
Posted: Thu 05 Oct '06 1:16 Post subject: |
|
|
what exactly does that mean, "enable page output buffering for large downloads"?
Is this something you did within PHP using PHP to enable and institute the downloads? I am a little confused since it looks like we are simply connecting to a file on the server and Apache (or what ever platform) is serving up the file.
Just curious.
Oh, and perhaps the problem is with the file encoding itself? I could not get the file I downloaded to play in WinAmp or WMP, and if it's an mp3 it should have played properly upon complete download anyway. |
|
Back to top |
|
DeliriumServers
Joined: 17 Jun 2006 Posts: 54 Location: H Town
|
Posted: Thu 05 Oct '06 2:49 Post subject: |
|
|
is it possible that something like mod_deflate is set to compress this, which would mess it up? |
|
Back to top |
|
sb.net
Joined: 22 Sep 2006 Posts: 120 Location: USA
|
Posted: Thu 05 Oct '06 16:31 Post subject: |
|
|
Quote: | is it possible that something like mod_deflate is set to compress this, which would mess it up? |
no mod deflate is not on.
Quote: | what exactly does that mean, "enable page output buffering for large downloads"? |
i am not sure that is. i was just told to do that on the forum. |
|
Back to top |
|
Jorge
Joined: 12 Mar 2006 Posts: 376 Location: Belgium
|
Posted: Thu 05 Oct '06 21:13 Post subject: |
|
|
DeliriumServers wrote: | is it possible that something like mod_deflate is set to compress this, which would mess it up? |
Yes it could, then again mod_deflate should only touch text by default IIRC
Chunked-Encoded would could also cause this on slow computers. |
|
Back to top |
|
sb.net
Joined: 22 Sep 2006 Posts: 120 Location: USA
|
Posted: Thu 05 Oct '06 23:29 Post subject: |
|
|
i do not know.
Code: | #LoadModule deflate_module modules/mod_deflate.so |
you see i disabled mod deflate completely. |
|
Back to top |
|
Brian
Joined: 21 Oct 2005 Posts: 209 Location: Puyallup, WA USA
|
Posted: Fri 06 Oct '06 1:42 Post subject: |
|
|
I had not thought of mod_deflate with a multi-media file. I cannot think of any scenerio where you'd use mod_deflate with any form of multi-media file, none.
You know what though, I downloaded a track and it would not play for me either, not at all. The file's extensionthat I downloaded was 'mp3', but of course that means squat in truth.
So I suspect from my own very limitted experiment that these are not audible files, that they are not mp3's or that they are currupt some how.
Did any of the files play for anyone else? |
|
Back to top |
|
sb.net
Joined: 22 Sep 2006 Posts: 120 Location: USA
|
Posted: Fri 06 Oct '06 5:28 Post subject: |
|
|
the files did not play. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Fri 06 Oct '06 10:44 Post subject: |
|
|
The files are broken! You should replace them! |
|
Back to top |
|
sb.net
Joined: 22 Sep 2006 Posts: 120 Location: USA
|
Posted: Fri 06 Oct '06 19:20 Post subject: |
|
|
they work when i open the from the folder they were hosted from.!? |
|
Back to top |
|