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

Packaging mp3 files into Qt app

Since I found mp3 files can't be retrieved by QMediaPlayer from resource, I figure it out to use them as local file. I use this cmd with a little modification to copy files into installation directory: copydata.commands = $(COPY_DIR)…
Robert
  • 1,660
  • 22
  • 39
2
votes
0 answers

C++ ffmpeg extract audio to mp3 (demuxing)

I am trying to write a C++ program that allows me to extract the audio from a video file to an mp3 file. I searched the internet and stackoverflow, but couldn't get it to work. The library I chose is ffmpeg and I have to do it in C/C++. This is what…
2
votes
3 answers

Using DirectShow library to edit and save an mp3 file

I want to read an mp3 file, crop section of it, fade in & out and finally save it as a new mp3 file. I found a library called DirectShow that apparently can do this, but I can figure out how to do it. Has anyone done something like this?
Yo Momma
  • 8,581
  • 7
  • 34
  • 45
2
votes
0 answers

windows store app play and download online mp3s in backgroud

I've multiple online mp3 links generated dynamically http://blabla/1.mp3 http://blabla/2.mp3 .... etc the length of each one from 30 s to 3 min, when the user choose to play some mp3s, they should be played and saved to be available…
Hager Aly
  • 1,113
  • 9
  • 25
2
votes
0 answers

Fetching all user created playlists in device

I am trying to fetch all the user defined playlists in the device. But I am getting only the default playlists. I tried creating 2 playlists but still I don't get any of my created playlists retrieved. Please help. I am pasting code to create…
Siju
  • 2,585
  • 4
  • 29
  • 53
2
votes
2 answers

JAVA - Xuggler - Play video while combining an MP3 audio file and a MP4 movie

Using JAVA and Xuggler - the following code combines an MP3 audio file and a MP4 movie file and outputs a combined mp4 file. I want outputVideo file should be play automatically while combining audio and video file. String inputVideoFilePath =…
Rajesh K
  • 45
  • 1
  • 10
2
votes
1 answer

Reading ID3 Tags of MP3 Stored Online

Is it possible to read the ID3 tags of an MP3 stored online without actually downloading the entire file? I've used TagLib Sharp, but to my knowledge you actually have to open the file to read the ID3 tags.
James Jeffery
  • 12,093
  • 19
  • 74
  • 108
2
votes
1 answer

Phonegap - Add mp3 files to my app build

I have made a custom player that plays mp3 media files from a directory on the phone(sdcard, root and so on). I want to encapsulate my mp3 files into my application, I've tried copying the files into my project root folder, I've created a new…
doglover1337
  • 146
  • 4
  • 18
2
votes
1 answer

IOS: How to get ID3 tags from an mp3 file on Dropbox sync

Is there a way to get ID3 tags from NSData or from the NSFileHandle without saving another copy of the file to the disk first? The reason I ask is I need to get the ID3 tags from mp3 files on dropbox using sync API. The sync API returns a DBFile…
2
votes
1 answer

grab 2 numbers from file name then insert into command

I'm a bit new to programming in general and I'm not sure how to go about accomplish this task in my bash script. A quick background: when importing my music library (formerly organized by iTunes) to Banshee, all of the files were duplicated to fit…
2
votes
1 answer

Unwelcome DELAY when using arecord with aconv

arecord -f cd -D default:CARD=Intel -| avconv -i pipe:0 -acodec libmp3lame -aq 128k g3-$dt-$$.mp3 I'm trying to record via my laptop MIC. There's an unwelcome pause before start of recording. avconv version 0.8.10-6:0.8.10-1, Copyright (c)…
user621819
2
votes
1 answer

Is Node.JS audio mixing + MP3 generation possible?

In short, I have a site where on the client side the user has a "beat maker" app. The user can turn on / turn off noises, background beats, etc, to essentially create their own custom "song" based on the pre-defined noises, tones and tunes that I…
user2762294
2
votes
1 answer

Stream a song from SoundCloud using the Python API

I writing a little program that should stream a song from soundcloud.. my code is: import soundcloud cid="===" cs="===" un="===" pw="===" client = soundcloud.Client( client_id=cid, client_secret=cs, username=un, …
Ohad1335
  • 21
  • 1
  • 2
2
votes
1 answer

How to modify incorrect mp3 song length in python

I am using mutagen to modify the metadata for a file: "temp.mp3". The song is 3:00 long. When I try: from mutagen.mp3 import MP3 audio = MP3('temp.mp3') print audio.info.length audio.info.length = 180 print audio.info.length audio.save() audio =…
Nezo
  • 567
  • 4
  • 18
2
votes
2 answers

Seek backwards to deal with invalid MP3 header?

I am writing an application to decode MP3 frames. I am having difficulty finding the headers. An MP3 header is 32 bits and begins with the signature: 11111111 111 In the inner loop below, I look for this signature. When this signature is found, I…
noahnu
  • 3,479
  • 2
  • 18
  • 40