Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unicode capable id3 tagger ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
gabor
Apprentice
Apprentice


Joined: 12 Dec 2002
Posts: 156
Location: Slovakia

PostPosted: Wed Nov 03, 2004 2:12 pm    Post subject: unicode capable id3 tagger ? Reply with quote

hi,

i cannot believe there aren't any usable unicode capable id3 taggers.

id3v2.3 can contain iso-8859-1 and utf-16.
id3v2.4 can also contain utf-8.

IS THERE ANY TAGGER THAT SUPPORTS THESE?

i went thru easytag, id3v2, id3lib....

is THERE ANYTHING USABLE?

:((

can also be command line..


of course i have no idea about how well the mp3-player-programs (muine/rhythmbox/xmms) handle those tags, because I CANNOT CREATE THEM!


sorry for this angry message...i'm just sad that there's nothing usable there. it's inifinitively better with ogg files. they are utf-16 and that's it. no need for all this crazy stuff ...
Back to top
View user's profile Send private message
baeksu
l33t
l33t


Joined: 26 Sep 2004
Posts: 609
Location: Seoul, Korea

PostPosted: Sun Nov 07, 2004 2:14 pm    Post subject: Reply with quote

I believe Juk works decently with unicode. I`ve also used entagged, which is a java based tagger http://entagged.sourceforge.net/

Support for those tags is a little moody. I`ve seen amaroK survive them in the playlists, Rhythmbox also.
_________________
Gnome:
1. A legendary being.
2. A never ending quest to make unix friendly to people who don't want unix and excruciating for those that do.
Back to top
View user's profile Send private message
Schorsch
n00b
n00b


Joined: 30 Sep 2004
Posts: 9

PostPosted: Sun Dec 12, 2004 9:05 am    Post subject: Reply with quote

Hi, I had the same problem - wanted to use cyrillic ID3 tags. Some minutes ago i found a java tool called "id3conv" which reencodes ID3 tags to unicode.

http://www.cs.berkeley.edu/~zf/id3iconv/

My current procedure to tag mp3 files with unicode looks like this:
  • Tagging the file with a tagger like EasyTag
  • java -jar id3conv.jar *.mp3


After using id3conv some taggers might have problems to display the correct tags - EasyTag displays nothing for example. But with the console tool eyeD3 you can proove, that the tags are correct (unicode tagging with eyeD3 didn't worked on my computer). Rhythmbox also displays the correct tags.

It's of course not very comfortable, but at least it works.
_________________
In theory there is no difference between theory and practice.
In practice there is.
Back to top
View user's profile Send private message
matroskin
Apprentice
Apprentice


Joined: 21 Jan 2003
Posts: 214

PostPosted: Sun Dec 12, 2004 9:31 am    Post subject: Reply with quote

id3v2 works perfect for me. v2 tags set with it are coorectly visible everywhere/ checked with zinf, id3info, beep etc

P.S. i use utf8 for cyrilic chars mainly
Back to top
View user's profile Send private message
gabor
Apprentice
Apprentice


Joined: 12 Dec 2002
Posts: 156
Location: Slovakia

PostPosted: Sun Dec 12, 2004 11:37 am    Post subject: Reply with quote

the problem is that you might be able to enter utf8-encoded characters into your mp3s with id3v2,
but that's simply not correct.

the problem is the following:

the id3v2 data is saved in 'frames'. there are some text-frames, which contain textual data, and those which contain other thing.. like album cover and so on.

in the text-frames, the first byte says the encoding. the rest is the encoded text.

as i wrote previously, in id3v2.3 the encoding can be latin1 and two flavours of utf16.

in id3v2.4 you can use those from id3v2.3 and utf8.

so, the problem is, that when you do it with for example id3v2:
-it writes the utf8-encoded data into the text-frame, but the first byte still says it's latin1
-it does not increment the version number to 2.4 (which is needed because of the usage of utf8)

the reason why it works in the players you tried is, that they simply ignore the encoding specified in that byte.

if you try for example muine or rhythmbox or amarok, you'll see :(

btw. eyeD3 seems to work ;). so in case of id3v2, try to use eyeD3. (the newest version)
Back to top
View user's profile Send private message
matroskin
Apprentice
Apprentice


Joined: 21 Jan 2003
Posts: 214

PostPosted: Tue Dec 14, 2004 9:18 am    Post subject: Reply with quote

eyeD3 fails to set any tag with cyrrilic chars. for example
Code:
% eyeD3 -2 -v   -a "Звуки Му" -A "Грубый закат" -t "Сигаретер" -n 1  01\ -\ Sigarater.mp3

01 - Sigarater.mp3   [ 3.76 MB ]
--------------------------------------------------------------------------------
Time: 4:06   MPEG1, Layer III   [ 128 kb/s @ 44100 Hz - Joint stereo ]
--------------------------------------------------------------------------------
Setting artist: Звуки Му
Setting album: Грубый закат
Setting title: Сигаретер
Setting track: 1
Writing tag...
Traceback (most recent call last):
  File "/usr/bin/eyeD3", line 665, in ?
    retval = main();
  File "/usr/bin/eyeD3", line 660, in main
    return app.run(files);
  File "/usr/bin/eyeD3", line 332, in run
    if not tag.update(updateVersion):
  File "/usr/lib/python2.3/site-packages/eyeD3/tag.py", line 506, in update
    self.__saveV2Tag(version);
  File "/usr/lib/python2.3/site-packages/eyeD3/tag.py", line 1024, in __saveV2Ta             g
    raw_frame = f.render();
  File "/usr/lib/python2.3/site-packages/eyeD3/frames.py", line 560, in render
    data = self.encoding +\
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

I use eyeD3 0.6.2. Any ideas?
Back to top
View user's profile Send private message
matroskin
Apprentice
Apprentice


Joined: 21 Jan 2003
Posts: 214

PostPosted: Tue Dec 14, 2004 10:11 am    Post subject: Reply with quote

used eyeD3 0.6.3
Code:
 eyeD3 -2  --set-encoding=utf8   -a "Звуки Му" -A "Грубый закат" -t "Сигаретер" -n 1  01\ -\ Sigarater.mp3

amarok shows this tag correctly, but my favorite xfmedia see no tag :-(
I think I would stay with uncorrect tagging till xfmedia get mature
Back to top
View user's profile Send private message
svyatogor
Retired Dev
Retired Dev


Joined: 13 Feb 2003
Posts: 186
Location: Kingdom of Kells

PostPosted: Fri Jan 07, 2005 4:55 pm    Post subject: Reply with quote

hm, I got strange issue with eyeD3. When I give a command like this:

Code:

eyeD3 --force-update -2 --to-v -a ÷ÁÓÑ --set-encoding=utf8 ÷ÁÓÑ.mp3


It says: UTF-8 is not supported by ID3 v2.3

Any ideas?
Back to top
View user's profile Send private message
gabor
Apprentice
Apprentice


Joined: 12 Dec 2002
Posts: 156
Location: Slovakia

PostPosted: Fri Jan 07, 2005 7:43 pm    Post subject: Reply with quote

it means what it says ;)

PLEASE read my previous comment, i described this already.

id3v2.3 can use latin1, and utf16.

id3v2.4 can use latin1, utf16 and utf8.

so either use utf16 or id3v2.4
Back to top
View user's profile Send private message
svyatogor
Retired Dev
Retired Dev


Joined: 13 Feb 2003
Posts: 186
Location: Kingdom of Kells

PostPosted: Fri Jan 07, 2005 9:01 pm    Post subject: Reply with quote

gabor wrote:

so either use utf16 or id3v2.4


I know, but eyeD3 writes 2.4 version of tags, and NOT 2.3. Anyway, writing utf-16 solved all problems with rhythmbox and I'm happy now :)
Back to top
View user's profile Send private message
nicfit
n00b
n00b


Joined: 13 Aug 2003
Posts: 8
Location: Your mom's house!

PostPosted: Fri Apr 15, 2005 2:40 am    Post subject: eyeD3 DOES write v2.3 Reply with quote

Quote:
I know, but eyeD3 writes 2.4 version of tags, and NOT 2.3.


Where did you get the impression that eyeD3 will not write ID3 v2.3 tags?
It most certainly does.

-travis
_________________
--
nicfit
Back to top
View user's profile Send private message
placeholder
Advocate
Advocate


Joined: 07 Feb 2004
Posts: 2500

PostPosted: Fri Apr 15, 2005 3:04 am    Post subject: Reply with quote

The tag editor in Beep Media Player allowed me to add cyrillic to a tag, so perhaps that could be looked into.
Back to top
View user's profile Send private message
zbindere
Guru
Guru


Joined: 27 May 2004
Posts: 356
Location: Switzerland

PostPosted: Thu Jul 21, 2005 8:15 am    Post subject: Reply with quote

I use eyeD3 in a python script and I like it a lot.
Does anyone know how to force it to write with version 2.3 instead of 2.4?

*edit

Ok I found it. great tool.
Back to top
View user's profile Send private message
svyatogor
Retired Dev
Retired Dev


Joined: 13 Feb 2003
Posts: 186
Location: Kingdom of Kells

PostPosted: Fri Jul 22, 2005 12:33 pm    Post subject: Reply with quote

zbindere wrote:

Ok I found it. great tool.


Will you please share it with us ;)

It still writes only 2.3 for me and therefore UTF-16le, which is not readable by beep-media-player
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum