video won't play with subtitles active

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.
PesoMemo
Blank Cone
Blank Cone
Posts: 13
Joined: 30 Aug 2012 04:12

video won't play with subtitles active

Postby PesoMemo » 24 Nov 2019 20:34

Having a subtitle file causes some videos to not render. Video refuses to start.
DNDing a subtitle file to VLC sometimes causes VLC to stop rendering video and the progress bar races to the end and stops.
Same with vlsub download.

Some videos work with subs; some don't.
3.0.6 and 3.0.8 both have same issue.

Here's a message=2 printout of a DND of subs file onto video:
main debug: auto hiding mouse cursor
main debug: loading spu-es slave: file:///E:/Video/xxx.srt (forced: 1)
main debug: `file:///E:/Video/xxx.srt' gives access `file' demux `subtitle' path `/E:/Video/xxx.srt'
main debug: creating demux: access='file' demux='subtitle' location='/E:/Video/xxx.srt' file='E:\Video\xxx.srt'
main debug: looking for access_demux module matching "file": 15 candidates
main debug: no access_demux modules matched
main debug: creating access: file:///E:/Video/xxx.srt
main debug: (path: E:\Video\xxx.srt)
main debug: looking for access module matching "file": 26 candidates
main debug: using access module "filesystem"
main debug: looking for stream_filter module matching "prefetch,cache_read": 24 candidates
cache_read debug: Using stream method for AStream*
cache_read debug: starting pre-buffering
cache_read debug: received first data after 0 ms
cache_read debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s
main debug: using stream_filter module "cache_read"
main debug: looking for stream_filter module matching "any": 24 candidates
lua debug: Trying Lua scripts in C:\Users\XXX\AppData\Roaming\vlc\lua\playlist
...
main debug: no stream_filter modules matched
main debug: looking for stream_directory module matching "any": 1 candidates
main debug: no stream_directory modules matched
main debug: attachment of directory-extractor failed for file:///E:/Video/xxx.srt
main debug: looking for stream_filter module matching "record": 24 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='file' demux='subtitle' location='/E:/Video/xxx.srt' file='E:\Video\xxx.srt'
main debug: looking for demux module matching "subtitle": 55 candidates
vobsub debug: this doesn't seem to be a vobsub file
main error: option sub-original-fps does not exist
subtitle debug: Movie fps: -1.000000
subtitle debug: autodetecting subtitle format
subtitle debug: detected SubRIP format
subtitle debug: loading all subtitles...
subtitle debug: loaded 367 subtitles
subtitle debug: detected language Wolf of subtitle: /E:/Video/xxx.srt
main debug: unselecting program id=1
main debug: killing decoder fourcc `h264'
main debug: removing module "avcodec"
main debug: picture might be displayed late (missing 18 ms)
main debug: saving a free vout
main debug: reusing provided vout
main debug: removing module "h264"
main debug: killing decoder fourcc `mp4a'
main debug: removing module "faad"
mmdevice debug: state changed: 0
wasapi debug: reset
main debug: removing module "samplerate"
main debug: removing module "scaletempo"
main debug: removing module "float_mixer"
main debug: keeping audio output
main debug: removing module "mpeg4audio"
main debug: selecting program id=0
main debug: using demux module "subtitle"
main debug: destroying useless vout
main debug: removing module "direct3d11"
direct3d11 debug: Direct3D11 resources destroyed
direct3d11 debug: Direct3D11 device adapter closed
direct3d11 error: SetThumbNailClip failed: 0x800706f4
direct3d11 debug: Win32 Vout EventThread terminating
direct3d11 debug: Win32VoutCloseWindow
direct3d11 debug: WinProc WM_DESTROY
main debug: removing module "inhibit"
qt debug: releasing video...
qt debug: Video is not needed anymore
main debug: removing module "freetype"
main debug: removing module "yuvp"
main debug: removing module "swscale"
main debug: looking for spu decoder module matching "any": 22 candidates
avcodec debug: using ffmpeg Lavc58.6.103
avcodec debug: CPU flags: 0x08035fdb
avcodec warning: refusing to decode non validated subtitle codec
subsdec debug: trying default character encoding: CP1252
subsdec debug: using automatic UTF-8 detection
main debug: using spu decoder module "subsdec"
ts warning: lost synchro
ts debug: skipping 131 bytes of garbage
ts warning: discontinuity received 0x5 instead of 0x4 (pid=17)
ts error: libdvbpsi error (PSI decoder): TS discontinuity (received 5, expected 4) for PID 17
ts debug: SDTCallBack called
<several similar msgs here>
ts warning: lost synchro
ts debug: eof ?
main debug: EOF reached

main debug: waiting decoder fifos to empty
main warning: no vout found, dropping subpicture
main warning: can't get output subpicture

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

Re: video won't play with subtitles active

Postby unidan » 25 Nov 2019 14:31

Your logs are not complete. Are you trying to play .ts files with .srt subtitles ?

PesoMemo
Blank Cone
Blank Cone
Posts: 13
Joined: 30 Aug 2012 04:12

Re: video won't play with subtitles active

Postby PesoMemo » 25 Nov 2019 20:52

Your logs are not complete. Are you trying to play .ts files with .srt subtitles ?
Logs are incomplete because of 5000 char limit. I removed what I thought were the least useful, similar lines.
I'm playing .mp4 files with .srt subs. The .mp4 file was built from a .m3up file.

The playback only fails after adding the subs file into the mix - by same name at start or DnD or vlsub fetch.

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

Re: video won't play with subtitles active

Postby unidan » 26 Nov 2019 18:09

Logs are incomplete because of 5000 char limit
You can use pastebin to upload more :)
I'm playing .mp4 files with .srt subs. The .mp4 file was built from a .m3up file.
Can you upload both files somewhere so that we can reproduce ?

PesoMemo
Blank Cone
Blank Cone
Posts: 13
Joined: 30 Aug 2012 04:12

Re: video won't play with subtitles active

Postby PesoMemo » 26 Nov 2019 22:02

You can use pastebin to upload more :)
Don't know what pastebin is.
Can you upload both files somewhere so that we can reproduce ?
Any suggestions as to where ? Never done before other than an upload form for various images.

PesoMemo
Blank Cone
Blank Cone
Posts: 13
Joined: 30 Aug 2012 04:12

Re: video won't play with subtitles active

Postby PesoMemo » 27 Nov 2019 01:28

The .m3up list could indeed be .ts segments. I wrote a Perl GUI to take a .m3u file and retrieve the segments (currently the segment URLs have to be full/complete URLs) to cat into a file and I didn't really look to see what the segs were. The result is a "H264 - MPEG-4 AVC (part 10) (h264)" file with ADTS audio.

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: video won't play with subtitles active

Postby InTheWings » 28 Nov 2019 09:06

The .m3up list could indeed be .ts segments. I wrote a Perl GUI to take a .m3u file and retrieve the segments (currently the segment URLs have to be full/complete URLs) to cat into a file and I didn't really look to see what the segs were. The result is a "H264 - MPEG-4 AVC (part 10) (h264)" file with ADTS audio.
Which means now the srt timestamps are not aligned to the mp4 ones.
No issue.
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

Darnassus
Blank Cone
Blank Cone
Posts: 22
Joined: 26 Oct 2018 18:27

Re: video won't play with subtitles active

Postby Darnassus » 30 Nov 2019 18:37

I mean.. if you googled what PasteBin was ;d

https://pastebin.com/
Screw the Christmas Cone haters. :f Image

PesoMemo
Blank Cone
Blank Cone
Posts: 13
Joined: 30 Aug 2012 04:12

Re: video won't play with subtitles active

Postby PesoMemo » 04 Dec 2019 23:03

I mean.. if you googled what PasteBin was ;d
I thought it was something local to this site or I might have. :o

yourbeetch
New Cone
New Cone
Posts: 1
Joined: 12 Jul 2020 05:58

Re: video won't play with subtitles active

Postby yourbeetch » 12 Jul 2020 06:06

I've been having the same problem as Original Poster for months. I read through this thread and didn't see a solution to the problem (or at least, not one that seems to apply).

Since the problem first occurred, I upgraded my version of VLC but that still hasn't fixed the problem. For some reason if I try to use an SRT file for English Subs in virtually any scenario now, where in the past it would play with no issues, now the file won't play if I have the subtitles in the folder (and it's auto-detecting it) or if I select the sub manually. If I just play the regular file without subs - no issues.

I can get both the video and subs working with the default Windows 10 Movies & TVs app (although the sound quality seem to hiccup when this is done - very small breaks that interrupt the audio repeatedly while playing). But if I use Windows Media Player, it can't play the subs either (again, no problem playing the video file).

jbdumont
New Cone
New Cone
Posts: 1
Joined: 11 Aug 2020 12:24

Re: video won't play with subtitles active

Postby jbdumont » 11 Aug 2020 12:26

Exactly the same here :-(


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 57 guests