logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: mp3 skips ? Page 1, 2  Next
Author
sb.net



Joined: 22 Sep 2006
Posts: 120
Location: USA

PostPosted: Tue 26 Sep '06 2:38    Post subject: mp3 skips ? Reply with quote

On my site http://www.synth38.com/ the mp3s skip. Help me.
Back to top
Jorge



Joined: 12 Mar 2006
Posts: 376
Location: Belgium

PostPosted: Tue 26 Sep '06 8:57    Post subject: Reply with quote

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

PostPosted: Tue 26 Sep '06 16:55    Post subject: Reply with quote

how do i do that. is it in the apache config?
Back to top
Jorge



Joined: 12 Mar 2006
Posts: 376
Location: Belgium

PostPosted: Wed 27 Sep '06 9:06    Post subject: Reply with quote

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 Wink... 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

PostPosted: Tue 03 Oct '06 22:28    Post subject: Reply with quote

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

PostPosted: Tue 03 Oct '06 22:32    Post subject: Reply with quote

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

PostPosted: Wed 04 Oct '06 7:01    Post subject: Reply with quote

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: 7364
Location: Germany, Next to Hamburg

PostPosted: Wed 04 Oct '06 9:37    Post subject: Reply with quote

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

PostPosted: Wed 04 Oct '06 15:35    Post subject: Reply with quote

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

PostPosted: Wed 04 Oct '06 17:43    Post subject: Reply with quote

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

PostPosted: Wed 04 Oct '06 17:55    Post subject: Reply with quote

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

PostPosted: Thu 05 Oct '06 1:16    Post subject: Reply with quote

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

PostPosted: Thu 05 Oct '06 2:49    Post subject: Reply with quote

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

PostPosted: Thu 05 Oct '06 16:31    Post subject: Reply with quote

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

PostPosted: Thu 05 Oct '06 21:13    Post subject: Reply with quote

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

PostPosted: Thu 05 Oct '06 23:29    Post subject: Reply with quote

i do not know. Confused
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

PostPosted: Fri 06 Oct '06 1:42    Post subject: Reply with quote

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

PostPosted: Fri 06 Oct '06 5:28    Post subject: Reply with quote

the files did not play.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7364
Location: Germany, Next to Hamburg

PostPosted: Fri 06 Oct '06 10:44    Post subject: Reply with quote

The files are broken! You should replace them!
Back to top
sb.net



Joined: 22 Sep 2006
Posts: 120
Location: USA

PostPosted: Fri 06 Oct '06 19:20    Post subject: Reply with quote

they work when i open the from the folder they were hosted from.!?
Back to top


Reply to topic   Topic: mp3 skips ? View previous topic :: View next topic
Post new topic   Forum Index -> Apache Page 1, 2  Next