ASS subtitles render bug: issue with Ordered Chapters in MKVs
2 posters
Page 1 of 1
ASS subtitles render bug: issue with Ordered Chapters in MKVs
So the over the years I've occasionally experienced a bug when when viewing a .mkv with ASS subtitles. Basically, a subtitle line will fail the render if the video playing normally. However if you skip back a couple of seconds, the subtitle will render as expected. But if you skip back far enough, the subtitle will again fail to render. Any idea of a fix? I could also post a link to a video torrent if you want an example. Or I could just upload the video to my google drive and PM the link.
So after messing around for sometime, I discovered that the bug seems to be related to whether the "EditionFlagOrdered" is enabled in the .mkv file. The issue disappears if I disable the flag. However, disabling the flag causes external video segmentation support to stop working, so that's not a solution.
Info on the flag:
https://www.matroska.org/technical/specs/chapters/index.html
Here are some other things I initially looked at:
1. Bug occurs when using both the MPC subtitle renderer and DirectVOBSub renderer
2. I've replicated the issue on several computers
3. Bug doesn't occur when using VLC (for the particular case I'm looking at).
4. Using the official MPC-HC release made no difference.
5. Changing any DirectVobsub performance settings made no difference.'
6. I tried using ASS filter, which made the issue worse. With it enabled I couldn't get the subtitle to render by skipping back and forth.
7. Going back to older MPC versions didn't seem to help either. At around 1.7.6, the subtitles don't render correctly at all.
So after messing around for sometime, I discovered that the bug seems to be related to whether the "EditionFlagOrdered" is enabled in the .mkv file. The issue disappears if I disable the flag. However, disabling the flag causes external video segmentation support to stop working, so that's not a solution.
Info on the flag:
https://www.matroska.org/technical/specs/chapters/index.html
Here are some other things I initially looked at:
1. Bug occurs when using both the MPC subtitle renderer and DirectVOBSub renderer
2. I've replicated the issue on several computers
3. Bug doesn't occur when using VLC (for the particular case I'm looking at).
4. Using the official MPC-HC release made no difference.
5. Changing any DirectVobsub performance settings made no difference.'
6. I tried using ASS filter, which made the issue worse. With it enabled I couldn't get the subtitle to render by skipping back and forth.
7. Going back to older MPC versions didn't seem to help either. At around 1.7.6, the subtitles don't render correctly at all.
marcgii- Posts : 25
Join date : 2016-08-25
Re: ASS subtitles render bug: issue with Ordered Chapters in MKVs
Most likely a bug/limitation of the splitter.
Can you provide a sample file?
Can you provide a sample file?
Re: ASS subtitles render bug: issue with Ordered Chapters in MKVs
I PM'd you a link to a sample video. It appears the bug only affects subtitles that occur as soon as a new chapter starts. It occurs several times in this video. I also noticed the bug doesn't occur when using chapter skip.
At 5:10, the first line dialog doesn't render. At the very next chapter, 5:44, the text on the sign doesn't render.
At 5:10, the first line dialog doesn't render. At the very next chapter, 5:44, the text on the sign doesn't render.
marcgii- Posts : 25
Join date : 2016-08-25
Re: ASS subtitles render bug: issue with Ordered Chapters in MKVs
I can reproduce.
My advice would be to report it here directly:
https://github.com/Nevcairiel/LAVFilters/issues
My advice would be to report it here directly:
https://github.com/Nevcairiel/LAVFilters/issues
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum