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

one MP3 file not playing in Chrome (others do)

I'm developing a Joomla-site (2.5) and embedded an audio file (mp3) in a K2-article using the html5-tags (see code below). The mp3 is playing perfectly in Firefox (vs 16.02) , IE (vs 8.0.6) but not in Google Chrome (vs. 23.0) . Strangely enough, the…
2
votes
0 answers

AudioConverterFillComplexBuffer work with Internet streamed mp3

I am currently streaming mp3 audio through the Internet. I am using AudioFileStream to parse the mp3 steam comes through a CFReadStreamRef, decode the mp3 using AudioConverterFillComplexBuffer and copy the converted PCM data into a ring buffer and…
Joe
  • 59
  • 8
2
votes
2 answers

Extracting and splitting a MP3 audio stream from an AVI file

I want to develop a desktop application by programming in C# and using the .Net framework 4. The goal of my application is to extract a MP3 audio stream from a supplied AVI file. I have learned from the Internet that an AVI file is a container and…
user1139666
  • 1,687
  • 4
  • 24
  • 45
2
votes
2 answers

Is there a Heroku-supported method for getting the length of an audio file in seconds?

I'm trying to implement http://blog.firmhouse.com/validate-length-of-an-audio-file-when-using-paperclip-and-s3 But I'm unsure what gem provided FFMpegWrapper, and I'd like to use Heroku to deploy my app for testing. Does heroku support something…
Ben West
  • 660
  • 5
  • 17
2
votes
1 answer

Having a hard time finding a Java mp3 player(api) with a lot of functionality

I've been looking at different API's (recently I've used JLayer), and I can't seem to find one with as much functionality as I'm looking for. I have an assignment to make a media player, that plays MP3 files(was recommended that we use some api). I…
Nick Johns
  • 47
  • 1
  • 6
2
votes
0 answers

how to play more than one mp3 in phonegap

i have some problem with my app. i was buliding hijaiyah aplication with PhoneGap and jquery mobile, i have some problem in it. actually this is working, but this is very delay to play another sound. here's html
2
votes
1 answer

Error when trying to convert mp3 with image to mp4 using ffmpeg

The mp3 has an image in it, maybe some album images. When I use ffmpeg to convert it to mp4, it goes wrong. But if I convert an mp3 without an image, it succeeds. My command is like this: ffmpeg -i input.mp3 output.mp4 Here's the error: Stream…
Ello
  • 281
  • 1
  • 3
  • 12
2
votes
1 answer

Making a fast forward button and rewind button for a music player?

I need to make a fast forward button and rewind button I have everything thing else just need those two and I'm not sure how to do it. Also I'm using Flash, Action script 3 I have looked at a bunch of examples but all of them do it differently then…
zac
  • 45
  • 2
  • 10
2
votes
2 answers

how do i create a stereo mp3 file with latest version of ffmpeg?

I'm updating my code from the older version of ffmpeg (53) to the newer (54/55). Code that did work has now been deprecated or removed so i'm having problems updating it. Previously I could create a stereo MP3 file using a sample format…
Sean
  • 2,033
  • 2
  • 23
  • 28
2
votes
0 answers

Using ffmpeg-sharp, convert a wav to mp3

Using the ffmpeg-sharp project, how do I convert a wav to mp3? I feel silly to ask, but I can't find any explanation on how to do it.
marcelo-ferraz
  • 3,147
  • 4
  • 38
  • 55
2
votes
2 answers

Is there an ActionScript library for MP3 encoding than Shine-MP3-Encoder?

Is there an ActionScript library for MP3 encoding than Shine-MP3-Encoder? (https://github.com/kikko/Shine-MP3-Encoder-on-AS3-Alchemy) This library works fine, but I wanted to find a similar solution (on ActionScript, not C) to optimize it for…
2
votes
1 answer

How can I use mutagen.py to clear mp3 metadata?

I'd like to clear all metadata in an MP3 file, and I'm already using Mutagen in my project. Is there a way I could simply clear all the metadata from the file?
JoshWillik
  • 2,624
  • 21
  • 38
2
votes
1 answer

jLayer -- Playing mp3 causes distortion at start of file

I'm using jLayer 1.0 to play a simple mp3 file. It works fine apart from the first 3 seconds or so (adding 5 seconds of silence to the start of the track fixes the issue). This is the code I'm using: try { final Player player = new…
user1735972
  • 103
  • 1
  • 7
2
votes
2 answers

read tags from mp3 file

I have a code that reads the mp3 tag, it's the last 128 bytes of the file try{ final int TAG_LONG = 128; fileInputStream = new FileInputStream(file.getAbsolutePath()); byte[] bytesSong = new byte[128]; byte[] byteTitleArry = new…
2
votes
3 answers

Determine bit depth in mp3 file

Since an MP3-File has no fixed bit depth like a PCM-Stream, a decoder (e.g. lame) must determine what bit depth to use when converting an mp3-stream into a PCM-Stream. Does it work by using a default value (propably 16) or is there any other way?
schneck
  • 10,556
  • 11
  • 49
  • 74