Questions tagged [mp3]

MPEG-1 or MPEG-2 Audio Layer III, more commonly referred to as MP3, is a patented digital audio encoding format using a form of lossy data compression. It is a common audio format for consumer audio storage, as well as a de facto standard of digital audio compression for the transfer and playback of music on digital audio players.

The use in MP3 of a lossy compression algorithm is designed to greatly reduce the amount of data required to represent the audio recording and still sound like a faithful reproduction of the original uncompressed audio for most listeners. For example: An MP3 file that is created using the setting of 128 kbit/s will result in a file that is about 11 times smaller than the CD file created from the original audio source. An MP3 file can also be constructed at higher or lower bit rates, with higher or lower resulting quality.

The compression works by reducing accuracy of certain parts of sound that are considered to be beyond the auditory resolution ability of most people. This method is commonly referred to as perceptual coding. It uses psychoacoustic models to discard or reduce precision of components less audible to human hearing, and then records the remaining information in an efficient manner.

Further information and deeper analysis: MP3 on wikipedia

4559 questions
2
votes
2 answers

How do I stop mp3 files being played multiple times at once?

I am trying to play an mp3 file on button press or selection from a list (which I have managed successfully). However, I cannot seem to stop the song being played multiple times on the same button press. What I would like to do is play the song in a…
ms813
  • 241
  • 3
  • 17
2
votes
1 answer

Get Audio File Duration Via a Microsoft DLL or Utility

Is there a Windows dll or utility that can be used to see the duration (HH:MM:SS) of an audio file (WMA, MP3, or WAV) that can be accessed from a script (specifically JScript)? I know there is one, or something else can read file metadata, but I'm…
Nathan R
  • 227
  • 2
  • 11
2
votes
1 answer

What's the command for converting mp3 to ape using ffmpeg

How to convert the mp3 music file to APE? It's easy to convert APE to mp3 but I have no idea to convert mp3 to APE.
2
votes
1 answer

Display MP3 As OGG via PHP

I need a MP3 as well as an OGG version of audio files uploaded by users. Most people just convert MP3 over to OGG and keep both files on-hand. I, however, would prefer to use a PHP file instead that would take the MP3, format it as an OGG, and then…
SLEDGE
  • 63
  • 1
  • 7
2
votes
1 answer

How to upload a file to server for example image, mp3 or anyother non ascii file in iOS?

I need to know how a file to be uploaded on server as multipart/form-data; POST request using objective C & COCOA
Saturn
  • 151
  • 1
  • 7
2
votes
3 answers

Looking for Wii compatible Javascript Flash mp3 player

I am looking for a flash mp3 player that will work within the Opera-based browser on the Wii. The player needs to be javascript enabled (support methods like play, stop etc.) The mp3 tracklist will be built dynamically using ajax on the same page…
Joel Harris
  • 1,966
  • 3
  • 20
  • 32
2
votes
1 answer

Jmf Mp3 files not streaming on rtp

The player mp3 gives error: RTP Handler internal error: javax.media.ControllerErrorEvent[source=com.sun.medi a.content.unknown.Handler@baf4ae,message=Internal module com.sun.media.BasicRend ererModule@197f158: failed to handle a data format…
2
votes
1 answer

How to index media files in android for fast search

I have music application which can play music from cloud. Users can download their favorite songs to listen without internet-connection. Earlier file-names of downloaded songs exactly matched their ID in cloud. For example a34dsa335dkf.mp3,…
Ruslan
  • 1,039
  • 1
  • 9
  • 16
2
votes
2 answers

Convert Mp3 to WAV with naudio without writing on disk. (Stream only)

I want to convert mp3 files to WAV. In DirectX.DirectSound the secondary buffer is supporting only WAV. I am converting the files using naudio and this is working fine. using (Mp3FileReader reader = new Mp3FileReader(mp3File)) { …
Alexandros Mor
  • 127
  • 3
  • 12
2
votes
1 answer

fetch ID3 tags without downloading the whole file in iphone app?

Is it possible to fetch ID3 tags (especially duration) without downloading the hole file? I need to get the duration of mp3 files from http urls. I'd tried to do this : AVAsset *asset = [AVURLAsset URLAssetWithURL:url options:nil]; NSString…
Harrath hichem
  • 143
  • 1
  • 13
2
votes
1 answer

How to play mp3 audio in an application for firefox os?

I tried with several players but only supports the format. Ogg player or there any way to play a. Mp3 in firefox os. I also used to open the audio player of Firefox with the default OS file. Mp3
Jaumesv
  • 1,065
  • 3
  • 11
  • 19
2
votes
2 answers

Playing a mp3 file in a client program

I'm trying to send a mp3 file from a server to a client and play it but I can't figure out how to do it. I've been looking at the Media and Media Player java classes but still don't understand how they work or know if it's the correct thing to use…
ST33L
  • 67
  • 1
  • 9
2
votes
0 answers

Playing an MP3 with LAME

I'm looking into making a desktop music player, probably in C# (not certain yet), and for MP3 support I would like to use LAME for various quality and other reasons. I am used to coding in Java and as such have only used Java libraries with Java and…
Rory Stephenson
  • 320
  • 2
  • 11
2
votes
1 answer

FFMPEG Library MP3 Encoder

Does the ffmpeg library come with an MP3 encoder? This: AVCodec *pCodec = avcodec_find_encoder(AV_CODEC_ID_MP3); always returns null. I also tried AV_CODEC_ID_MP3ADU and AV_CODEC_ID_MP3ON4, they too return null. The only encoding codec I've found…
user439441
2
votes
2 answers

FileNotFoundException, the file exists Java

I have a very strange issue, I'm trying to play some MP3s with some Java code and JLayer. I have a method setup to generate the file path, but it's giving me a ton of grief. Here is the return statement (and all the code involved in the…
skylerl
  • 4,030
  • 12
  • 41
  • 60