vlc incorrectly opens cp1251 encoded sutitles

Bug #401911 reported by Ilya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VLC media player
Invalid
Undecided
Unassigned
libass (Ubuntu)
Expired
Undecided
Unassigned
vlc (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: vlc

1) Ubuntu 9.04
2) vlc 0.9.9a-2ubuntu1

This is what happened: i opened the .avi file with the same name as .ass file (in the attachment), and subtitles loaded in wrong encoding, they where like "Ïîêà íåëüçÿ ïåðåâîðà÷èâàòü, ÿñíî?" and should be like "Пока нельзя переворачивать, ясно?", "Default encoding" option was properly set to cp1251.
          After what i did:

iconv -f cp1251 -t utf8 xxx.ass > yyy.ass
vlc yyy.avi

and it loaded properly, even thought i didn't change "default encodig" option. This suggests what in this case it just sets the utf8 encoding no matter what, and should set cp1251 by user's choice or automatically.

Revision history for this message
Ilya (kvva1g0n-j1nn) wrote :
description: updated
Ilya (kvva1g0n-j1nn)
description: updated
Changed in vlc (Ubuntu):
status: New → Incomplete
Changed in vlc:
assignee: nobody → Rémi Denis-Courmont (rdenis)
status: New → Invalid
status: Invalid → Confirmed
Changed in vlc:
milestone: none → 1.0.4
Changed in vlc (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Rémi Denis-Courmont (rdenis) wrote :

The subsdec-encoding setting which you can find in the VLC preferences panel only applies to VLC-decoded subtitles. The Ubuntu VLC package uses libass instead of native VLC decoding for .ass files, so it ignores the value. There is no apparent ways to fix this with the current libass API.

My best guess is that this is a bug in the underlying libenca. Reassigning to libass anyway.

Changed in vlc:
status: Confirmed → Won't Fix
Revision history for this message
Rémi Denis-Courmont (rdenis) wrote :

By the way, as a work around, you can manually remove the VLC libass plugin (/usr/lib/vlc/codec/liblibass_plugin.so).

Changed in vlc:
milestone: 1.0.4 → none
Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

Thank you for posting this bug.

Does this still happen in Lucid?

Changed in vlc (Ubuntu):
status: Confirmed → Incomplete
Changed in libass (Ubuntu):
status: New → Incomplete
Revision history for this message
Rémi Denis-Courmont (rdenis) wrote :

Not a VLC bug.

Changed in vlc:
status: Won't Fix → Invalid
Changed in vlc (Ubuntu):
status: Incomplete → Invalid
Changed in vlc:
assignee: Rémi Denis-Courmont (rdenis) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for libass (Ubuntu) because there has been no activity for 60 days.]

Changed in libass (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.