anilbeesetti / nextplayer

An Android native video player
GNU General Public License v3.0
1.3k stars 59 forks source link

[BUG] some videos do not show subtitles #727

Open milindgoel15 opened 8 months ago

milindgoel15 commented 8 months ago

Describe the bug Though I can't seem to figure out which type of videos are like this, but some of the videos/movies that I download do not show any subtitles in the video player when they actually have one included.

I confirmed it via VLC player.

To Reproduce Steps to reproduce the behavior: Not sure but

  1. Download a movie torrent with included subtitles.
  2. 50% chance will be the subtitle won't show up in the subtitle option

Expected behavior Subtitles show up

Screenshots Screenshot_2023-11-10-10-58-26-276_dev.anilbeesetti.nextplayer.jpg

Screenshot_2023-11-10-10-58-40-300_org.videolan.vlc.jpg

Device info (please complete the following information):

Additional context NA

anilbeesetti commented 8 months ago

@milindgoel15 can you send the specific video file or torrent

milindgoel15 commented 8 months ago

@milindgoel15 can you send the specific video file or torrent

Shall I send the link to the torrent on other platforms? Are you on telegram?

anilbeesetti commented 8 months ago

Yeah I'm on telegram but can you send the link through pastebin.com

milindgoel15 commented 8 months ago

Yeah I'm on telegram but can you send the link through pastebin.com

Can you share your telegram username?

anilbeesetti commented 8 months ago

@milindgoel15 The video file provided by you contains subtitles in DVD format which doesn't supported by exoplayer natively yet. Although i can try using ffmpeg but it's gonna take some time

milindgoel15 commented 8 months ago

Cool

drogga commented 7 months ago

So .sub & .idx and not .vtt, .ssa/.ass, .vob or other formats ? ...I wonder if the other Open Sourced players (some listen in the ReadMe) support those...

uwuMocha commented 1 month ago

I am not sure if it's appropriate to submit here since this does not seem specifically related to being DVD subtitle format, but I'm having a similar issue.

I've included a paste of the mediainfo subtitles section below. The player still detects subtitles for both files in the subtitles selector, they both have ASS format, but for one of the files the subs do not show up at all on screen while playing the video. The files that do work are any subsplease files, the file in question that does not work is from the Kaleido-Subs releases of Blue Archive The Animation, none of those work. I suspect this could be related to the kaleido-subs size/bitrate/framerate of the subtitle or the fact that kaleido shows "Muxing mode: zlib" in one line of the mediainfo.

--Subsplease-- works

Text ID : 3 Format : ASS Codec ID : S_TEXT/ASS Codec ID/Info : Advanced Sub Station Alpha Duration : 2 min 42 s Bit rate : 147 b/s Frame rate : 0.283 FPS Count of elements : 46 Compression mode : Lossless Stream size : 2.94 KiB (0%) Title : English subs Language : English Default : Yes Forced : No

--Kaleido-Subs-- Doesn't work

Text #1 ID : 3 Format : ASS Muxing mode : zlib Codec ID : S_TEXT/ASS Codec ID/Info : Advanced Sub Station Alpha Duration : 22 min 13 s Bit rate : 121 kb/s Frame rate : 43.188 FPS Count of elements : 57587 Compression mode : Lossless Stream size : 19.2 MiB (1%) Title : Full Subtitles [Kaleido-subs] Language : English Default : Yes Forced : No

Thanks for working on this project, it is the best player on Android right now in my opinion, and again I'm sorry if I should have made a full new post for this.