roncli.com blog
The blog of roncli
roncli.com blog
roncli.com
blog
Profile
roncli
Houston, Texas, United States
Labels
Coding
CTG Music
Editorials
Games
Miscellaneous
Music
Servers
Silliness
Software
Sports
Trax in Space Beta
Weather
Recent Posts
Controls and Controllers
Vision
Interview Nerves
Google Earth Take 3
ColdFusion
Cent Update
Quadra VS.NET 2003 fix
First National Radar Test
More Google Earth
Speaking of Google Earth
Monday, August 01, 2005
Media Tag Converter
Posted: 10:06:00 PM 0 comments
A subscriber to a mailing list I'm on asked whether or not there was a utility to convert MP3 files to OGG files that converts the ID3 tags to OGG's comments format. While I don't have a utility to convert the files - and she did - I do have some code being used on OSMusic that recognizes the tags and writes them back to the file - and she didn't!

So I whipped up a quick application in VB called Media Tag Converter that will take an MP3 and an OGG file in the same directory and copy the tag for the most basic elements (title, author, album, track, genre, and comments) over from one to the other.

Admittedly, the code is terrible. I whipped it up in like half an hour, and literally copied and pasted the class modules from ASP files sitting on my server. I then went through and made it so it would work in VB. There are, however, no guarantees.

The program is also very untested, so if you check this out, expect to have to debug things. The program is also very slow, because the loading of the files does things that don't involve ID3 tags - such as calculating the bitrate of the files via brute force. Mostly, this is just an example program to show how MP3 & OGG tagging solutions can be programmatically handled.

On an off topic note, I got the job in the Williams Tower in Houston. When the weather becomes less hazy, I'll throw some snaps of the view from my phone up here.

Labels: , ,




0 Comments

Post a Comment