MediaPortal Forums HTPC/MediaCenter

Sponsored Ads

Go Back   MediaPortal Forum » MediaPortal 1 » Help on Development » General Development (no feature request here!)

General Development (no feature request here!) You were able to fix an issue, or improved a feature? Post it here.

Reply
 
LinkBack Thread Tools Display Modes
Old 2006-01-30, 19:25   #1 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 30
Posts: 2,147
Thanks: 51
Thanked 51 Times in 41 Posts


Default Help needed with DVB subtitles

We need anyone with DirectShow / DVB knowledge willing to look in couple of issues. Please read on and have a look:

I would need help with the following...

1. Subtitle syncing ( how to sync Subtitle PES header PTS with DirectShow )
2. UYVY colorspace handling (currently all subtitles are rendered in a lovely pink color)
3. Subdecoder produces currently only fixed size (720x576) subtitle bitmaps ( this is not efficient as it could be but needs changes in the subtitle decoding itself )
4. Subtitles are rendered corretly only when video width is exactly 720 pixels
5. Subtitle decoding should be run in a different thread (maybe not mandatory at least at not this point in the development)

(The previous thread in the feature request forum was accidentally removed.)
__________________
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
This User Say Thank You:
Old 2006-02-08, 20:34   #2 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 30
Posts: 2,147
Thanks: 51
Thanked 51 Times in 41 Posts


Default Re: Help needed with DVB subtitles

Quote:
Originally Posted by tourettes
2. UYVY colorspace handling (currently all subtitles are rendered in a lovely pink color)
Fixed.
__________________
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
Old 2006-03-02, 07:26   #3 (permalink)
Portal Member
 
Join Date: Feb 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts


Default Re: Help needed with DVB subtitles

Where can I find your work so far? I would really help you developing DVBSubs.
dannyb0y is offline   Reply With Quote
Old 2006-03-02, 21:23   #4 (permalink)
Portal Member
 
Join Date: Jan 2005
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts


Default Re: Help needed with DVB subtitles

Quote:
Originally Posted by dannyb0y
Where can I find your work so far? I would really help you developing DVBSubs.
I can not be of much help for the programming (even trough i do it for a living but i don't have the experience you are looking for) but i'll be glad to help debug it...

My tv provider has just startet broadcasting dvb subtitles enstead of fixed ones in the picture.

Anders Majland, Denmark
Pc's with hauppauge nova-t
majland is offline   Reply With Quote
Old 2006-03-02, 23:20   #5 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 30
Posts: 2,147
Thanks: 51
Thanked 51 Times in 41 Posts


Default Re: Help needed with DVB subtitles

Quote:
Originally Posted by dannyb0y
Where can I find your work so far? I would really help you developing DVBSubs.
If you are interested I can send you the current source codes, just PM me with your email address.
__________________
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
Old 2006-03-03, 06:45   #6 (permalink)
Portal Member
 
Join Date: Feb 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts


Default Re: Help needed with DVB subtitles

Quote:
Originally Posted by tourettes
Quote:
Originally Posted by dannyb0y
Where can I find your work so far? I would really help you developing DVBSubs.
If you are interested I can send you the current source codes, just PM me with your email address.
You have PM
dannyb0y is offline   Reply With Quote
Old 2006-03-04, 11:40   #7 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 30
Posts: 2,147
Thanks: 51
Thanked 51 Times in 41 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
Old 2006-03-06, 19:03   #8 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 30
Posts: 2,147
Thanks: 51
Thanked 51 Times in 41 Posts


Default

I have been really busy lately, so no progress in the source code level. Current source code can be downloaded from http://day2.no-ip.org/MediaPortal-SubTrans.zip
__________________
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
Old 2006-03-07, 09:47   #9 (permalink)
Portal Member
 
Join Date: Dec 2005
Age: 33
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Hey guys, I want to ask you all if anyone of you managed to compile the DVB subtitle filter? If so, could you please send it my way (the compiled filter)? I am using Delphi to code my small apps and therefore I don't have the correct applications to compile.

Send it to limit_@gmx.net

I appreciate it!
LiMiT is offline   Reply With Quote
Old 2006-03-09, 12:21   #10 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 30
Posts: 2,147
Thanks: 51
Thanked 51 Times in 41 Posts


Default

Quote:
Originally Posted by LiMiT
Hey guys, I want to ask you all if anyone of you managed to compile the DVB subtitle filter? If so, could you please send it my way (the compiled filter)? I am using Delphi to code my small apps and therefore I don't have the correct applications to compile.

Send it to limit_@gmx.net

I appreciate it!
Current source code has hard coded PID value for subtitle stream, so using pre-compiled filter won't propably work.
__________________
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
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to play external subtitles in MP? patonzon General Support 7 2006-12-18 20:13
is there a hot key to turn on subtitles in mp? dreadycarpenter General Support 1 2006-11-14 19:21
Enabling subtitles when they are needed only spyder_steve Codecs, External Players 2 2006-10-27 03:49
Problem with subtitles - freezes MP Nyll General Support 0 2006-10-18 00:16
DVD Subtitles size problem Asmo General Support 8 2005-10-19 16:22


All times are GMT +1. The time now is 23:51.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC7
Integrated by BBpixel ©2004-2008, jvbPlugin
Protected by Akismet Blog with WordPress