I have a video (mp4) and its subtitles in a separate file (srt). The two can be played together in MPC-HC and Kodi, but not VLC. Trying to play it in VLC causes nothing to happen, as if I didn't pick a file to play (program doesn't hang, but it doesn't play either). However, I can play the video normally if I remove the srt file from the folder where the video is.
It's this combination of files specifically, because VLC player can handle other videos and their respective srt files properly. I visually inspected the problematic srt file and another srt file that can be played and noted no discrepancies in their formatting.
At this point I'm guessing it has something to do with the srt file as opposed to the video since I can play the video on its own. I tried renaming the srt file and playing it with a different video and it played properly in VLC player. What can I do to remedy this situation?
Edit: This may be a possible bug with VLC
Edit 2: I converted my original mp4 to mkv without re-encoding (following this superuser answer) and VLC was able to play it with the srt file present. I also tried converting an mkv to mp4, and with the matching srt file present VLC was able to play it. So it's something about the original mp4 that's causing these problems.