Character encoding for song titles in the Vlc playlist

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
pdchris
New Cone
New Cone
Posts: 5
Joined: 05 Nov 2011 13:03

Character encoding for song titles in the Vlc playlist

Postby pdchris » 05 Nov 2011 13:10

Hello everybody,
is it possible to change the character encoding for the song titles appearing in the Vlc playlist?
I have some songs with names containing special (non-English) characters, which are turned into ??? when I add these songs to the playlist.
Despite extensive Google and Vlc Forum search I could not find a solution.
Many thanks in advance.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Character encoding for song titles in the Vlc playlist

Postby Jean-Baptiste Kempf » 07 Nov 2011 14:53

mp3?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

pdchris
New Cone
New Cone
Posts: 5
Joined: 05 Nov 2011 13:03

Re: Character encoding for song titles in the Vlc playlist

Postby pdchris » 09 Nov 2011 21:17

Yes, mp3 files, that is files with names of the form:
<containing english and special characters>.mp3

The operating system can show the correct file names, but as soon these songs are added to the vlc playlist, their names (under "Title", the column on the left) become illegible.
The URI is of course also illegible (04%20%CE%B9 etc)

Rémi Denis-Courmont
Developer
Developer
Posts: 15312
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Character encoding for song titles in the Vlc playlist

Postby Rémi Denis-Courmont » 09 Nov 2011 21:51

I very strongly suspect your files contain incorrectly coded meta data. VLC prefers to use meta data in the file over the file name, as far as the title is concerned.

It's easy to test: rename the file to abc.mp3 and see if the title shows as 'abc' or still the same gibberish.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

pdchris
New Cone
New Cone
Posts: 5
Joined: 05 Nov 2011 13:03

Re: Character encoding for song titles in the Vlc playlist

Postby pdchris » 09 Nov 2011 22:11

@ Rémi Denis-Courmont:
Thank you very much for your suggestion, your first assumption was correct:

1. Vlc does not use the filename, but the metadata. When I change the file name to abc, the Title in the vlc playlist remains illegible, but when I change the metadata title to abc, it is abc that appears.

2. However the problem remains similar: the OS (Windows Vista) can show the metadata correctly. The problem is not corrupt metadata, but Vlc that applies the wrong character encoding for them. Is it possible to define the character encoding of Vlc for the metadata?

Rémi Denis-Courmont
Developer
Developer
Posts: 15312
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Character encoding for song titles in the Vlc playlist

Postby Rémi Denis-Courmont » 10 Nov 2011 08:11

No, the problem is your tool is not encoding metadata correctly, and so taglib cannot decode it right. This is a frequent problem with stupid Windows programmers who cannot read the ID3 specification.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

pdchris
New Cone
New Cone
Posts: 5
Joined: 05 Nov 2011 13:03

Re: Character encoding for song titles in the Vlc playlist

Postby pdchris » 10 Nov 2011 21:31

OK, I understand that you are right, but there is no simple way for me to change the metadata of the many files I have.
Is there any way to help taglib decode the metadata correctly?
I should be possible, since Windows has no problem showing the correct data.
Thank you.

Rémi Denis-Courmont
Developer
Developer
Posts: 15312
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Character encoding for song titles in the Vlc playlist

Postby Rémi Denis-Courmont » 11 Nov 2011 07:52

No. The only way is to fix the meta data. There must be tools for this, but I don't know anyone in particular.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Lotesdelere
Cone Master
Cone Master
Posts: 10077
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Character encoding for song titles in the Vlc playlist

Postby Lotesdelere » 11 Nov 2011 11:11

simple way for me to change the metadata of the many files I have.
On Windows Mp3tag can do this as you can create scripts for mass tagging.
For best compatibilty with any player and OS, make sure that "ID3v2.3 UTF-16" is selected in Tools -> Options -> Tags -> Mpeg

pdchris
New Cone
New Cone
Posts: 5
Joined: 05 Nov 2011 13:03

Re: Character encoding for song titles in the Vlc playlist

Postby pdchris » 12 Nov 2011 21:42

@ Lotesdelere:
Mp3tag read the original tags correctly and after pressing "save" (with the default options: ID3v2.3 UTF-16) it overwrote them in a way that now also the vlc player can decode them correctly. I do not know where the problem with the original tags and vlc lied, but now it is solved.
Thank you for your suggestion and thanks to everybody else who contributed to the solution.

yummy90
New Cone
New Cone
Posts: 1
Joined: 10 Aug 2012 09:26

Re: Character encoding for song titles in the Vlc playlist

Postby yummy90 » 10 Aug 2012 09:28

Thumbs up for this post :D
Now my friends wouldn't ask me about the gibberish anymore

ezrashapiro
New Cone
New Cone
Posts: 1
Joined: 10 Sep 2019 20:04

Re: Character encoding for song titles in the Vlc playlist

Postby ezrashapiro » 10 Sep 2019 20:06

Another thumbs up! Awesome program and it completely solved the problem. :D

hwtan
New Cone
New Cone
Posts: 9
Joined: 07 Oct 2009 05:28

Re: Character encoding for song titles in the Vlc playlist

Postby hwtan » 12 Sep 2019 06:09

Can this be the same problem as this one?

https://forum.videolan.org/viewtopic.php?f=14&t=150288


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 19 guests