Subtitle dshow filter for H+

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
fafilberg

Subtitle dshow filter for H+

Postby fafilberg » 31 Jan 2005 22:23

Hi, I'm developing a DShow filter to use with the H+.
The idea is read a plain file where lie all data I want and send to the subpicture input pin of the H+, my problem is that I dont know how can I convert plain text type to SUBTYPE_DVD_SUBPICTURE type, this is just what is missing, so I need help becouse I'm very close.
I've red that VLC has an algoritm for this translation, so anyone can help with this please?

Sigmund
Big Cone-huna
Big Cone-huna
Posts: 893
Joined: 26 Nov 2003 09:38

Postby Sigmund » 01 Feb 2005 09:33

VLC do not have this conversion. Basically what is needed for this conversion is the following:
1: Render the text into an offscreen picture buffer
2: Convert buffer to YUV with alpha channel
3: Reduce the number of colors to 4
4: replace the buffer with palette indexes for each of these 4 colors
5: RLE encode this according to the dvd subpicture unit standard.

Point 1-4 could probably be done in one pass.

Btw vlc is not dshow based, so you are not likely to get dshow related help here.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 25 guests