Questions tagged [id3]

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

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

More information at https://en.wikipedia.org/wiki/ID3

539 questions
13
votes
2 answers

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 tried ID3, eyed3 and mutagen. Most of the time if a…
Tensigh
  • 1,030
  • 5
  • 22
  • 44
12
votes
3 answers

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 now the album tag and the album artwork tag) are…
Marc W
  • 19,083
  • 4
  • 59
  • 71
11
votes
3 answers

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
  • 54,075
  • 125
  • 354
  • 529
11
votes
3 answers

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 four-byte integer where the most significant bit…
the_mario
  • 460
  • 1
  • 10
  • 19
10
votes
3 answers

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 v1) supports custom tags but i can't find the…
Christian Casutt
  • 2,334
  • 4
  • 29
  • 38
10
votes
10 answers

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
  • 11,605
  • 25
  • 69
  • 96
9
votes
4 answers

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
  • 1,630
  • 3
  • 20
  • 42
9
votes
5 answers

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 but none of them gives me consistently correct…
Dan Sosedoff
  • 2,869
  • 5
  • 28
  • 34
9
votes
2 answers

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: IndexPath) { // Prepare Audio URL let audioUrl =…
Lawrence Gimenez
  • 2,662
  • 4
  • 34
  • 52
9
votes
2 answers

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 some fields, and formatted differently…
user80168
9
votes
2 answers

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.setOnBufferingUpdateListener(mpOnBufferingUpdateListener); Any…
duessi
  • 6,050
  • 3
  • 18
  • 9
8
votes
3 answers

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 / binary etc. I can successfully read data, but…
phanteh
  • 507
  • 2
  • 4
  • 14
8
votes
2 answers

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 format using 'atoms'. Are there any PHP…
Nick
  • 6,375
  • 5
  • 36
  • 53
8
votes
2 answers

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") songtitle = audio["TIT2"] artist = audio["TPE1"] print…
Anish
  • 1,920
  • 11
  • 28
  • 48
8
votes
4 answers

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 to parse out the individual pieces of…
jjnguy
  • 136,852
  • 53
  • 295
  • 323
1
2
3
35 36