VLC crashes when adding subtitles

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
nkjp
New Cone
New Cone
Posts: 4
Joined: 09 Jul 2023 09:30

VLC crashes when adding subtitles

Postby nkjp » 09 Jul 2023 09:40

VLC crashes whenever I add srt subtitles.

No error message. Video screen just goes black.

Happens for multiple videos and srt files but not *all* video files. One mp4 works fine, another mp4 does not.

Tried uninstalling and re-installing. No change.
Tried resetting preferences and cache. No change.

Lotesdelere
Cone Master
Cone Master
Posts: 9717
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC crashes when adding subtitles

Postby Lotesdelere » 10 Jul 2023 10:30

Run VLC with this command line for creating a log file:

Code: Select all

vlc --extraintf=logger --verbose=2 --logfile=C:\temp\vlc.log --logmode=text --file-logging

and then paste the full resulting log here or on Pastebin.com or on Justpaste.it if it's too long.

Make sure you have full access rights to the destination path.

nkjp
New Cone
New Cone
Posts: 4
Joined: 09 Jul 2023 09:30

Re: VLC crashes when adding subtitles

Postby nkjp » 05 Nov 2023 22:11

Thank you! I started a vid, added subs, got a crash. It was actually too long for pastebin, so I truncated the log because it was just the same lines over and over. I hope that's okay.

Log results here:

-- logger module started --
main: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
main: playlist is empty
mpeg4audio: AAC channels: 2 samplerate: 96000
avcodec: Using D3D11VA (Intel(R) UHD Graphics 620, vendor 8086(Intel), device 5917, revision 7) for hardware decoding
ts error: libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 6) for PID 17
ts error: libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 9) for PID 0
ts error: libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 9) for PID 4096
ts error: libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 6) for PID 17
ts error: libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 8) for PID 0
ts error: libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 8) for PID 4096
main error: option sub-original-fps does not exist
direct3d11 error: SetThumbNailClip failed: 0x800706f4
ts error: libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 6) for PID 17
ts error: libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 9) for PID 0
ts error: libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 9) for PID 4096
ts error: libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 6) for PID 17
ts error: libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 8) for PID 0
ts error: libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 8) for PID 4096
ts error: libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 6) for PID 17

...
-- logger module stopped --

nkjp
New Cone
New Cone
Posts: 4
Joined: 09 Jul 2023 09:30

Re: VLC crashes when adding subtitles

Postby nkjp » 05 Nov 2023 22:30

I googled the error and I guess vlc can't handle mp4 and subtitles? And this has been true for years?

People said converting mp4 to mkv solves the subtitle issue. Which is true. But converting mp4 to mkv using vlc causes the audio to stutter every 5 seconds.

I think I'm just going to ditch VLC and use Windows Media Player Classic, which works without any problems like this.

Lotesdelere
Cone Master
Cone Master
Posts: 9717
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC crashes when adding subtitles

Postby Lotesdelere » 06 Nov 2023 11:59

You say it's an MP4 but your log shows it's a TS file. And VLC can't play external subtitles with TS files.

nkjp
New Cone
New Cone
Posts: 4
Joined: 09 Jul 2023 09:30

Re: VLC crashes when adding subtitles

Postby nkjp » 06 Nov 2023 18:12

The file ends in .mp4 and when I check "Properties" of the video I see: "Type of file: MP4 Video File (.mp4)"

That's all I know.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 32 guests