Subtitles not showing on android 12
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- christian johansson changed the description
changed the description
- Maintainer
Could you please share some logs?
Reproduce the issue and then go to: Settings > Advanced > Debug logs. Then share the logs with the sharing service you prefer (Google Drive, Dropbox, pastebin...).
I have the same issue on Samsung S21+ with Android 12 and (at least) MKV file , here are lots:
Same phone (s21), after upgrading to Android 12, same issue with vlc (subtitles not working) vlc_logcat_20211127_192745.log
Edited by Abdullah HamidCollapse replies - Maintainer
@b1101 Could you please share your
/system/fonts/Roboto-Regular.ttf
file? Here you go.Roboto-Regular.ttf
- Please register or sign in to reply
- Nicolas Pomepuy added VLC core label
added VLC core label
- Maintainer
On my Samsung Galaxy S21:
Extract of
/system/etc/fonts.xml
<familyset version="23"> <!-- first font is default --> <family name="sans-serif"> <font weight="100" style="normal">Roboto-Regular.ttf <axis tag="ital" stylevalue="0" /> <axis tag="wdth" stylevalue="100" /> <axis tag="wght" stylevalue="100" /> </font> [...] </family> </familyset>
VLC log:
2021-11-30 08:54:10.544 11518-12446/org.videolan.vlc.debug E/VLC: [b40000720d82b940/309e] libvlc spu text: LoadFace: Error creating face for /system/fonts/Roboto-Regular.ttf
/system/fonts/Roboto-Regular.ttf
doesn't exist on my device. - Maintainer
After more investigation, it looks like a font file issue. Samsung's embedded font file differs from the Google Pixel's one.
Collapse replies - Maintainer
On a side note, changing
SYSTEM_DEFAULT_FAMILY
toserif
makes the core select/system/fonts/NotoSerif-Regular.ttf
. In that case, the subtitles are correctly shown.Edited by Nicolas Pomepuy
- Contributor
Name: Roboto. Version 3.002; 2020; build 20211019 It was designed by Christian Robertson Manufacturer: Google © Copyright 2011 Google Inc. All Rights Reserved.; Modified and Additional Font Data from Roboto by Samsung Electronics Co., Ltd.
- François Cartegnie mentioned in merge request vlc!988 (merged)
mentioned in merge request vlc!988 (merged)
- Hugo Beauzée-Luyssen mentioned in merge request !1181 (merged)
mentioned in merge request !1181 (merged)
- Hugo Beauzée-Luyssen mentioned in commit 63c36318
mentioned in commit 63c36318
Please, I have same problem. Subtitles not showing on android 12. Please, what I must do to subtitles work again? I dont understand what you mean with answers at the top
Thanks too much.
Collapse replies - Maintainer
You'll have to wait for the next (beta) version.
Sorry for the inconvenience.
Fixed in today's update on my S21. Thank you!!!
- Jean-Baptiste Kempf closed
closed
- Jean-Baptiste Kempf changed milestone to %3.4.x
changed milestone to %3.4.x
- Jean-Baptiste Kempf added libVLC label
added libVLC label
subtitles still don't work in my case.vlc_logcat_20211208_021635.logvlc_logcat_20211208_022051.log
logs have different videos with different sub formats. neither work. Version 3.4.2
Edited by bCollapse replies - Maintainer
That's because it fixed in the beta version. You can join the beta testing here: https://play.google.com/store/apps/details?id=org.videolan.vlc
- Contributor
- Owner
Merged in vlc.git now.
Collapse replies - Maintainer
@fcartegnie is there still a patche here https://code.videolan.org/videolan/vlc-android/-/tree/master/libvlc/patches/vlc3 that we should remove when we update vlc 3.x upstream?