New DVB subtitle filter (TsReader based) (2 Viewers)

wemppu

Portal Member
July 4, 2007
32
0
Home Country
Finland Finland
Hmmmm ....
Maybe a stupid question and propably only missed something in this thread, but there seems to be tsreader.ax (of cource there is) and DVBSub2.ax also in SVN builds too nowdays?
I did check with Taskinfo than files in use are coming from from SVN build directory.
And subtitles are working without unregging and reregging files on first page.

What I have not done is unregging DVBSubs2.ax and TsReader.ax I extracted earlier to get subtitles to work. File sizes are different in this DVB subtitles filter and the one in SVN lately.

So the basic question is that is this great work now part of SVN and will be part of next MediaPortal release dispite of feature freeze mentioned earlier in the thread?
 

ziphnor

Retired Team Member
  • Premium Supporter
  • August 4, 2005
    755
    13
    Copenhagen
    Home Country
    Denmark Denmark
    Just wondering how far you have come ?

    Well, the teletext reading and rendering is working. However in order for you guys to actually make use of it the recordings and timeshifted data needs to include the teletext data as well. I have already committed changes such that Transport Stream recordings will include teletext, but the timeshifting part is a bit more tricky.

    I have implemented it, but it needs to be tested internally first before its maded part of SVN as it involves changes in TsWriter. This is why there hasnt been anything for you to test yet.

    Finally tourettes and me need to implement the means of selecting subtitle streams (there are usually a few different languages to choose from, and you can also get teletext AND bitmap subtitles at the same time).

    Im not sure if we will make another test release until the selection code is ready, as we have very limited time this week (and unfortunately next week im out of town). Releasing intermediate binaries takes time as well.
     

    jojjal

    Portal Pro
    October 21, 2006
    63
    0
    Home Country
    Sweden Sweden
    Great news ziphnor.... I’m waiting desperate for the teletext function to work… got most channels that just use the teletext… it nice to have some texting when the kids have gone to bed…

    TIA
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Hmmmm ....
    Maybe a stupid question and propably only missed something in this thread, but there seems to be tsreader.ax (of cource there is) and DVBSub2.ax also in SVN builds too nowdays?
    I did check with Taskinfo than files in use are coming from from SVN build directory.
    And subtitles are working without unregging and reregging files on first page.

    What I have not done is unregging DVBSubs2.ax and TsReader.ax I extracted earlier to get subtitles to work. File sizes are different in this DVB subtitles filter and the one in SVN lately.

    So the basic question is that is this great work now part of SVN and will be part of next MediaPortal release dispite of feature freeze mentioned earlier in the thread?

    yep, some of the stuff has been integrated in the SVNs (DVBSub2.ax and TsReader.ax are in tve3 side, so no feature freeze has been broken...). Currently I would recommend to use the older SVN versions (the ones that are statet in the first post) as the latest SVN stuff hasn't been tested and I'm too busy to give any suport for that currently. So, please use it with your own risk. Also if you are using the latest SVN can't remember the exact version number) please don't use the binary patches that are available in the first page in this thread as it will most likely cause only crashes and some other unwanted results as there are lot of changes in the TsReader / DVBSub2 / MP interfaces.

    I'll try to work as quickly to bring the SVN up to date, so it's possible to use it safely... I hope that can be done before Ziphnor has a week off... if not, the you guys have just to wait a little bit longer :D
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    C:\ProgramData\Team MediaPortal\MediaPortal.

    That folder should be used for the application data under Vista (as MP or any other application doesn't have anymore access to it's own program directory). So, logs and setting files should be always in that folder under Vista and the program files itself under the other folder (\program files\...).
     

    D-Iivil

    Portal Member
    September 13, 2007
    21
    0
    41
    Home Country
    Finland Finland
    Okay, now that I've installed tve3 I finally got something to my DVBSub.log, still no subs.

    Here's the log:
    Code:
    18-09-2007 18:40:13 -------------- MediaPortal DVBSub2.ax version 6 (+teletext mod) ----------------
    18-09-2007 18:40:13 Subtitle: Input pin created
    18-09-2007 18:40:13 Teletext decoder ctor ..
    18-09-2007 18:40:13 Magazine ctor
    18-09-2007 18:40:13 Magazine ctor
    18-09-2007 18:40:13 Magazine ctor
    18-09-2007 18:40:13 Magazine ctor
    18-09-2007 18:40:13 Magazine ctor
    18-09-2007 18:40:13 Magazine ctor
    18-09-2007 18:40:13 Magazine ctor
    18-09-2007 18:40:13 Magazine ctor
    18-09-2007 18:40:13 TxtDec this 203778304
    18-09-2007 18:40:13 TeletextInputPin: Reset
    18-09-2007 18:40:13 Teletext: Input pin constructor!
    18-09-2007 18:40:13 TEST : 10336994
    18-09-2007 18:40:13 CDVBSub::Reset()
    18-09-2007 18:40:13 CDVBSub::NotifySubPageInfo
    18-09-2007 18:40:13 CTeletextInputPin::NotifySubPageInfo
    18-09-2007 18:40:13 Page 10337234 is lang 
    18-09-2007 18:40:14 TeletextInputPin: CheckMediaType
    18-09-2007 18:40:14 Teletext: CTeletextInputPin::CheckMediaType() - DID NOT FIND MEDIASUBTYPE_MPEG2_TRANSPORT!
    18-09-2007 18:40:14 TeletextInputPin: CheckMediaType
    18-09-2007 18:40:14 Teletext: CTeletextInputPin::CheckMediaType() - DID NOT FIND MEDIASUBTYPE_MPEG2_TRANSPORT!
    18-09-2007 18:40:14 TeletextInputPin: CheckMediaType
    18-09-2007 18:40:14 Teletext: CTeletextInputPin::CheckMediaType() - DID NOT FIND MEDIASUBTYPE_MPEG2_TRANSPORT!
    18-09-2007 18:40:14 TeletextInputPin: CheckMediaType
    18-09-2007 18:40:14 Teletext: CTeletextInputPin::CheckMediaType() - DID NOT FIND MEDIASUBTYPE_MPEG2_TRANSPORT!
    18-09-2007 18:40:14 TeletextInputPin: CheckMediaType
    18-09-2007 18:40:14 Teletext: CTeletextInputPin::CheckMediaType() - DID NOT FIND MEDIASUBTYPE_MPEG2_TRANSPORT!
    18-09-2007 18:40:14 TeletextInputPin: CheckMediaType
    18-09-2007 18:40:14 Teletext: CTeletextInputPin::CheckMediaType() - DID NOT FIND MEDIASUBTYPE_MPEG2_TRANSPORT!
    18-09-2007 18:40:14 TeletextInputPin: CheckMediaType
    18-09-2007 18:40:14 Teletext: CTeletextInputPin::CheckMediaType() - DID NOT FIND MEDIASUBTYPE_MPEG2_TRANSPORT!
    18-09-2007 18:40:14 TeletextInputPin: CheckMediaType
    18-09-2007 18:40:14 Teletext: CTeletextInputPin::CheckMediaType() - DID NOT FIND MEDIASUBTYPE_MPEG2_TRANSPORT!
    18-09-2007 18:40:14 TeletextInputPin: CheckMediaType
    18-09-2007 18:40:14 Teletext: CTeletextInputPin::CheckMediaType() - DID NOT FIND MEDIASUBTYPE_MPEG2_TRANSPORT!
    18-09-2007 18:40:14 TeletextInputPin: CheckMediaType
    18-09-2007 18:40:14 Teletext: CTeletextInputPin::CheckMediaType() - DID NOT FIND MEDIASUBTYPE_MPEG2_TRANSPORT!
    18-09-2007 18:40:14 TeletextInputPin: CheckMediaType
    18-09-2007 18:40:14 Teletext: CTeletextInputPin::CheckMediaType() - DID NOT FIND MEDIASUBTYPE_MPEG2_TRANSPORT!
    18-09-2007 18:40:14 TeletextInputPin: CheckMediaType
    18-09-2007 18:40:14 Teletext: CTeletextInputPin::CheckMediaType() - DID NOT FIND MEDIASUBTYPE_MPEG2_TRANSPORT!
    18-09-2007 18:40:14 TeletextInputPin: CheckMediaType
    18-09-2007 18:40:14 Teletext: CTeletextInputPin::CheckMediaType() - DID NOT FIND MEDIASUBTYPE_MPEG2_TRANSPORT!
    18-09-2007 18:40:14 TeletextInputPin: CheckMediaType
    18-09-2007 18:40:14 Teletext: CTeletextInputPin::CheckMediaType() - DID NOT FIND MEDIASUBTYPE_MPEG2_TRANSPORT!
    18-09-2007 18:40:14 TeletextInputPin: CheckMediaType
    18-09-2007 18:40:14 Teletext: CTeletextInputPin::CheckMediaType() - DID NOT FIND MEDIASUBTYPE_MPEG2_TRANSPORT!
    18-09-2007 18:40:14 Subtitle: CSubtitleInputPin::CheckMediaType() - found MEDIASUBTYPE_MPEG2_TRANSPORT
    18-09-2007 18:40:14 TeletextInputPin: CheckMediaType
    18-09-2007 18:40:14 Teletext: CTeletextInputPin::CheckMediaType() - found MEDIASUBTYPE_MPEG2_TRANSPORT
    18-09-2007 18:40:14 TeletextPin: Complete Connect
    18-09-2007 18:40:14 CDVBSub::Pause
    18-09-2007 18:40:14 CDVBSub::Pause - done
    18-09-2007 18:40:14 CDVBSub::Run
    18-09-2007 18:40:14 CDVBSub::Run - done
    18-09-2007 18:40:14 TEST : 1
    18-09-2007 18:40:14 CDVBSub::Pause
    18-09-2007 18:40:14 SetTimeCompensation 0:00:00.198
    18-09-2007 18:40:14 CDVBSub::Pause - done
    18-09-2007 18:40:14 CDVBSub::Run
    18-09-2007 18:40:14 CDVBSub::Run - done
    18-09-2007 18:40:14 CDVBSub::Pause
    18-09-2007 18:40:14 CDVBSub::Pause - done
    18-09-2007 18:40:14 SetFirstPcr - media position 0:00:00.137
    18-09-2007 18:40:14 SetFirstPcr 0:00:00.000
    18-09-2007 18:40:14 SeekDone 0:00:03.984
    18-09-2007 18:40:14 TeletextPin: Receive no PID yet
    18-09-2007 18:40:14 SetTimeCompensation 0:00:00.774
    18-09-2007 18:40:14 CDVBSub::Run
    18-09-2007 18:40:14 CDVBSub::Run - done
    18-09-2007 18:40:15 SetTimeCompensation 0:00:01.385
    18-09-2007 18:40:37 CDVBSub::Reset()
    18-09-2007 18:40:37 CDVBSub::SetSubtitlePid() 80
    18-09-2007 18:40:37 Subtitle PID has changed!
    18-09-2007 18:40:37 CDVBSub::Reset()
    18-09-2007 18:40:37 CDVBSub::Pause
    18-09-2007 18:40:37 CDVBSub::Pause - done
    18-09-2007 18:40:37 SetFirstPcr - media position 0:00:25.581
    18-09-2007 18:40:37 SetFirstPcr 0:00:00.000
    18-09-2007 18:40:37 SetFirstPcr - media position 0:00:25.581
    18-09-2007 18:40:37 SetFirstPcr 0:00:00.000
    18-09-2007 18:40:37 SeekDone 0:00:25.020
    18-09-2007 18:40:37 TeletextPin: Receive no PID yet
    18-09-2007 18:40:37 CDVBSub::Reset()
    18-09-2007 18:40:37 SetTimeCompensation 1099820441:13:36.658
    18-09-2007 18:40:37 CDVBSub::Run
    18-09-2007 18:40:37 CDVBSub::Run - done
    18-09-2007 18:40:37 SetTimeCompensation 1099820441:13:37.149
    18-09-2007 18:40:38 CDVBSub::Reset()
    18-09-2007 18:40:39 m_iStreamId <= 0
    18-09-2007 18:40:39 m_iStreamId <= 0
    18-09-2007 18:40:39 CSubtitle:: CREATE count 1
    18-09-2007 18:40:39 Subtitle PTS 0:00:32.731
    18-09-2007 18:40:39 DVBsubs: call UpdateSubtitleTimeout()
    18-09-2007 18:40:39 No m_pUpdateTimeoutObserver set
    18-09-2007 18:40:39 DVBsubs: END OF INPUT PES DATA.
    18-09-2007 18:40:42 CSubtitle::~CSubtitle() count 0
    18-09-2007 18:40:42 CSubtitle:: CREATE count 1
    18-09-2007 18:40:42 Subtitle PTS 0:00:32.918
    18-09-2007 18:40:42 New subtitle ready - subtitle cache count = 1
    18-09-2007 18:40:42 DVBsubs: call NotifySubtitle()
    18-09-2007 18:40:42 Subtitle arrived - media position 0:00:29.572
    18-09-2007 18:40:42 subtitlePTS                0:00:32.918
    18-09-2007 18:40:42 m_basePCR                  0:00:00.000
    18-09-2007 18:40:42 timestamp                  0:00:33.009
    18-09-2007 18:40:42 m_CurrentSeekPosition      0:00:25.020
    18-09-2007 18:40:42 m_currentTimeCompensation  1099820441:13:37.149
    18-09-2007 18:40:42 subtitlePTS - m_basePCR - comp  0:00:33.009
    18-09-2007 18:40:42 No callback set
    18-09-2007 18:40:42 DVBsubs: END OF INPUT PES DATA.
    18-09-2007 18:40:42 CSubtitle:: CREATE count 2
    18-09-2007 18:40:42 Subtitle PTS 0:00:35.482
    18-09-2007 18:40:42 DVBsubs: call UpdateSubtitleTimeout()
    18-09-2007 18:40:42 No m_pUpdateTimeoutObserver set
    18-09-2007 18:40:42 DVBsubs: END OF INPUT PES DATA.
    18-09-2007 18:40:47 CSubtitle::~CSubtitle() count 1
    18-09-2007 18:40:47 CSubtitle:: CREATE count 2
    18-09-2007 18:40:47 Subtitle PTS 0:00:35.560
    18-09-2007 18:40:47 DVBsubs: page_time_out was 7 , forcing it to 6 seconds
    18-09-2007 18:40:47 New subtitle ready - subtitle cache count = 2
    18-09-2007 18:40:47 DVBsubs: call NotifySubtitle()
    18-09-2007 18:40:47 Subtitle arrived - media position 0:00:34.248
    18-09-2007 18:40:47 subtitlePTS                0:00:35.560
    18-09-2007 18:40:47 m_basePCR                  0:00:00.000
    18-09-2007 18:40:47 timestamp                  0:00:35.651
    18-09-2007 18:40:47 m_CurrentSeekPosition      0:00:25.020
    18-09-2007 18:40:47 m_currentTimeCompensation  1099820441:13:37.149
    18-09-2007 18:40:47 subtitlePTS - m_basePCR - comp  0:00:35.651
    18-09-2007 18:40:47 No callback set
    18-09-2007 18:40:47 DVBsubs: END OF INPUT PES DATA.
    18-09-2007 18:40:47 CSubtitle:: CREATE count 3
    18-09-2007 18:40:47 Subtitle PTS 0:00:40.089
    18-09-2007 18:40:47 DVBsubs: call UpdateSubtitleTimeout()
    18-09-2007 18:40:47 No m_pUpdateTimeoutObserver set
    18-09-2007 18:40:47 DVBsubs: END OF INPUT PES DATA.
    18-09-2007 18:40:52 CSubtitle::~CSubtitle() count 2
    18-09-2007 18:40:52 CSubtitle:: CREATE count 3
    18-09-2007 18:40:52 Subtitle PTS 0:00:40.198
    18-09-2007 18:40:52 DVBsubs: page_time_out was 7 , forcing it to 6 seconds
    18-09-2007 18:40:52 New subtitle ready - subtitle cache count = 3
    18-09-2007 18:40:52 DVBsubs: call NotifySubtitle()
    18-09-2007 18:40:52 Subtitle arrived - media position 0:00:39.321
    18-09-2007 18:40:52 subtitlePTS                0:00:40.198
    18-09-2007 18:40:52 m_basePCR                  0:00:00.000
    18-09-2007 18:40:52 timestamp                  0:00:40.289
    18-09-2007 18:40:52 m_CurrentSeekPosition      0:00:25.020
    18-09-2007 18:40:52 m_currentTimeCompensation  1099820441:13:37.149
    18-09-2007 18:40:52 subtitlePTS - m_basePCR - comp  0:00:40.289
    18-09-2007 18:40:52 No callback set
    18-09-2007 18:40:52 DVBsubs: END OF INPUT PES DATA.
    18-09-2007 18:40:52 CSubtitle:: CREATE count 4
    18-09-2007 18:40:52 Subtitle PTS 0:00:45.164
    18-09-2007 18:40:52 DVBsubs: call UpdateSubtitleTimeout()
    18-09-2007 18:40:52 No m_pUpdateTimeoutObserver set
    18-09-2007 18:40:52 DVBsubs: END OF INPUT PES DATA.
    18-09-2007 18:40:53 CDVBSub::Pause
    18-09-2007 18:40:53 CDVBSub::Pause - done
    18-09-2007 18:40:53 CDVBSub::Stop - beginning
    18-09-2007 18:40:53 CDVBSub::Stop - done
    18-09-2007 18:40:53 CSubtitleInputPin::Receive - BaseInputPin ignored the sample!
    18-09-2007 18:40:53 TeletextPin: Receive no PID yet
    18-09-2007 18:40:54 CDVBSub::~CDVBSub() - start
    18-09-2007 18:40:54 CSubtitle::~CSubtitle() count 3
    18-09-2007 18:40:54 TeletextInputPin: DTOR
    18-09-2007 18:40:54 Magazine dtor
    18-09-2007 18:40:54 Magazine dtor
    18-09-2007 18:40:54 Magazine dtor
    18-09-2007 18:40:54 Magazine dtor
    18-09-2007 18:40:54 Magazine dtor
    18-09-2007 18:40:54 Magazine dtor
    18-09-2007 18:40:54 Magazine dtor
    18-09-2007 18:40:54 Magazine dtor
    18-09-2007 18:40:54 CDVBSub::~CDVBSub() - end
    18-09-2007 18:40:57 DllMain - called
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Okay, now that I've installed tve3 I finally got something to my DVBSub.log, still no subs.

    Here's the log:
    Code:
    18-09-2007 18:40:37 SetTimeCompensation 1099820441:13:36.658

    That's most likely the reason for the missing subtitles. With a compensation so big the first subtitle would be visible in the future after couple of years :)

    ...basicly the reason is most likely that the TsReader.ax / MP / DVBSub2.ax are mixed up versions, and the data passing between those components isn't working like it should. As I said on my previous post the current SVN is not propably working for you guys. Better to wait until I and Ziphnor get something out :)
     

    risu

    MP Donator
  • Premium Supporter
  • September 22, 2006
    279
    19
    Home Country
    Finland Finland
    I briefly tested todays SVN and subs were showing nicely. Didn't register any filters manually but there's a chance that SVN build didn't register supplied filters either or dvbsub2? That way dvbsub2.ax I registered before would have been used.. I can tell that SVN few days earlier didn't show subs for me (when tsreader.ax bugfixes were put into SVN) and I haven't done anything to subtitle filter after that.
     

    Users who are viewing this thread

    Top Bottom