MP3 player limitation/problem?

MP3 player limitation/problem?

by Bob Lee -
Number of replies: 13
Hi, all

I have a server at http://www.rboblee.com/moodle that is having a little problem. Server will play .mp3 files that are small but if the path the the .mp3 is long OR the .mp3 is larger, e.g., 100mb, then the internal moodle player will not play the file appropriately, i.e., it will just not play it at all, most often.

I can tell the file is being found by the player as it is showing loading in the little bar on the internal media player but it will often not play or, worse, sometimes will lock up the window and I have shut down the browser and begin completely again.

Any of you having this problem? Any ideas what might be going on?

Thanks, in advance, for your contribution to an answer here.

-Bob-
Average of ratings: -
In reply to Bob Lee

Re: MP3 player limitation/problem?

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators
Hi there. I can't help you technically I'm afraid but I wouldn't be in the least bit surprised if there are problems playing an mp3 file that is 100MB -I think that's far too large really, Is there no way you could split it up into smaller sections?
In reply to Mary Cooch

Re: MP3 player limitation/problem?

by Bob Lee -
Thanks for you input, Mary. It is a 1.5 hour lecture and is not broken up. Perhaps I will have to use flash or something else to do it given I'm having problems with it.

Thanks. Anyone else have any opinions?
In reply to Bob Lee

Re: MP3 player limitation/problem?

by John White -
Bob,

What a cool site - very student friendly with music on the front page!

I have files of 36MB (40 minute podcasts) playing on a site with no problem. Though never more than one player per page (really confuses things otherwise!)

You can place the files elsewhere on a remote server and link to the address without moodle's indirection file.php using the same technique as you currently do - just a different location. I wonder if this might get round the issue, provided you don't mind who might listen in!

Regards,

John
In reply to John White

Re: MP3 player limitation/problem?

by Bob Lee -

Hi, John

Thanks for your compliment.

I have further figured out how to reduce the size of mp3 to now about 30mb by using 64kbps encoding via lame mp3 encoder.  I have had no problem with the moodle flash player since reducing the mp3 sizes to below 100mb -- in case anyone is interested in knowing.

Thanks, again,

Bob Lee

In reply to Bob Lee

Re: MP3 player limitation/problem?

by John White -
Hi Bob,

Interesting, but is this just a matter of size, or was the original encoding a problem to the player? Since the player yields audio from a 30MB file within a couple of seconds of clicking play, why would size matter at all?

Have you tried producing a short audio file on the original equipment (same settings) and tested that?

Cheers,

John
In reply to Bob Lee

Re: MP3 player limitation/problem?

by John White -
...then overnight I remembered Matt Bury's comments at http://moodle.org/mod/forum/discuss.php?d=98797 that the flash mp3 player is fussy about the sample rate; that it should be 44.100KHz (or a sub-multiple thereof). And with that one contributor commenting that lecture theatre recording equipment may not do that!

Worth checking that the files are at 44.1 and if not upscaling them in suitable software to that (and perhaps to stereo if mono, by duplicating the channel), then trying again.

Regards,

John
In reply to John White

Re: MP3 player limitation/problem?

by Bob Lee -

Hi, folks

Thank you all for your reponse to my question about mp3/podcasting, etc.  I have solved the problem and it was due to the mp3 encoding.  I used Audacity to re-encode the mp3/podcasts and these worked just fine.  I FTP'ed them up to a server and linked in a Moodle page and, voila~, we have "lift-off!"

I am going to look at the resources you all suggested, too, as a way to work with these podcasts.  Mine (covering 1.5 hours) turned out to be about 75mb long.

Again, thanks!

In reply to Bob Lee

Re: MP3 player limitation/problem?

by Grant Swaim -
>>>>
Mine (covering 1.5 hours) turned out to be about 75mb long.
>>>>

Bob,

This seems like an awful big file size for the length of the recording. I encode a lot of MP3s and I can consistently encode a 50 minute sermon into a 20-25mb file. So for what its worth, a few pointers for recordings that are web bound.

  • The original recording should be made in a compression-free format such as .wav
  • Record the original at 44,100 Hz (samples per second) or some multiple of this. If you do not, some flash based MP3 players will make the recording sound like chipmunks. Note that a recording could be resampled at 44.1 KHz if it were not originally recorded at this sample rate.
  • A recording bit rate of 16 is fine. Make note that commercial CDs are produced at 44,1 KHz 16-bit.
  • Unless there is a compelling reason to deliver the recording as stereo, make it a mono recording. Spoken word (or recordings with little amounts of music) recordings work fine as a mono recording. Converting a stereo file to a mono file is easy to do in a program like Audacity. When you encode a mono wav file to MP3 the encoding bit rate does not have to be shared across two tracks. This means you can get the same output results at 1/2 the endoding bit rate.
  • Drop the MP3 encoding bit rate down. Spoken work recordings can be encoded at 80, 64, 56, or even 48 Kbit/s and sound fine.
I have also found that most people like to listen to shorter shows (20 - 30 minutes loing) This length seems to fit into more time slots like the ride to work or walking the dog. If there is any way possible I would break the 1.5 hour recording into 3-4 episodes.
In reply to Grant Swaim

Re: MP3 player limitation/problem?

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I use Audacity for messing around with audio files. It lets you do things like change the sample rate and convert stereo to mono.

It is Open Source, available for most platforms, and while it is quite powerful and has lots of options, it is not impossibly difficult to use. http://audacity.sourceforge.net/
In reply to Tim Hunt

Re: MP3 player limitation/problem?

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
I have used Audacity and it has the advantage of being free. However, for intensive audio editing I switched to a commercial product which I find much more user-friendly and I utterly recommend: High Criteria's Total Recorder. Excellent value for the money.
Joseph
In reply to Bob Lee

Re: MP3 player limitation/problem?

by Ron Levesque -
I'm wondering if any Moodlers have experience with Apple's iLife suite for creating podcasts or MP3s. I'm looking to get into more of that and working with a Mac now affords me free access to that suite of products (including iWork's Keynote which is also invaluable for presentations that can be converted to podcasts... Any comments are welcome.

Ron Levesque