How are we doing? Please help us improve Stack Overflow. Take our short survey

Questions tagged [id3]

ID3 is a metadata container (often used with MP3s) which can be used to store details about the enclosing file.

id3
Filter by
Sorted by
Tagged with
160 votes
7 answers
139k views

View/edit ID3 data for MP3 files

What's a quick and easy way to view and edit ID3 tags (artist, album, etc.) using C#?
Mag Roader's user avatar
  • 6,990
38 votes
4 answers
51k views

How to read and write ID3 tags to an MP3 in C#? [closed]

Is there a library for reading and writing ID3 tags to an MP3 in C#? I've actually seen a couple when searching, anybody using any that can be recommended?
Pablo Fernandez's user avatar
36 votes
3 answers
6k views

Read id3 v2.4 tags with native Chrome Javascript/FileReader/DataView

Based on the answer of ebidel, one can read id3v1 tags by using jDataView: document.querySelector('input[type="file"]').onchange = function (e) { var reader = new FileReader(); reader.onload ...
cocco's user avatar
  • 16.6k
34 votes
5 answers
23k views

How do you embed album art into an MP3 using Python?

I've been using mutagen for reading and writing MP3 tags, but I want to be able to embed album art directly into the file.
user avatar
31 votes
4 answers
31k views

How to remove ID3 audio tag image (or metadata) from mp3 with ffmpeg

FFMPEG is really a great tool. I know it can edit ID3 tags and even remove all tags in a row : ffmpeg -i tagged.mp3 -map_metadata -1 untagged.mp3 But even after that, there's still the cover image. ...
Buzut's user avatar
  • 5,055
27 votes
3 answers
71k views

How to read MP3 file tags

I want to have a program that reads metadata from an MP3 file. My program should also able to edit these metadata. What can I do? I got to search out for some open source code. But they have code; ...
vijay.shad's user avatar
  • 2,454
22 votes
4 answers
26k views

How to get and set (change) ID3 tag (metadata) of audio files?

I am working to change ID3 tags, the metadata in audio files, such as: Artist Title Album etc. And the core point,. that edited ID3 tags should be shown only into my app.
Chirag Shah's user avatar
  • 2,058
19 votes
1 answer
13k views

What's this "Album artist" tag iTunes uses? Any way to set it using java?

iTunes uses an ID3 tag called "Album Artist", and for one album to be actually grouped as an album in iTunes, both the Album Name and Album Artist must be the same. As far as I'm concerned, Album ...
CookieMonster's user avatar
16 votes
1 answer
10k views

Get the Ringtone title from RingtonePreference

I have a RingtonePreference that is used to select a ringtone that is broadcasted to a receiver used in an Alarm application. I would like to display the title (the titles displayed in the list you ...
Alex Bergsland's user avatar
16 votes
4 answers
36k views

How to read ID3 Tag in an MP3 using Python? [closed]

Does anyone has an experience of reading and writing ID3 tags in an MP3 file or a WMA file? There are some libraries but I would like to do it from the scratch. :-)
Chathuranga Chandrasekara's user avatar
16 votes
3 answers
3k views

unable to install id3 for php - what is the good alternative?

i have a website (personal site) where i upload my music. i am a dj in clubs and for my mix i use my site to manage my music i create. so ultimately i want to create mix online so now i have a share ...
mario bros's user avatar
15 votes
1 answer
35k views

How to install PECL extensions on ubuntu?

I'm really new to Ubuntu I wanted to use the PECL id3 package so I shifted from Windows to Ubuntu. I installed php5, apache2, libcurl, php5-dev, php-pear but when I try to install the php_http ...
maniteja's user avatar
  • 697
14 votes
2 answers
13k views

Python - Add ID3 tags to mp3 file that has NO tags

I get a lot of podcasts that have no ID3 tags in them. I've tried a number of tools that I could use to loop through directories and add title and artist info to the ID3 tags, but they fail. I've ...
Tensigh's user avatar
  • 1,040
14 votes
10 answers
14k views

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 ...
user avatar
13 votes
3 answers
57k views

Linux Program can't find Shared Library at run-time

I'm trying to compile a linux program, id3v2, and it says it is can't find the appropriate library: id3v2: error while loading shared libraries: libid3-3.8.so.3: cannot open shared object file: No ...
Scott's user avatar
  • 877
13 votes
1 answer
7k views

ID3 tags with Swift

I'm looking for a way to modify ID3 tags with Swift. More specifically, I want to write the Album Art image to an mp3/m4a file. A Swift library would be the best, but I'll take anything that can be ...
LaX's user avatar
  • 453
12 votes
3 answers
4k views

Why do MP3 files use Synchsafe Integers?

I started reading mp3-files in c++. All went well until I read the specs of the ID3-Tag. There is some information in the ID3v2-Header about its size stored in so-called Synchsafe Integers. That is a ...
the_mario's user avatar
  • 470
12 votes
3 answers
7k views

Extracting ID3 tags from MP3 over HTTP Live Streaming

I've been having quite a difficult time extracting ID3 information from an MP3 being streamed over Live HTTP Streaming (using the Wowza media server, if anyone is curious). I know that the tags (right ...
Marc W's user avatar
  • 19.2k
11 votes
3 answers
24k views

Read ID3 Tags of an MP3 file

I am trying to read ID3 from a mp3 file thats locally stored in the SD card. I want to basically fetch Title Artist Album Track Length Album Art
Harsha M V's user avatar
  • 54.5k
10 votes
10 answers
16k views

setting album art of a mp3 with php

I am looking for the best or any way to set the Album Art of mp3s using PHP. Suggestions?
ian's user avatar
  • 12k
10 votes
3 answers
4k views

C# ID3 library that supports custom fields

Currently i'm using TagLib Sharp as suggested in one of the posts @stackoverflow for reading id3-Tag out of mp3, flac, ogg and similar multimedia files .. now i just realized, that id3v2 (maybe even ...
Christian Casutt's user avatar
9 votes
4 answers
20k views

How do you read in a 3 byte size value as an integer in c++?

I'm reading in an id3 tag where the size of each frame is specified in 3 bytes. How would I be able to utilize this value as an int?
carboncomputed's user avatar
9 votes
2 answers
2k views

HLS Metadata ID3 tag not working

I have a list of audio URLs in a TableView, so every time I tapped on each cell on didSelectRowAt this method will be called func tableView(_ tableView: UITableView, didSelectRowAt indexPath: ...
Lawrence Gimenez's user avatar
9 votes
5 answers
8k views

Ruby mp3 Id3 parsing

Currently I'm working on a music project, dealing with user mp3 uploads. The problem is that I can't find an id3 library that will work correctly for all files. I have tried id3-ruby and Mp3Info libs ...
Dan Sosedoff's user avatar
  • 2,861
9 votes
2 answers
8k views

Getting specific fields from ID3 tags using command line tool?

I'm looking for a way that would let me get specific fields from ID3 tags from mp3 files. All tools I have so far found return all fields, and they also format them for "easier reading". I need just ...
user avatar
9 votes
2 answers
11k views

Android - Reading ID3 tags from mp3 stream

I'm streaming an mp3 file using MediaPlayer mp.setDataSource(myContext, Uri.parse("http://my_song.mp3")); mp.prepareAsync(); mp.setOnPreparedListener(mpOnPreparedListener); mp....
duessi's user avatar
  • 6,100
8 votes
4 answers
8k views

How Does One Read Bytes from File in Python

Similar to this question, I am trying to read in an ID3v2 tag header and am having trouble figuring out how to get individual bytes in python. I first read all ten bytes into a string. I then want ...
jjnguy's user avatar
  • 138k
8 votes
3 answers
11k views

Text encoding in ID3v2.3 tags

Thanks to this site and a few others, I've created some simple code to read ID3v2.3 tags from MP3 files. Doing so has been a great learning experience as I previously had no knowledge of hex / byte / ...
phanteh's user avatar
  • 507
8 votes
3 answers
17k views

Python MP3 ID3 Tag Editor

Re-organizing a large MP3 library for my friend's MP3 Player, I have the need to name the Title ID3 tag the same as the file name, and doing this via Windows Properties takes forever, so I was ...
user avatar
8 votes
2 answers
3k views

Extract ID3 tags of a MP3 URL with partial download using python

I need to extract ID3 tags and meta-data of remote mp3 files. I wrote few lines that could get ID3 tags of local file: from mutagen.mp3 import MP3 import urllib2 audio = MP3("Whistle.mp3") ...
Anish's user avatar
  • 1,920
8 votes
2 answers
4k views

Retrieve ID3 info from m4a file in PHP

I've written some PHP code to pull out ID3 tags from mp3 files. The next step is to do the same with .m4a files. From the research I've done it looks like most m4a files do not use ID3 but instead a ...
Nick's user avatar
  • 6,385
7 votes
2 answers
5k views

how to fetch the details of the audio file in iPhone

I made the custom player by using AVAudioPlayer. Now, I want to fetch the details of the audio file such as artist name,album name,etc which is added in the resource folder. MPMusicPlayer provides ...
user999231's user avatar
7 votes
2 answers
4k views

partially download a file with Javascript

we're actually working on a Remote Music Library organizer using javascript and I'd like to know if there's a way to download using js the last 128bytes of an MP3 file in order to get its ID3 Tags. ...
coolcoolcool's user avatar
7 votes
1 answer
965 views

Most efficient way to search file for byte patterns in Elixir

I am searching for id3 tags in a song file. A file can have id3v1, id3v1 extended tags (located at the end of the file) as well as id3v2 tags (usually located at the beginning). For the id3v1 tags, I ...
Paul B's user avatar
  • 493
7 votes
3 answers
15k views

How do you edit MP3 tags in Java (ID3)? [closed]

Lately, I've been trying to write a program that can change the ID3 tags of an mp3 file. I managed to write code to get those tags quite easily, but I have no idea how to write code to modify the tags....
krp's user avatar
  • 71
7 votes
2 answers
6k views

Insert timed metadata into HLS (HTTP Live Stream) using id3taggenerator and mediafilesegmenter

I try to insert timed metadata into an .mov or .mp4 video file. I did read about it here: Live stream metadata reading in Apple HTTP Live Streaming http://jmacmullin.wordpress.com/2010/11/03/adding-...
Yaniv De Ridder's user avatar
7 votes
1 answer
6k views

Editing metadata against video files

I'm attempting to write a utility for inserting my own information against recorded videos, however it seems there isn't a library out there for accomplishing this. In my latest attempt at doing this,...
user avatar
7 votes
4 answers
916 views

How to read and write id3v1 and id3v2 tags in Elixir

I would like to scan music files and read/write metadata using Elixir (this whole project is about learning Elixir - so please don't tell me to use Python!). As I understand it, I have two choices: ...
Paul B's user avatar
  • 493
7 votes
1 answer
2k views

Adding metadata to generated audio file

I'm generating an audio file programmatically, and I'd like to add metadata to it, such as the title and artist. I don't particularly care what format the file is written in, as long as AVPlayer will ...
Rob Napier's user avatar
  • 293k
6 votes
2 answers
3k views

Read ID3 tags without downloading the whole file

Is it possible to read ID3 tags (Duration, Artist, title...) of an MP3 file without having to download the whole file? I did a few tests and I was able to get the Artist and title tags with only ...
YassineB's user avatar
  • 221
6 votes
2 answers
2k views

Read ID3 Tags of Remote MP3 File in Ruby/Rails?

Using Ruby, how can one parse the ID3 tags of remote mp3 files without downloading the entire file to disk? This question has been asked in Java and Silverlight, but no Ruby. Edit: Looking at the ...
Jordan Warbelow-Feldstein's user avatar
6 votes
1 answer
6k views

Ripping a CD to mp3 in C# - third party component or api out there? [closed]

We're working on a project that requires the ripping of audio tracks from CDs to MP3s (ideally also retrieving the track information from CDDB or similar). More background information: Various music ...
user avatar
6 votes
1 answer
6k views

Access Music File Metadata in Powershell [closed]

So over the years between getting copied from one PC/hard drive to the next, my music collection is in a bit of a mess, so I want to go through each one programmatically and update the file metadata ...
Thomas Gass's user avatar
6 votes
3 answers
4k views

Does AVRCP 1.3 support album art?

Does AVRCP 1.3 support album art? Based on list of media attributes, album art is not included in the list. If AVRCP 1.3 do support album art, how do the information pass?
ok_woei's user avatar
  • 103
5 votes
2 answers
10k views

How do I read album artwork using python? [closed]

In my searches I have found that there are a few libraries that might be able to do this by reading ID3 tags. If so - which one would be the best to use? I don't plan on writing any data just reading. ...
Sheldon's user avatar
  • 9,949
5 votes
3 answers
1k views

How can I stop mutagen automatically updating the ID3 version?

When I tried to embed album art in an MP3, mutagen updated the ID3 tag to version 2.4 - which I don't want, because in ID3v2.4 my cell phone (which runs Windows Phone 8) and my computer can't ...
prehawk's user avatar
  • 195
5 votes
4 answers
6k views

Linux: Library to write ID3v2 data and cover art

I need to locate a command line tool that would allow me to write ID3v2 and album art to an MP3 file. Command line is required as it will be executed from PHP, so no graphical interface. Searches of ...
tombazza's user avatar
  • 646
5 votes
3 answers
6k views

TagLib sharp not editing artist

I'm trying to save new artist and title id3 tags into tracks. Loading tags from tracks working good, also editing title for track is working fine. But when i try to edit performer (artist) it didn't ...
Ali Yeşilkanat's user avatar
5 votes
3 answers
8k views

What happened to the "TagLib#" library?

What is the current status of TagLib# (TagLib sharp)? The official homepage www.taglib-sharp.com (link removed due to the NSFW nature of the new site that's parked at that address. -BtL) doesn't ...
ulrichb's user avatar
  • 19.8k
5 votes
1 answer
6k views

ID3 Album Art / Cover Tag Field

What is the field name for covers / album arts in id3 tags? For eg. : Title : title - TT2 - TIT2 Artist : artist - TP1 - TPE1 Album : album - TAL - TALB Cover: ? - ? - ? I hope somebody ...
Marc Becker's user avatar

1
2 3 4 5
11