Page 1 of 1

TS file with SRT subtitles

Posted: 18 Aug 2022 18:46
by pygamegirl
Hi

I have a TS file with SRT subtitle file.

When I put the TS file in a folder WITHOUT the corresponding SRT subtitle file, the TS file plays correctly.

However if I put the TS file in a folder which ALSO contains the corresponding SRT subtitle file, the TS file doesn't play at all. There is nothing to see in the window of VLC, the video length is not shown too. So it's like VLC doesn't load the file at all. If you click play button again, nothing happens.

Here is the version of VLC I use: 3.0.17.4 Vetinari (on windows 10)

I made a log file but nothing is written to the log file (it's empty)

Thanks

Re: TS file with SRT subtitles

Posted: 18 Aug 2022 19:05
by Hitchhiker

Re: TS file with SRT subtitles

Posted: 18 Aug 2022 23:08
by pygamegirl
Ok, I see it's a limitation of VLC.
But why is it not solved after so many years?

This player for example plays my TS files even with the SRT subtitles.

https://www.smplayer.info/

I'm not a developer but here is the source code: https://github.com/smplayer-dev/smplayer

to the VLC developer(s): Would it be possible to look at it and try to fix VLC?

thank you

Re: TS file with SRT subtitles

Posted: 19 Aug 2022 08:59
by Hitchhiker
You could try a nightly version of the upcoming vlc 4.0: https://nightlies.videolan.org/

Re: TS file with SRT subtitles

Posted: 19 Aug 2022 09:42
by RĂ©mi Denis-Courmont
VLC usrs the real TS timestamps so that it can synchronise TS properly. Other software that support SRT with TS typically don't do that. Their TS support is actually incomplete and broken.

In other words what you call a bug that has not been fixed for many years, is a feature for some other people with different use cases.