Published by Arto Jarvinen on 24 Mar 2009
The subject of subtitles
I thought that the fact that I can’t display any subtitles in my player while playing a Blue-ray m2ts-file was fairly trivial to fix. Surely there must be a filter that can generate a picture with the subtitles that I can then merge with the actual video in the renderer. Or so I thought.
It seems that the ubiquitous DirectVobSub filter that handles various subtitle formats doesn’t handle the Blue-ray format. An error message is displayed when I turn on the subtitles in the Haali Media Splitter. Some posts on the Internet even claim that the subtitle format of Blue-ray isn’t published. Others claim that it is a bitmapped format, i.e. that the subtitles come out as (presumably) small images. I still have to verify (or reject) those and a number of other claims.
Anyway, it looks like I’ve got myself a new hobby project: to try to add Blue-ray subtitle support to GothPlayer. The planned approach is to get the subtitles in whatever format they come from the subtitle pin of the Haali filter, do any necessary processing to create a picture with the subtitles on it, input that frame into one of the pins of the SyncVMR9 renderer (my custom renderer) and compose the output picture using the renderer’s built in mixer. Many things may go wrong: The Haali splitter may actually not output anything on its subtitle pin when playing Blue-ray m2ts or it may be encrypted in some shrewd way. But I’ll give it a try and keep you posted…


