subtitles from srt file are not shown

This forum is about all development around libVLC.
mangup
Blank Cone
Blank Cone
Posts: 71
Joined: 12 Apr 2019 20:23

subtitles from srt file are not shown

Postby mangup » 14 May 2019 20:44

I have the problem on linux build: subtitles from srt file are not shown.
But cross-compiled windows build (via docker) shows the subtitles well.

Code: Select all

grep "sub" vlc_0514_mp4_11.txt [00007fda493f4480] main input debug: looking for a subtitle file in /media/storage/Videos/mp4_hm/ [00007fda493f4480] main input debug: `file:///media/storage/Videos/mp4_hm/5b36cb24bc5c.srt' gives access `file' demux `subtitle' path `/media/storage/Videos/mp4_hm/5b36cb24bc5c.srt' [00007fda493f4480] main input debug: creating demux "subtitle", URL: file:///media/storage/Videos/mp4_hm/5b36cb24bc5c.srt, path: /media/storage/Videos/mp4_hm/5b36cb24bc5c.srt [00007fda143878c8] main generic debug: looking for demux module matching "subtitle": 53 candidates [00007fda0847ea10] vobsub demux debug: this doesn't seem to be a vobsub file [00007fda0847ea10] subtitle demux debug: Override subtitle fps 25,000000 [00007fda0847ea10] subtitle demux debug: detected MicroDVD format [00007fda0847ea10] subtitle demux debug: loading all subtitles... [00007fda0847ea10] subtitle demux debug: loaded 0 subtitles [00007fda143878c8] main generic debug: using demux module "subtitle" [00007fda091ca250] avcodec decoder warning: refusing to decode non validated subtitle codec [00007fda091ca250] subsdec decoder debug: trying default character encoding: CP1252 [00007fda091ca250] subsdec decoder debug: using automatic UTF-8 detection [00007fda143823f8] main generic debug: using spu decoder module "subsdec"

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: subtitles from srt file are not shown

Postby Jean-Baptiste Kempf » 15 May 2019 12:17

Here, it said the subtitles were loaded.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

mangup
Blank Cone
Blank Cone
Posts: 71
Joined: 12 Apr 2019 20:23

Re: subtitles from srt file are not shown

Postby mangup » 15 May 2019 12:20

yep, but nothing on the screen (on linux. windows - ok)
Ubuntu system vlc player has same problem.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: subtitles from srt file are not shown

Postby Jean-Baptiste Kempf » 15 May 2019 13:09

Then, either the file is non-valid, or you have a rendering issue (no subtitles shown with other files)
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: subtitles from srt file are not shown

Postby unidan » 15 May 2019 18:47

Hi, do you have the full log somewhere ?

mangup
Blank Cone
Blank Cone
Posts: 71
Joined: 12 Apr 2019 20:23

Re: subtitles from srt file are not shown

Postby mangup » 16 May 2019 11:05

After importing another 2-line's hand-made .srt file, player began to show subtitles including ones from the first .srt. Both system installed version and compiled version...


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 20 guests