TagLib# (or TagLib-Sharp) is a C# library for reading and writing most common formats of metadata (both "tags" and media properties) for audio, video, and picture formats.
Questions tagged [taglib-sharp]
130 questions
27
votes
1 answer
Where can I find tag lib sharp examples?
I have been searching for ID3 editors for my music manager project. It seems that taglib sharp is the popular choice. I googled a lot and could not find any examples of using it.
Can some one point me to some examples showing the library usage ?

pphanireddy
- 1,109
- 2
- 12
- 17
15
votes
2 answers
Build TagLib# DLL from source and make it COM Visible to PHP
Hello I want to scan audio-video files and store their metadata in a database using php. I found this Command-line wrapper that uses TagLib.dll compiled by banshee developpers to do the job. It's works fine but it limited by the functions…

e-Learner
- 517
- 1
- 4
- 15
14
votes
2 answers
Add custom tag in tagLib sharp
I want to add text to a custom tag, to an MP3-file. I tried doing like this, but I can't get the tag to change.
This is my code for now:
TagLib.File f = TagLib.File.Create(@"C:\Users\spunit\Desktop\denna.mp3");
TagLib.Id3v2.Tag t =…

spunit
- 523
- 2
- 6
- 23
10
votes
4 answers
How to set the "Media created" date on an MPEG-4 file
I have many MPEG-4 files transcoded from various digital camera formats for which the file system modified date is correct. I'd like to set the "Media Created" tag to match. This can be done manually in Windows Explorer via the Details tab of the…

Edward Brey
- 40,302
- 20
- 199
- 253
8
votes
1 answer
How do I use taglib-sharp?
I'm having a bunch of troubles with this library (obviously because I'm a newbie). I'm using Microsoft Visual Studio 2015.
First of all I have absolutely no idea on how to add this library to my project. I didn't find anything helpful on Google,…

J. Doe
- 75
- 1
- 1
- 10
8
votes
2 answers
Reading/Writing metadata of audio/video files
I need some help in reading/writing meta data inforamation of audio/vido file. I have searched alot but not find anything thing helpful. Taglib sharp is an open source library that provide help in reading/writing metadata. Using tag lib i'm able to…

Muhammad Umar
- 3,761
- 1
- 24
- 36
6
votes
1 answer
TagLib-sharp: Reading metadata from HttpPostedFile object
User post their MP3s to my site and I would like to read the metadata from the files before they are stored in the CDN.
TagLib-Sharp seems to be library to go for this, but I can't see any way to open a HttPostedFile, which I don't not want to save…

AyKarsi
- 9,435
- 10
- 54
- 92
6
votes
1 answer
Where can I find a list of all audio file types supported by taglib-sharp?
I don't know why this is so hard for me to find, but I simply can't find any documentation on this. I just want to be sure I include support for all audio file types that taglib-sharp can work with and exclude all others.
All I've been able to find…

compcentral
- 1,165
- 3
- 16
- 27
5
votes
3 answers
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 exist anymore!
I've found the project on ohloh where…

ulrichb
- 19,610
- 8
- 73
- 87
5
votes
2 answers
How to read Bit rate of .wav file in C#
given that I have a .wav file, what would be best way to read its Bit rate property in C#.
I have tried Shell, and asked a question Is "Bit rate" property fixed in index 28? with no asnwers so for. Also I now believe Shell is not the best way to…

ahsant
- 1,003
- 4
- 17
- 25
5
votes
1 answer
How to Convert IPicture to Image - .NET 4.5 TagLib Sharp
I am wanting to display the album artwork of a song (accessed via the taglib-sharp library) within a Windows Forms picture box. The problem I'm running into is that the taglib-library returns an image of type TagLib.IPicture whereas the picture box…

mattkgross
- 791
- 2
- 12
- 24
5
votes
3 answers
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 change anything. Here is the code
public void…

Ali Yeşilkanat
- 597
- 1
- 7
- 21
4
votes
0 answers
taglib-sharp id3v2 wrong character encoding
I've got an mp3 with cyrillic text in both v1 and v2 tags. Windows and media players (aimp) display both tags fine. However when I parse tags using taglib-sharp (also tried a few similar libs) i'm getting weird characters like Äåðæèñü. I know there…

Vitaliy Gorbenko
- 490
- 4
- 14
4
votes
3 answers
Differences in length in TagLib# (C#) and TagLib (C++)
I am currently in the process of moving my C# application over to Qt / C++. I'm running into problems with lengths from TagLib. I find it odd that TagLib# returns audio durations in milliseconds, while TagLib returns its (incorrect) durations in…

jocull
- 20,008
- 22
- 105
- 149
4
votes
1 answer
Taglib-Sharp Large File (64bit file) support
It seems that Taglib-sharp does not support files over 4GB. I want to edit things like title, descriptions, artwork, etc for large HD movie files. I have found a few comments in the code that seem to imply 64bit files are not supported. Anyone know…

Matthew M. Osborn
- 4,673
- 4
- 25
- 26