Questions tagged [id3v2]

ID3v2 is the second version of the ID3 metadata container specification. It is largely unrelated to ID3v1.

ID3v2 is the second version of the ID3 metadata container specification. It is largely unrelated to ID3v1.

More details at https://en.wikipedia.org/wiki/ID3#ID3v2

116 questions
1
vote
0 answers

ffmpeg: add album art with fluent-mmpeg

Currently I am using fluent-ffmpeg to convert a video into an mp3 file and add metadata. I am adding the title and artist like this: .withAudioCodec('libmp3lame') .toFormat('mp3') .outputOptions('-id3v2_version', '4') .outputOptions('-metadata',…
carte
  • 1,033
  • 2
  • 13
  • 29
1
vote
1 answer

batch add images to mp3 files

I have a few mp3 files: first file.mp3 second file.mp3 third file.mp3 and artwork for them: first file.png second file.png third file.png How do I add images as tags to mp3 files (1 to 1; 2 to 2; 3 to 3) in batch mode?
1
vote
1 answer

mp3 file gets corrupted after tagging

If I downloaded songs from gaana.com, it goes to SD card\Android\data\com.gaana\files\.gaana folder without any extension. When I rename the file with .mp3 extension, I am able to play the song in windows media player. Everything is fine until here.…
Mumbai CabinCrew
  • 341
  • 2
  • 4
  • 14
1
vote
2 answers

TagLib# Exception on File.Create

I am trying to use Taglib# to add id3v2 tags to a file. I have it working on some files - however, on certain files it will fail. (Possibly due to file corruption). if (ext == ".aiff" || ext==".aif"){ //force reading of aiff files file =…
Scott Moniz
  • 650
  • 11
  • 20
1
vote
2 answers

Change id3 tag version programatically (pref java)

I need a way to change id3 tag version of mp3 files to some id3v2.x programatically, preferably using java though anything that works is better than nothing. Bonus points if it converts the existing tag so that already existing data isn't destroyed,…
H.v.M.
  • 1,348
  • 3
  • 16
  • 42
1
vote
2 answers

Editing Artist Name in MP3 file Perl Script ID3V2 tag

I am trying to write a Perl code for editing the ID3V2 tags i.e artist name for start i can seek and read it but when i try to write new it just replace all the content of the file with the new artist name and corrupt the file i am new to this so…
sT0n3
  • 125
  • 2
  • 13
1
vote
3 answers

Bitwise array error

I am new in programming and even more in c programming. I am trying to read a binary file and then do bitwise process. Sample of my code and how I have written my program so far. #include #include #include #include…
Thanos
  • 1,618
  • 4
  • 28
  • 49
1
vote
1 answer

ID3 unsynchronization: how it works

According the documentation, ID3 tags have an unsynchronization flag. As I understood, it should only be applied to ID3 frames (not headers or footer). But how exactly should I process the frames before parsing (for reading, not writing)? Should I…
bvitaliyg
  • 3,155
  • 4
  • 30
  • 46
1
vote
1 answer

How can I convert id3v2-embedded PNG's to JPG's?

I'm using Rockbox on my iPod Classic. It supports showing embedded album art from MP3 files, but only if those images have the JPG extension. Some of my embedded images have the PNG extension. The accompanying songs show up without the corresponding…
Exeleration-G
  • 1,360
  • 16
  • 29
1
vote
0 answers

Android: MediaMetadataRetriver fails for ID3v2

I'm part of a group developing a media player for Android (API 11 and up) and we're having a rather vexing problems with MediaMetadataRetriever. It works fine on the Android 4.2.2 phone and various emulators we use for testing, but not on the 4.1…
1
vote
2 answers

How to detect changes to files recursively?

I'm working on a multi-threaded component to load and manage a music library, and I have a property defining multiple root directories to include. One thread searches those directories for media files, adds/removes as necessary, and another thread…
Jerry Dodge
  • 26,858
  • 31
  • 155
  • 327
1
vote
1 answer

How to solve Java IOException: Negative Seek Offset? (Java ID3 Tag Library)

I'm trying to manipulate ID3 tags in MP3 Files using Java ID3 Tag Library. However, when i try to do ANYTHING using an "MP3File" class, i'm getting IOException: Negative Seek Offset; Here's an example code and the stacktrace: package…
Alexandre Wiechers Vaz
  • 1,587
  • 2
  • 18
  • 21
1
vote
2 answers

Good way to write ID3v2 track number as string in C#?

Forgive me if this question is already answered somewhere on this site, but I didn't find anything when I searched for it. I've written a ID3v1/2 tag editor for .mp3 files in C# using taglib-sharp, and taglib-sharp treats the track numbers as uint…
Eric
  • 11
  • 3
1
vote
1 answer

Insert Album Artist tag using getid3()

I am using the getID3() library to insert the metadata into songs, that have no metadata. I am able to insert all the tags except the Album Artist which is very important to me. In demo.simple.write.php I have given the details of the songs like…
Sandeep Rao
  • 341
  • 3
  • 9
  • 22
0
votes
1 answer

store image in id3v2 frame apic

I want to find some command line utility (Linux), that can store images in ID3v2 APIC frame but cant find anything, Tried using ID3v2 util but id doesn't support it.
skovrec
  • 131
  • 1
  • 1
  • 11