Public bug reported: 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) ** Affects: vlc (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug bionic ** Attachment added: "Renzi subtitle when playing Polina video" https://bugs.launchpad.net/bugs/1866522/+attachment/5334625/+files/vlcsnap-2020-03-08-08h39m26s751.png ** Description changed: 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 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 '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). + `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). + `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 'Настоящая тренировка по хореографии.mp4'`. - VLC will use Italian subtitle from Matteo Renzi's video. + 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) ** Description changed: 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 also contain subtitle for - another videos in the same directory. + 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 '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) ** Description changed: 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 - 'bbb.it.srt' as subtitle for 'aaa.mp4', which is nonsense. + '/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) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1866522 Title: Wrong Subtitle Displayed when Playing Videos that Contain non-Latin Only Characters in the Title To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/1866522/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs