MediaPortal Forums HTPC/MediaCenter

Sponsored Ads

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

Notices

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 2007-07-23, 10:40   #1 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 30
Posts: 2,288
Thanks: 56
Thanked 57 Times in 47 Posts


Default New DVB subtitle filter (TsReader based)

Latest update 2008/03/02

How to install:

- Make sure that you have installed following update -> Download details: Visual C++ 2005 SP1 Redistributable Package (x86)

- If you have installed the DVBSub2.ax filter previously then unregister it

- Install latest MP SVN version

- Install latest TVE3 SVN version

- Enable subtitles with cofigure.exe under Television->TV Client->Subtitles


notes:
- in fullscreen tv and video modes pressing key 'L' will cycle thru all available subtiltes (DVB bitmap / teletext)
- no binaty paches are needed anymore
- TsReader.ax is currently the default source filter (no need for c:\useTsReader.txt anymore)


Version history:


Version 1:
Changes are based on SVN revision: 15294

- First public beta version


Version 2:
Changes are based on SVN revision: 15417

- Reduced CPU usage
- Reduced logging in MP side (debug mode logging)
- Fixed seeking causing the subtitles disapear
- Fixed video stream corruption happening sometimes
- Fixed subtitle data arriving too late sometimes -> late subtitles


Version 3:
Changes are based on SVN revision: 15437

- Log gets deleted everytime when filter is created
- Fixed a resource leak in TsReader & DVBSub (could fix some hangs when zapping)
- Fixed sometimes pressing stop hangs
- Fixed subtitles leaked sometimes (inside MP, when user is not in the full screen tv view)
- Added support for rendering the subtitles in the video overlays


Version 4:
Changes are based on SVN revision: 15516

- Fixed some compiler warnings
- Fixed a memory leak when processing subtitle bitmaps
- Fixed a resource leak inside the TsReader


Version 5:
Changes are based on SVN revision: 15598

- Fixed pausing playback causing the subtitle timing to go off
- Fixed seeking causing the subtitle timing to go off
- Fixed channel changing was not resetting the subtitle cache on MP side (subtitles could be displayed on wrong channel)
- Adjusted the maximum subtitle timeout (now it's 5 seconds)


Version 6:
Changes are based on SVN revision: 15713

- Improved subtitle timeout behaviour. Filter now uses empty page composition pages if available in the stream
- Improved alpha channel handling
- Fixed subtitles being too wide sometimes
- Adjusted the maximum subtitle timeout (now it's 6 seconds)


Version 7:
Changes are based on SVN revision: 15764

- Fixed TS buffer rollover causing freezing subtitles or no subtitles after the rollover


Version 8:
Changes are based on SVN revision: 15980

- First version to support teletext subtitles
- Added subtitle stream / language selection
- Added disabling rendering of subtitles
- Fixed TsReader causing a hang when no subtitle filter was in the graph and playback was stopped
- Some other fixes that I have already forgotten...


Version 9:
Changes are based on SVN revision: 15987

- Fixed a random hang when subtitle filter is enabled and zapping channels

Version 10:
Changes are based on SVN revision: 16896

- Fixed subtitles getting lost sometimes

Version 13:
Changes are based on SVN revision: 17218

- Fixed handling of DVB streams that have padding in the same stream as the subtitle data is (crash 28.1.2008 > Finland / Yle)

Version 14:
Changes are based on SVN revision: 17648

- Fixed a bug that caused DVB bitmap subtitles to get lost sometimes in live tv (hopefully the last bug causing this...)

Version 15:
Changes are based on SVN revision: 17683

- Fixed subtitle timeout calculation.


Open issues:

Missing features:


Upload account for .ts test files:

ftp.team-mediaportal.com
login:tsdump@team-mediaportal.com
pass: mpuser88

...btw, happy testing and please remember it's only BETA version
__________________
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; 2008-03-02 at 08:30.
tourettes is offline   Reply With Quote
Old 2007-07-23, 11:16   #2 (permalink)
Portal Tester
 
Join Date: Apr 2007
Posts: 34
Thanks: 2
Thanked 5 Times in 2 Posts

Country:


Default works

Filter works atleast for DVB-T .FI YLE TV1 channel. Though there's small issue if you press record then it stops displaying the subs. They do get recorded though into the .ts (verified using VLC).

I'll see later today if the timing is correct there. Right now just a quick test remotely.
tontsa is offline   Reply With Quote
Old 2007-07-23, 21:43   #3 (permalink)
Portal Member
 
Join Date: Mar 2007
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Where should i add the information of point 4 in the registry or in a file? What file if that's the case
accolon is offline   Reply With Quote
Old 2007-07-23, 21:57   #4 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 30
Posts: 2,288
Thanks: 56
Thanked 57 Times in 47 Posts


Default

Quote:
Originally Posted by accolon View Post
Where should i add the information of point 4 in the registry or in a file? What file if that's the case
Sorry, that information was missing from the first post. The correct location is in MediaPortal.xml (first post has been now updated to contain that information).
__________________
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 offline   Reply With Quote
Old 2007-07-23, 22:38   #5 (permalink)
Portal Member
 
risu's Avatar
 
Join Date: Sep 2006
Posts: 250
Thanks: 17
Thanked 15 Times in 14 Posts

Country:

My System

Default

I can't get subs to show at all. Previous filter worked but I've reinstalled whole system so there could be something done differently with filters/drivers now.

I recorded a clip with MP and subs were present on clip (checked with VLC).

Logs attached from watching a program which has subs.

Last edited by risu; 2007-10-19 at 16:13.
risu is online now   Reply With Quote
Old 2007-07-23, 22:44   #6 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 30
Posts: 2,288
Thanks: 56
Thanked 57 Times in 47 Posts


Default

Quote:
Originally Posted by risu View Post
I can't get subs to show at all. Previous filter worked but I've reinstalled whole system so there could be something done differently with filters/drivers now.

I recorded a clip with MP and subs were present on clip (checked with VLC).

Logs attached from watching a program which has subs.
Looks like the subtitle filter doesn't receive any subtitles PES packets (dunno why). Only way to try to solve that issue is that you are able to provide the recorded .ts file. (There is the FTP account information available somewhere in the previous subtitle filter thread

update: added the FTP login information to the first post.
__________________
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-07-23 at 23:03.
tourettes is offline   Reply With Quote
Old 2007-07-24, 04:29   #7 (permalink)
Portal Member
 
risu's Avatar
 
Join Date: Sep 2006
Posts: 250
Thanks: 17
Thanked 15 Times in 14 Posts

Country:

My System

Default

Couldn't logon mediaportal FTP so I put the file here.

It was the only program with dvb subs present when tested subs so can't yet tell if some other show would actually work on my system. One note though, in that recording there are two dvb subs present, could that confuse the filter?

In other dvb-softwares which support subtitles you can select subtitle language, I think we need a feature like that on MP too. Better yet, give it an option to select primary language and secondary so if first preferred isn't available, display second preferred and if it isn't defined on ts-stream, just display subs that's in it.
risu is online now   Reply With Quote
Old 2007-07-24, 07:46   #8 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 30
Posts: 2,288
Thanks: 56
Thanked 57 Times in 47 Posts


Default

Quote:
Originally Posted by risu View Post
Couldn't logon mediaportal FTP so I put the file here.

It was the only program with dvb subs present when tested subs so can't yet tell if some other show would actually work on my system. One note though, in that recording there are two dvb subs present, could that confuse the filter?
Thanks for the test file, it's also not working correctly here, dunno yet why. It shouldn't be bacause of the multiple subtitle languages as I have some test files that already work and they contain two subtitle streams.

Quote:
Originally Posted by risu View Post
In other dvb-softwares which support subtitles you can select subtitle language, I think we need a feature like that on MP too. Better yet, give it an option to select primary language and secondary so if first preferred isn't available, display second preferred and if it isn't defined on ts-stream, just display subs that's in it.
That's something to be added when the basic functionality is working good enough.

Lately Frodo has done some big changes in the TsReader itself so it will take some time for me to catch up with those changes. I will be also one week traveling so the next update will be available maybe in two weeks.
__________________
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-07-24 at 07:55. Reason: Automerged Doublepost
tourettes is offline   Reply With Quote
Old 2007-07-24, 19:13   #9 (permalink)
Portal Member
 
Join Date: Nov 2006
Age: 35
Posts: 178
Thanks: 8
Thanked 0 Times in 0 Posts

Country:


Default

Thanks for all the effort you guys are putting into making this work.
I tried that file and didn't see any subs either, going to move over to Vista permanently this week.

Worth waiting for the 2.3 non RC? Or is it some way away still?
pmcguire is offline   Reply With Quote
Old 2007-07-25, 13:46   #10 (permalink)
Portal Tester
 
Join Date: Aug 2006
Location: Denmark
Age: 33
Posts: 241
Thanks: 7
Thanked 7 Times in 6 Posts

Country:

My System

Default

Bugs (affecting me) not fixed yet are collected in this post.
Only bugs not present in vanilla TsReader are listed here.

List updated for v7. Status: dvbsub2.ax seems close to bug free (for me at least). There are some bugs connected to TsReader, however.
A list of current issues in TsReader can be found here:
http://forum.team-mediaportal.com/sh...&postcount=271

Unfixed bugs:

Recycling of timeshifting files results in missing subtitles. (fixed in version 7)
http://forum.team-mediaportal.com/sh...&postcount=146
Users can work around this issue by increasing the timeshift file sizes or numbers. I use min 6 files of 2500 MB (I have plenty of disk space).

New bug in version 6: Subtitles on 16:9 shows are displayed as being too narrow on some configurations.
http://forum.team-mediaportal.com/sh...&postcount=159

Fixed bugs:

Removal of subtitles is currently done by timeout causing all subtitles to be displayed for a fixed amount of time. (Fixed in version 6)

When turning on live tv timing of subtitles is perfect. However, after seeking the timing is slightly delayed. (confirmed - both single and multiseat). Delays also appear in .ts recordings after seeking. (Fixed in version 5).

Additionally there seems to be a memory leak in dvbsub2.ax when watching TV, as memory usage of MP is currently: Mem Size 316 MB, VM size 397 MB after timeshifting tv for 6 hours. Memory leak is not present when using vanilla TsReader. Memory leak only occur when watching a channel with DVB subtitles. (Fixed in v4)

Some (at least one) .ts recordings produce a large memory leak when stopping playback. http://forum.team-mediaportal.com/sh...8&postcount=87 (confirmed - still leaking in v4 - Correction: Seems to be fixed)


http://forum.team-mediaportal.com/sh...5&postcount=65 (Fixed in v4)


----Original post kept below----
First of all. Great work tourettes, it is much appreciated (wife misses subtitles, as even she is almost exclusively using MP for TV-viewing).

I have two bugs to report (maybe related). Both are seen on live TV.

1:
MP sometimes hangs when stopping live tv. ("logs dvbsub2.zip")

2:
Sometimes MP hangs when I change channels. In this instance it is channelchange to channel in same mux, but it also happens when changing channels from DVB-T to DVB-C. ("Channel change crash.zip")

Additionally seeking seems to be broken, but you already know that?

Multi-seat is not supposed to work with subtitles. Is that correct?

Regards
Seidelin
Attached Files
File Type: zip Channel change crash.zip (79.5 KB, 6 views)
File Type: zip logs dvbsub2.zip (150.8 KB, 6 views)

Last edited by Seidelin; 2007-09-06 at 20:11. Reason: Updated bug collection
Seidelin is offline   Reply With Quote
2 Users Say Thank You:
Reply

Bookmarks

Tags
based, dvb, filter, subtitle, tsreader

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Subtitle for DVB-s/-t/-c ? Anonymous Improvement Suggestions 27 2008-01-31 22:30
DVB-C subtitle and general quality? Bjur General Talk 4 2007-07-16 11:08
Configuration stops subtitle filter functionality emphatic 0.2.3.0 RC1 and SVN Builds 0 2007-06-17 13:32
DVB-T Danish Subtitle support mail_dkmaste General Support 0 2007-02-25 21:35
DVB subtitle teampirkko Improvement Suggestions 1 2005-05-15 21:38


All times are GMT +1. The time now is 08:02.


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