Author Topic: Editing Wma Tags  (Read 116179 times)

Philip Hadar

  • Posts: 79
Editing Wma Tags
« on: 15 Jan '04 - 21:03 »
Does anyone know how to edit wma tags ?

Chris

  • Posts: 1808
Re:Editing Wma Tags
« Reply #1 on: 17 Jan '04 - 03:40 »
hi
not shure....
So far I know is til now no Component aviable that can write Tags  (only reading)

Greets chris

Philip Hadar

  • Posts: 79
Re:Editing Wma Tags
« Reply #2 on: 17 Jan '04 - 19:13 »
Hey Chris,
You're the one who brings up generally good news  ;)

Chris

  • Posts: 1808
Re:Editing Wma Tags
« Reply #3 on: 17 Jan '04 - 21:48 »
you will need a comp to reading WMA-Tags ???
if you are using Delphi i can send it to you....
Greets chris
« Last Edit: 17 Jan '04 - 21:49 by Chris »

Philip Hadar

  • Posts: 79
Re:Editing Wma Tags
« Reply #4 on: 17 Jan '04 - 22:23 »
Thanks Chris,
Yes, I'm using Delphi.
Reading wma tags is not a problem, writting the tags is my problem  :'(

Philip

Chris

  • Posts: 1808
Re:Editing Wma Tags
« Reply #5 on: 18 Jan '04 - 05:58 »
hehehe the same as by me......
i think its time to modify the J.Faul Comps......
Greets chris

Philip Hadar

  • Posts: 79
Re:Editing Wma Tags
« Reply #6 on: 18 Jan '04 - 07:55 »
Yeah!
That's why I'm try to achieve, I don't know if it's even possible - otherwise, why didn't he wrote that  ???

Chris

  • Posts: 1808
Re:Editing Wma Tags
« Reply #7 on: 18 Jan '04 - 08:33 »
(J.Faul has leave quit  to develope anything...)...his last release of his Tag-comps is from june 2002)...(he goes in pension) not a Joke
but let us look maybe we will find to modify his wma comp
Greets chris

Sebastian_Mares

  • Guest
Re:Editing Wma Tags
« Reply #8 on: 18 Jan '04 - 10:38 »
By the way guys, Jürgen Faul has stopped working on ATL (Audio Tools Library). However, check out http://mac.sourceforge.net . Gambit is now managing and improving the library.
« Last Edit: 18 Jan '04 - 12:16 by Sebastian Mares »

Philip Hadar

  • Posts: 79
Re:Editing Wma Tags
« Reply #9 on: 18 Jan '04 - 11:55 »
I checked the improvements and nothing to WmaFile - I can understand why... >:(

Sebastian_Mares

  • Guest
« Last Edit: 18 Jan '04 - 12:24 by Sebastian Mares »

Philip Hadar

  • Posts: 79
Re:Editing Wma Tags
« Reply #11 on: 18 Jan '04 - 15:58 »
Thanks for the link Sebastian.

I got it work !  ;D

Did you Chris ? Tell me if you want me to send you the solution

Philip

Sebastian_Mares

  • Guest
Re:Editing Wma Tags
« Reply #12 on: 18 Jan '04 - 17:15 »
Could you send me an example, too? ::)

Chris

  • Posts: 1808
Re:Editing Wma Tags
« Reply #13 on: 18 Jan '04 - 17:36 »
@Philip Hadar
can you send me the example ??
Many thanks Greets chris

Philip Hadar

  • Posts: 79
Re:Editing Wma Tags
« Reply #14 on: 18 Jan '04 - 18:09 »
Chris,
I sent you the example.  ;)
Philip

Philip Hadar

  • Posts: 79
Re:Editing Wma Tags
« Reply #15 on: 18 Jan '04 - 20:33 »
Sebastian,
I'm sorry, I missed your post... :-\
I sent you an example too
Philip

Sebastian_Mares

  • Guest
Re:Editing Wma Tags
« Reply #16 on: 18 Jan '04 - 20:35 »
Many thanks! :)

Chris

  • Posts: 1808
Re:Editing Wma Tags
« Reply #17 on: 19 Jan '04 - 13:56 »
@ Philip  
many thanks also...
Greets chris

DanaPaul

  • Posts: 335
Re:Editing Wma Tags
« Reply #18 on: 19 Jan '04 - 16:25 »
I haven't had any chance to look at the WMA file writer SDK (yet) so I'm curious how functional it may be...

Other than WM/Binary, are there any other WMA tags that may serve a useful purpose for individual file equalizer settings?

According to the WMA file writer SDK documentation, IDE3 tags names can be used in the WMA file meta data space.  If an ID3/EQUA or ID3/EQU2 tag was placed in the WMA file may it contain binary data?

Additionally, considering the fact that IDE3 tag names can be used in the WMA meta data space, do these tags replace equivalent WM tags?  Or do they coexist?  Example, the WMA SDK documentation references a name space collision for WMA tag names "Description" and "WM/Comments", where both of these tags are equivalent to ID3 tag name "COMM".  In that vein, would a reader/write application need to check for 3 occurances of the same tag, "Description", "WM/Comments", and "ID3/COMM", or would two occurances exist within the WM tag name implementation itself?

Reference: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmform/htm/id3tagsupport.asp

Incidentally, there doesn't appear to be any support for binary tag data (EQ settings) using Bass_WMA.dll

Curious, will Bass one day support SYLK tag data?  BASS_SYLKCallback(p: PChar) ;)

::::::: EDIT :::::::::

Err... SYLK = SYLT
« Last Edit: 19 Jan '04 - 20:32 by DanaPaul »

Philip Hadar

  • Posts: 79
Re:Editing Wma Tags
« Reply #19 on: 19 Jan '04 - 20:54 »
I don't know what about you guys, but I don't like the SDK solution that much. Constrained to Media Player 9 Series only seems to be wrong. >:(

I'm going to try and improve J. Faul Comp.
I don't like using something when I don't know how it works, and beside... I'm a control freak  ;D
« Last Edit: 19 Jan '04 - 20:55 by Philip Hadar »

Chris

  • Posts: 1808
Re:Editing Wma Tags
« Reply #20 on: 19 Jan '04 - 21:11 »
a very good Idea

Greets  chris

Sebastian_Mares

  • Guest
Re:Editing Wma Tags
« Reply #21 on: 20 Jan '04 - 16:00 »
Remember to post the updated ATL. ;D

PS: You should conside MAC as starting point. :)

Philip Hadar

  • Posts: 79
Re:Editing Wma Tags
« Reply #22 on: 20 Jan '04 - 17:18 »
Remember to post the updated ATL. ;D

PS: You should conside MAC as starting point. :)

Well I hope I will... so far it doesn't look too good. Faul's great work can't help, the main problem is to understand the header structure wich is not described anywhere on the net - I can tell where it starts but the hell where it ends and all in between. I think it has to do with DRM protection and so. Faul's reading skip on many bytes that are not important to the tags fields but important to the all structure.  >:(

Philip Hadar

  • Posts: 79
Re:Editing Wma Tags
« Reply #23 on: 25 Jan '04 - 17:12 »
Ok Guys,

I came up with a solution for editing Wma tags.
You may download from my site a compiled exe demo with source with MetaData.dll - All sources in Delphi of course  ;)
The dll works directly with wmvcore.dll and its based on the Microsoft Media Format SDK and not based on the Microsoft MediaPlayer SDK as I proposed earlier so MediaPlayer 9 Series installation is not reqired and files encoded under version 6 thru 9 may be edited.

Others coders are welcome to write a wrapper which should be quiet easy... or to get smarter and move to Delphi  :P

Available fields:
Encoder, Genre, Author, Title, Album, Composer,
Url, Track, Year, CopyRight, Comments, Lyrics.
Read Only Fields: Version, Duration, BitRate, FileSize, VBR.

Note: I strongly discourage to use it for Mp3 files, due to fields collision, you may end up with a file corruption.

www.everx.co.il/delphi/metadata.zip

Furthermore...

I Improved J. Faul's OggVorbis.Pas as follow:
Added property Composer, Copyright, Url, Lyrics.
Modified property comments - SizeOf from 250 Chrs to 5000 Chrs

www.everx.co.il/delphi/oggvorbis.pas

Also improved, J. Faul's ID3v2.Pas as follow:
Added property Lyrics
Modified property comments - SizeOf from 250 Chrs to 5000 Chrs.

www.everx.co.il/delphi/ID3v2.pas

I will post both units to Mac site

Enjoy  ;D

Philip
« Last Edit: 25 Jan '04 - 17:23 by Philip »

Philip Hadar

  • Posts: 79
Re:Editing Wma Tags
« Reply #24 on: 25 Jan '04 - 19:27 »
I tried to upload both Delphi units to Mac's site but they don't accept donations and the admin's email is invalid so
if someone knows how to upload them so other coders may benefit, let me know.

Philip