mp3

Ffmpeg and Xing header - iTunes issue and Duration issue

Hello all, I extract the audio from a bunch of flv files as an MP3. This works great: ffmpeg -i video.flv -vn -acodec copy audio.mp3 However, some audio that I extract have durations that are longer than they should be and some MP3 files keep looping the audio! Also in some audio players like WMP, the seekbar gets stuck at one point....

Extracting Album art from MP3 files using TagLib - Is there a better way write this code?

I'm using Visual Basic 9 (VS2008) and TagLib. The following code extracts the album art from an MP3 file and displays it in a PictureBox. Is there a better way to write this code? Dim file As TagLib.File = TagLib.File.Create(filepath) If file.Tag.Pictures.Length >= 1 Then Dim bin As Byte() = DirectCast(file.Tag.Pictures(0).Data...

Detect duplicate MP3 files with different bitrates and/or different ID3 tags?

How could I detect (preferably with Python) duplicate MP3 files that can be encoded with different bitrates (but they are the same song) and ID3 tags that can be incorrect? I know I can do an MD5 checksum of the files content but that won't work for different bitrates. And I don't know if ID3 tags have influence in generating the MD5 ch...

Flash loading external file freezes page -or- multiple simultaneous downloads

I've got a flash mp3 player on one of my web pages, streaming external audio. Check this site out as an example (no affiliation, just an example): http://www.1pixelout.net/code/audio-player-wordpress-plugin/ When it's a decent sized mp3, once I start playing the file, it takes a little time to buffer. While it's buffering, if I click o...

Loading an AAC / MP3 file "manually"

For an application I'm creating, I need to be able to read AAC and MP3 files and get the waveform data (not play it directly, I need to manipulate the data before playing). Ideally, I should be able to read any MP3/AAC file out there (VBR, different bitrates, etc), or at least anything that could potentially show up in iTunes. This last...

Delphi : How to create MP3 file with certain number of seconds of silence ?

I need to create a mp3 file with certain number of seconds of silence? What would be way to do it programatically? Edit: It doesn't need to be re inserted in mp3, just a single mp3 file that contain silence x seconds long. ...

FMS:Flash action script 3.0: How to get the bitrate of a mp3 file being streamed from FMS.

Hi, I need to get the bit rate of a mp3 file which is being streamed as a netstream object in flash action scripting. I am using Flash Media Server 3.2. I need the bitrate to calculate the duration of the mp3 file using the formula: Duration = file size in bytes / bitrate ...

How to compare mp3 programmatically

I like to be able to compare mp3’s programmatically. The problem I don’t know by what. Header? Histogram? channels? Does anyone have experience with this subject? ...

Trim an MP3 Programatically

What is the best way to trim a mp3 file programatically. For example, say I want to get rid of the first 2 minutes or last 2 minutes or both. Is there a good way to do this from .NET? Or .NET calling out to a command line tool? Thanks. ...

extracting mp3 file duration using AudioQueueServices

I have implemented a streaming mp3 player using AudioQueueServices, that downloads mp3s over an NSURLConnection. Playback, pausing, and seeking work great, however I can't figure out how to extract the duration of the audio from the mp3 files while they are still being downloaded. I'd like to be able to pull the info from the id3 tags...

How to play mp3 from a url on windows mobile

I am looking for a way to play an mp3 file from a url on Windows Mobile 5. The examples I've found using the wmplib.WindowsMediaPlayer.url property work for a file on the device but don't seem to work for a http: url. The function seems to succeed without throwing an exception but no audio is played. I have tried the player.settings.vol...

How can I have two instances of rhythmbox running or how to program rhythmbox to start playing at previous position in a mp3 file?

I like to alternate between listening to internet radio and other things e.g. a podcast, but don't like to lose my place in the podcast file. And oddly, sometimes in the process of fast forwarding in an audio file, rhythmbox just quits. Or instead of having two instances of rhythmbox, would I be able to write a program so that it can au...

Extracting raw audio/waveform from an MP3

Hi all, This question has been in my mind for a few years and I never actually found the answer for this. What I would like to do is extract the actual waveform/PCM of an MP3 file, so that I can play it using the soundcard (of course). Ideally I would be experimenting some DSP effects. My first step was to look into LAME, but I didn'...

Flash 9: How to determine if a streaming track is mono?

I've been trying to lick this problem for months now... In Flash 9 I'm trying to load a streaming MP3 file and calculate its track length. I can do that fine, But when the mp3's channel is mono, the time is double that of the original track length. How did I figure this out? Well, I tested my player by recording into Sound Recorder on Wi...

How do I get the length of an MP3 from its URL?

If I know the URL of an MP3 file, what is the easiest/fastest way to get its length, bitrate, size, etc? How can I download just the ID3 tag part of the MP3 to get these details? ...

How to broadcast a music file using rtsp

How can I broadcast an mp3 file using rtsp? ...

Audio(mp3) codecs for embedded application

Hi, I'm looking for software based codec library to be used in embedded application (c/c++). I'm interested in both commercial and free codec libraries as well. Any suggestion will be welcomed. In additional if somebody have any experience with OpenSL ES and know which software/hardware solutions are compatible i will be glad to hea...

Changing volume in Java when using JLayer.

I'm using JLayer to play an inputstream of mp3 data from the internet. How do i change the volume of the output? I'm using this code to play it: URL u = new URL(s); URLConnection conn = u.openConnection(); conn.setConnectTimeout(Searcher.timeoutms); conn.setReadTimeout(Searcher.timeoutms); bitstream = new Bitstream(conn.getInputSt...

How can I split an mp3 file into several individually playable parts?

How can I break a large mp3 file into one or more mp3 files, and still have each part playable in a media player? ...

How to stream mp3 using pure Java

Is it possible to stream mp3s using pure Java? If so, what are the best resources to implement this. If not, are any other music formats streamable using Java only? ...