Can You Decode DVB Subtitles
Posted: 21 Mar 2012 22:11
Hi all.
Iv got a bit of a silly idea and could use some help just thinking it through.
My overall task is advert detection and removal from .ts DVB streams.
My silly idea is that by using an external Subtitle file I could locate the positions of adverts by compeer it against the internal subtitle stream.
Once you get the locations of the adverts it would seam very easy to remove them.
The 1st big problem i see is Decoding the subtitle stream back into text and time-stamps.
Iv not done much reading on this yet.
I read something about the subtitle streams being in a bitmap format and not in text so this probably isnt going to be very easy.
Im hoping that theres some good free bitmap to text translation tools out there i could use.
With the lengths that websites goto for anti-bot registration im guessing bitmap text reading software is easily obtainable.
Very 1st thing i need to do is get my hands on a Subtitle stream.
Is this something that VLC can currently do for me ?
Iv seen something about demuxing but im not sure how to use it yet.
Ill be off to read my way through the help files in just a moment.
Anyways theres my thoughts and plans so can anyone help with some useful links or suggestions about decoding subtitle streams ?
Any help would be greatly appreciated
Iv got a bit of a silly idea and could use some help just thinking it through.
My overall task is advert detection and removal from .ts DVB streams.
My silly idea is that by using an external Subtitle file I could locate the positions of adverts by compeer it against the internal subtitle stream.
Once you get the locations of the adverts it would seam very easy to remove them.
The 1st big problem i see is Decoding the subtitle stream back into text and time-stamps.
Iv not done much reading on this yet.
I read something about the subtitle streams being in a bitmap format and not in text so this probably isnt going to be very easy.
Im hoping that theres some good free bitmap to text translation tools out there i could use.
With the lengths that websites goto for anti-bot registration im guessing bitmap text reading software is easily obtainable.
Very 1st thing i need to do is get my hands on a Subtitle stream.
Is this something that VLC can currently do for me ?
Iv seen something about demuxing but im not sure how to use it yet.
Ill be off to read my way through the help files in just a moment.
Anyways theres my thoughts and plans so can anyone help with some useful links or suggestions about decoding subtitle streams ?
Any help would be greatly appreciated