View Single Post
Old 2006-03-04, 11:40   #7 (permalink)
tourettes
Portal Developer
 
Join Date: Jan 2005
Age: 30
Posts: 2,636
Thanks: 69
Thanked 66 Times in 55 Posts


Default

Here are the (short) build instructions for the DVB subtitle filter:

1. Make sure that you are able to compile MediaPortal MPSA filter in CVS. Following forum thread should be able to quide you: http://forum.team-mediaportal.com/vi...highlight=mpsa

2. After MPSA can be compile, you should be able to compile DVB filter without problems.

3. For testing the filter you'll need a TS stream that contains all PIDs for one channel that has DVB subtitles. This can be recorded at least with TSReader (full version) or maybe with MyTheatre.

4. To build a graph in Graph edit youl'll need to use either MediaPortal's TS source (MPTS.ax) or TSFileSource (http://forums.dvbowners.com/index.php?showtopic=4465).

5. Graph should be looking almost like this -> http://day2.no-ip.org/pictures/graph.png. There is currently one more pin connection between MS demuxer and the subtitle filter.

6. Pins in Subtitle filter

- Video input pin ( decoded video stream as UYVY or YUV2 format)
- Audio input pin takes complete audio TS stream
- subtitle input pin takes subtitpe PID TS payload
- output pin outputs UYVY or YUV2 video stream to VMR9 / overlay renderer

7. in source code there is hard coded PID number for channels subtitle PID - m_pSubtitlePin->SetSubtitlePID( 0x403 ); change that for correct value


Hopefully I didn't miss much information, but I'm currently a little bit busy and not at home, so I couldn't check all those details. Let me know how the building / testing works or if you have some issues and I'll try to help with those.
__________________
http://day2.no-ip.org/

"Commy64 - The problem there is that Oprah was on. MP tried to save you by blanking the screen"
tourettes is online now   Reply With Quote