Wrong Subtitle Displayed when Playing Videos that Contain non-Latin Only Characters in the Title

Bug #1866522 reported by Bagas Sanjaya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vlc (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

When playing videos in which the title contains non-Latin characters (such as Cyrillic) only, the wrong subtitle will be displayed if the directory which the problematic videos above reside also contain subtitle for another videos in the same directory.

For example, let 'aaa.mp4' be the problematic video file, and 'bbb.it.srt' and 'bbb.mp4' are both Italian subtitle file and its corresponding video. When running `vlc /path/to/aaa.mp4`, VLC will use '/path/to/bbb.it.srt' as subtitle for 'aaa.mp4', which is nonsense.

In this case, I expect that no subtitles are used for 'aaa.mp4', since it doesn't exist.

Steps to reproduce:

0. Open Terminal.

1. 'mkdir vlc-bug-test' and 'cd vlc-bug-test'.

2. Use pip3 from python3-pip package to install you-get.

3. Download 'Confronto tra Matteo Renzi e Marine Le Pen su France 2' by Matteo Renzi [https://www.youtube.com/watch?v=Eh_2H-zwwhI] (with 480p MP4 resolution format, with Italian subtitle) by:
   `you-get --itag=135 'https://www.youtube.com/watch?v=Eh_2H-zwwhI'`
   (note that the itag number might be different, use `you-get -i 'https://www.youtube.com/watch?v=Eh_2H-zwwhI' to determine the right one).

4. Download 'Настоящая тренировка по хореографии' by Polina Gymnastics [https://www.youtube.com/watch?v=wRSECn7c2oE] (with 720p MP4 resolution format, no subtitles) by:
   `you-get --itag=136 --no-caption 'https://www.youtube.com/watch?v=wRSECn7c2oE'
   (again use `you-get -i 'https://www.youtube.com/watch?v=wRSECn7c2oE' to determine the itag number if different).

5. After both Matteo Renzi's and Polina Gymnastics' videos have been downloaded, play Polina Gymnastics' video by:

   `vlc 'Настоящая тренировка по хореографии.mp4'`.

   VLC will use Italian subtitle from Matteo Renzi's video.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: vlc 3.0.8-0ubuntu18.04.1
ProcVersionSignature: Ubuntu 4.15.0-88.88-generic 4.15.18
Uname: Linux 4.15.0-88-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.11
Architecture: amd64
CurrentDesktop: GNOME
Date: Sun Mar 8 09:04:12 2020
InstallationDate: Installed on 2019-04-24 (318 days ago)
InstallationMedia: Ubuntu-MATE 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
SourcePackage: vlc
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Bagas Sanjaya (bagasme) wrote :
description: updated
Bagas Sanjaya (bagasme)
description: updated
description: updated
Revision history for this message
Sebastian Ramacher (s-ramacher) wrote :

I'm unable to reproduce the issue. Please provide the output of vlc -vvv when this issue happens.

Changed in vlc (Ubuntu):
status: New → Incomplete
Revision history for this message
Bagas Sanjaya (bagasme) wrote :

Huh, it was strange why subtitle of Renzi's video played for Polina's video one.

Note: I got Polina's video on June 2018 via savefrom[.]net downloader, please get the video by that method and retry reproducing problem. At the time I got the video, the tile is different than when I posted this bug.

Revision history for this message
Bagas Sanjaya (bagasme) wrote :

I can confirm this issue still exists when VLC preferences are reset.

Revision history for this message
Sebastian Ramacher (s-ramacher) wrote :

What value do you have set for "Subtitle autodetection fuzziness"?

Revision history for this message
Bagas Sanjaya (bagasme) wrote :

"Subtitle autodetection fuzziness" is 3.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in vlc (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Bagas Sanjaya (bagasme) wrote :

I can reproduce this bug on Ubuntu 20.04 (vlc version 3.0.9.2-1).

Changed in vlc (Ubuntu):
status: Expired → Incomplete
tags: added: focal
Revision history for this message
Bagas Sanjaya (bagasme) wrote :

ping

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in vlc (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.