Re: LAME utf in tags and filenames

robert <[email protected]>
Newsgroups gmane.comp.audio.mp3.lame
Organization The LAME Open Source MP3 Encoder Project
Message-ID <[email protected]>
Hello Ariel,

you'll have to upgrade to latest LAME version 3.99.5, that version
supports unicode file names and tags.

http://lame.cvs.sourceforge.net/viewvc/lame/lame/doc/html/history.html?revision=HEAD

Ciao Robert


Am 08.05.2012, 11:11 Uhr, schrieb אריאל קלגסבלד Ariel Klagsbald
<[email protected]>:

> I forgot to add, that when I run it with non-UTF filename, it does indeed
> work, but it encodes the tags wrongly. I'm not sure which encoding they  
> end
> up in, but it certainly isn't UTF-8. I view the resulting file in  
> Windows,
> and the tags are just gibberish.
>
> 2012/5/8 אריאל קלגסבלד Ariel Klagsbald <[email protected]>
>
>>  Hi.
>>
>>   Here is an interesting problem: I have an mp3 file, whose filename and
>> (some of the) tags are UTF8. I try to resample it, and it seems that it
>> works for UTF8 in either the filename or the tags, but not both.
>>
>> something like
>> lame --resample 8 --tl '�©��¢��¨���� �©���¨�¥, �" �©��, �×�©�¢"�' --ty
>> '2012' --ta '�©��� �����¨��× ����  � ���× ��©� - �¨�� ���¤����¤��������
>> ��©������¨��¥.mp3' '109356-��¨.����×������¤�������� ��©������¨��¥b.mp3'
>> results in
>> Could not find "109356-��¨.����×������¤�������� ��©������¨��¥.mp3".
>> Although the (source) file does exist. Invoking without tags:
>> lame --resample 8  '109356-�¨.��×���¤���� �©���¨�¥.mp3'
>> '109356-�¨.��×���¤���� �©���¨�¥b.mp3'
>>
>> works fine. And so it does (with tags) when I change the filename to
>> 109.mp3:
>> lame --resample 8 --tl '�©��¢��¨���� �©���¨�¥, �" �©��, �×�©�¢"�' --ty
>> '2012' --ta '�©��� �����¨��× ����  � ���× ��©� - �¨�� ���¤�� 109.mp3
>> 109b.mp3
>>
>>
>> It's LAME 3.98.2 64 bits. I thought it might be that the filename and/or
>> tags contain " or ', and the shell cannot find where the string ends.  
>> But
>> apparently it isn't the problem. I did $filename =~ s/['";,]*//g (it's  
>> in a
>> perl script), and also invoked with only one numeric (non utf!) tag:
>>
>> lame --resample 8 --ty '2012'  '109356-�¨.��×���¤���� �©���¨�¥.mp3'
>> '109356-�¨.��×���¤���� �©���¨�¥b.mp3'
>>
>> and
>>
>> lame --resample 8 --ty 2012  '109356-�¨.��×���¤���� �©���¨�¥.mp3'
>> '109356-�¨.��×���¤���� �©���¨�¥b.mp3'
>>
>> both gave
>>
>> Could not find "109356-��¨.����×������¤�������� ��©������¨��¥.mp3".
>>
>> (Hope you can view these weird utf tags). So UTF filenames work without
>> any tags, and UTF tags work with a non-UTF filename. But unfortunately I
>> need both...
>>
>>   Thanks for any help,
>> Ariel.
>>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Lame-dev mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lame-dev


-- 


Ciao Robert

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Lame-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lame-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.