音乐播放器的编码问题

流浪 posted @ 2007年8月08日 14:22 with tags mp3 乱码 amarok , 3383 阅读

    从最初的FC3中的xmms到现在的KDE中的Amarok,每次装的音乐播放器播放中文歌曲都会出现乱码现像。这种原因是因为在歌曲中id3 tag里面的文件信息不是以utf8为缟码的,而现在Linux几乎都是以utf8为默认缟码的,所以显示肯定是乱码。在XMMS或audiacous中改乱码很简单,只要装编码设成GBK格式再将歌曲显示设置成为显示文件名的模式,基本上就没什么乱码了。但在我新装的Amarok里却没有缟码设置选项。从网上搜了一下,原来最新版默认只支持UTF8,看来只有改每首歌曲编码信息了,这需要软件mutagen。

pacman -S mutagen

然后在歌曲所在目录下执行命令:

 mid3iconv *.mp3 --encoding=GBK

这样就可以将当前目录下的mp3文件的id3 tag信息转化成utf8格式。清除amarok播放列表,重新载入,基本上不会再出现乱码的情况了。

 

Avatar_small
Celeb Networth 说:
2021年2月26日 21:30

One of the most famous songwriter Max Martin net worth who has the third-most number-one singles on the chart and the second-most Hot 100 number-one singles as a producer. He rose to prominence in the late 1990s after making a string of hit singles such as Britney Spears' "...Baby One More Time" (1998), the Backstreet Boys' "I Want It That Way" (1999), and NSYNC's "It's Gonna Be Me" (2000). Martin has written or co-written 23 Billboard Hot 100 number-one songs, most of which he has also produced or co-produced, including Katy Perry's "I Kissed a Girl" (2008), Maroon 5's "One More Night" (2012), Taylor Swift's "Shake It Off" and "Blank Space" (2014), and The Weeknd's "Blinding Lights" (2019).

Avatar_small
CIBIL customer care 说:
2023年1月21日 21:38

CIBIL, a part of the Transunion CIBIL which is Indian’s largest credit information provides the best Customer care services. It provides companies with credit history and information about the customers to help them make decisions. CIBIL customer care While for customers, they provide a score and credit report which identifies customers about their present credit lifestyle. CIBIL helps to make better monetary adjustments allowing them to be able to apply for loans, credit services and more.

Avatar_small
comment voir les lik 说:
2023年7月15日 22:02

En utilisant cette plateforme Instagram, vous pouvez consulter le nombre de likes de la publication ainsi que les commentaires. D’autre part, vous pouvez également observer les goûts de vos propres publications en vous rendant sur votre profil. comment voir les like sur instagram En consultant votre profil, vous pouvez vérifier les avis des messages qui sont valides ou non pour vos photos ou vidéos partagées. Et vous pouvez également supprimer le message inutile que vous n’aimez pas.

Avatar_small
UBSE 9th Class Syll 说:
2023年7月16日 20:29

Uttarakhand Board High School Parents can use the Syllabus to Understand the Concepts and Prepare their Children for the Exam, Accordingly, The Uttarakhand 9th Class Syllabus 2024 All Subject Chapter UBSE 9th Class Syllabus 2024 Wise Students Prepare for the Upcoming Class Exam, it is quite Essential that they have the Complete Knowledge of the Uttarakhand 9th Class Latest Syllabus 2024 of All Relevant Subjects, Knowing the Details of Prescribed Topics and the weight age Allotted to Them Makes it easy to plan your Studies Meticulously so that you can make Effective Preparations for your Exam and obtain desired marks.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter