| |||||||
| General Development (no feature request here!) You were able to fix an issue, or improved a feature? Post it here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #71 (permalink) |
| Portal Developer Join Date: Aug 2005 Location: Copenhagen Age: 29
Posts: 709
Thanks: 0
Thanked 9 Times in 6 Posts
Country: | I would suggest checking out the MP source code (not tvserver) and taking a look at the code. You will find the DVBSub filter code in Filters\DVBSubtitle. Other relevant code is the C# code that handles playback and filter setup, such as \Core\Player\BaseTStreamBufferPlayer and TStreamBufferPlayer9. |
| | |
| |
| | #72 (permalink) |
| Portal Developer Join Date: Aug 2005 Location: Copenhagen Age: 29
Posts: 709
Thanks: 0
Thanked 9 Times in 6 Posts
Country: | Its a good idea to switch to the client/server. As mentioned earlier you can get DVB subtitles there by using an alternative player, BUT more importantly DVB subtitles will probably only be available for recordings in the TV servers client player and not in the standalone MP's internal player, even in the long term. This is due to the fact that the standalone MP records in DVR-MS which discards the DVB subtitles, whereas the server can record the Transport Stream (.ts). |
| | |
| | #73 (permalink) | |
| Portal Developer Join Date: Jan 2005 Age: 30
Posts: 2,646
Thanks: 69
Thanked 66 Times in 55 Posts
| Quote:
__________________ http://day2.no-ip.org/ "Commy64 - The problem there is that Oprah was on. MP tried to save you by blanking the screen" Last edited by tourettes; 2007-02-25 at 07:47. | |
| | |
| | #74 (permalink) |
| Portal Developer Join Date: Jan 2005 Age: 30
Posts: 2,646
Thanks: 69
Thanked 66 Times in 55 Posts
| ...also the current SVN filter codes are needing a patched version of TSFileSource.ax ,so if possible to not update code from SVN yet as it will propable cause the MP to crash as there are some new methods added to the ITSFileSource interface.
__________________ http://day2.no-ip.org/ "Commy64 - The problem there is that Oprah was on. MP tried to save you by blanking the screen" |
| | |
| | #75 (permalink) |
| Portal Member Join Date: Jun 2006
Posts: 78
Thanks: 0
Thanked 1 Time in 1 Post
| I've been looking through this thread (and others) and it looks like theres work being done on supporting DVB subtitles in the form they're being transmitted in in Denmark, and i'll need the tv-server to do it... Correct??? Any idea when this will be possible?? Wife is really bugging me about this.... Thx for all the great work!! |
| | |
| | #76 (permalink) |
| Portal Developer Join Date: Jan 2005 Age: 30
Posts: 2,646
Thanks: 69
Thanked 66 Times in 55 Posts
| Unfortunately I can't make any good estimates as I don't have that much free time that I can devote to the coding and biggest issue that is left is the subtitle timing... and looks like it's not going to be an easy task...
__________________ http://day2.no-ip.org/ "Commy64 - The problem there is that Oprah was on. MP tried to save you by blanking the screen" |
| | |
| | #77 (permalink) |
| Portal Member Join Date: Dec 2005 Age: 33
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Tourettes, could this be related to your problem: http://www.progdigy.com/modules.php?...ming+subtitles |
| | |
| | #78 (permalink) |
| Portal User Join Date: Mar 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
| Take a look at ProjectX - an open source project - which can, among other things, extract subtitles from a .ts file, and render them to a .SUP file. The source is freely available - it's java - maybe you can find the solution to the timing problems in there. http://sourceforge.net/projects/project-x |
| | |
| | #79 (permalink) |
| Portal Developer Join Date: Jan 2005 Age: 30
Posts: 2,646
Thanks: 69
Thanked 66 Times in 55 Posts
| Those timing problems are most likely only directshow related (and I have hopefully managed to fix at least some of them when ussing TSFileSource.ax) Here's the first public test version of the DVB subtitle filter: http://day2.no-ip.org/DVBSub_test_01.zip Some facts about the filter: 1) Seeking is most likely broken -> missing subtitles after seeking (works most of the time for me, but still fails sometimes) 2) PCR rollover is not handled in any way -> missing subtitles if the recording has a PCR rollover Installing the filter: 1) unzip both .ax files to MP folder. 2) regsrv32 DVBSub_debug.ax (if some debug DLLs is missing from your system then use the DVBSub_release.ax) 3) put following setting in the MediaPortal.xml in MyTv section <entry name="dvbsubtitles">yes</entry> 4a) Get some .ts recording that has subtitles (verify first with VLC) Currently the TVEngine3 has a bug that causes .ts recordings not to have subtitle data. Timeshifting buffer has correct data, so copying a .ts file should do the trick. 4b) Use tv engine3 in single seat and you should have valid subtitles from the engine - When using the debug version of the filter it's writing a log to C:\ folder - I haven't tested for months if the subtitles work with the tv engine streams (not sure if all the needed code is even there... possibly not). - Use the latest SVN MP version - Subtitles seem to be sometimes too large I really hope that someone would have some free time to fix those remaining bugs in the filter as I don't have that much free time available and banning the head against wall isn't not so nice...
__________________ http://day2.no-ip.org/ "Commy64 - The problem there is that Oprah was on. MP tried to save you by blanking the screen" Last edited by tourettes; 2007-03-13 at 17:37. |
| | |
| | #80 (permalink) |
| Portal Member | Had to regsvr32 DVBSub_release.ax, debug version didn't work (that DLL-issue I suppose). Timing works mostly ok, pretty well actually. Sometimes subs just flash (I think at the time when that particular sub is supposed to go away but haven't even been displayd), nebulas DigiTV used to do that before too, now they have pretty solid dvbsub. VLC works well with the same ts-stream. Sometimes it seems like subs are displayed little too early and sometimes late but can't judge just from watching two shows. Overall it works alot better I was expecting, seems totally watchable even in first public beta form. You guys should include this in SVN and add on/off -option to mp setup. Would be nice if eventually subs would show when tv-screen is shrinked (EPG, tv-menu). Also there seems to be green outmost color at least on finnish dvbsubs I can't see in VLC or other programs (white center, black border and then there's narrow green). Thanks for all the work so far! |
| | |
![]() |
| Bookmarks |
| Tags |
| dvb, needed, subtitles |
| Thread Tools | |
| Display Modes | |
|
|
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 |