Welcome, Guest
Username Password: Remember me

Downloading mp3 files
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Downloading mp3 files

Downloading mp3 files 20 Apr 2009 05:14 #789

Hi,

I am having problems downloading mp3 files from my website. They are 0bytes whenthey are saved to disk, I am using ver 6.00.11 and have tried the compatability mode but I get files that are 343bytes long using that mode. I have also noticed that I am getting the m3 files playing at chipmunk speeds when playing on IE and normal speed in firefox.

I have set the following in my php.ini
allow_url_fopen = On
allow_url_include = On

and it made no difference.

Is there anything else that you can suggest I try.

Regards
Andrew

Re:Downloading mp3 files 20 Apr 2009 07:41 #792

Do you have spaces in the file names? That seemed to be causing problems for me with the downloads. I switched all my files to using underscores (_) and it seems to have solved the problem.

If this doesn't work for you, let me know and I can look at the code.

Regards,
Darren

Re:Downloading mp3 files 29 Apr 2009 17:57 #816

I don't know about the zero bytes problem, but I do know something about where the chipmunks might be coming from. In some players that play inside browsers (particularly flash-based), if the sample rate you used when you created the MP3 file is not divisible into 44.1 kHz, you'll get chipmunks. I use 22.05 kHz - it sounds pretty good for messages. I think 11.025 is also theoretically possible, but would almost certainly sound like the pastor is talking on an old-fashioned telephone because all the high frequency sounds would be gone. I hope this helps. You can Google something like "chipmunk mp3 flash" to find tons of discussions on the topic.

Another tip for saving bandwidth but still getting decent sound for spoken messages is to save them in mono instead of stereo. 22.05 kHz, mono, and about 32kb/s bitrate sounds quite good, and if you don't mind a bit of compression noise you could get away with 24kb/s bitrate. How to force mono varies by software, but it's something to consider.
Joomla 1.5.10, Bible Study 6.0.11

Re:Downloading mp3 files 29 Apr 2009 19:42 #817

  • Eugen
  • OFFLINE
  • Moderator
  • Posts: 147
When files download to 0 byes, that is usually caused by a incorrect file size. Make sure you filled it in.

With Compatibly mode enabled, check the link of the download button. It should link to this site, and have a "filesize" attribute as well...(the filesize tells the server how much of the file to download. If there its not set, it downloads 0 bytes depending on the browsers. Some browsers just download until no more data comes through)

hope that makes sense.

Re:Downloading mp3 files 13 May 2009 19:20 #875

  • Tammy
  • OFFLINE
  • Junior Boarder
  • Posts: 25
I had trouble downloading files too...even in compatibility mode. Then I realized that I had a space in one of my folder names. It worked as soon as the space was eliminated.
  • Page:
  • 1
Moderators: Darren Vandermyde, Kyle
Time to create page: 0.76 seconds