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

Damandan

Portal Pro
May 19, 2007
111
12
40
Tegelen
Home Country
Netherlands Netherlands
Hello,
Could someone confirm that when watching UK BBC1 I should be getting both teletext and DVB Subs?
Teletext subs work fine both on live TV and on recordings, but there are no DVB subs, neither using Mediaportal and TsReader, nor using VLC (also only teletext).
Clips that I have downloaded from the ftp site (BBC recording) display both types of subtiles using the "L" key, so I think my TSReader side is correctly set up.
Thanks for any help
Using all CVS builds from 11/11

Well, here in Holland we have BBC One (London?) on digital cable and the only subs that I get are the Teletext subs (With the different color text for every different voice, and the black bars around the text)
 

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Ziphnor, sometimes I seem to get following errors. Unfortunately I don't have any recording that could be used to reproduce the issue:

    ExceptionType: System.ArgumentException
    Message: Source array was not long enough. Check srcIndex and length, and the array's lower bounds.
    Source: mscorlib

    Stack trace:
    at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
    at MediaPortal.Player.Teletext.PESDecoder.OnTsPacket(Byte[] tsPacket)
    at MediaPortal.Player.Teletext.TeletextReceiver.ProcessPackets(UInt64 outBufferCount)
    at MediaPortal.Player.Teletext.TeletextReceiver.OnEvent(Int32 eventCode, UInt64 eventValue)
     

    iSP

    Portal Pro
    January 2, 2007
    90
    11
    Home Country
    Netherlands Netherlands
    Apart from the slow channel changing issue in the current SVN I found another issue...
    As soon as I tune to a channel with dvb-subs on either regular SD or HD, mp will crash.
    If I disable the plugin in mediaportal.xml I have no issues at all except for no subs ofc.

    Most noticible is this error:

    2007-11-29 16:30:27.484375 [ERROR][18]: MediaPortal: Unhandled exception occured
    2007-11-29 16:30:27.484375 [ERROR][18]: Exception :confused:ystem.Exception: Assertion failed in TeletextSubtitleDecoder : Framing code wrong 27
    at MediaPortal.Player.Subtitles.TeletextSubtitleDecoder.OnTeletextPacket(Byte[] data)
    at MediaPortal.Player.Teletext.TeletextReceiver.OnPesPacket(Int32 streamid, Byte[] header, Int32 headerlen, Byte[] data, Int32 datalen, Boolean isStart)
    at MediaPortal.Player.Teletext.PESDecoder.OnTsPacket(Byte[] tsPacket)
    at MediaPortal.Player.Teletext.TeletextReceiver.ProcessPackets(UInt64 outBufferCount)
    at MediaPortal.Player.Teletext.TeletextReceiver.OnEvent(Int32 eventCode, UInt64 eventValue)
    2007-11-29 16:30:27.484375 [ERROR][18]: Exception :Assertion failed in TeletextSubtitleDecoder : Framing code wrong 27
    2007-11-29 16:30:27.484375 [ERROR][18]: site :Void OnTeletextPacket(Byte[])
    2007-11-29 16:30:27.484375 [ERROR][18]: source :Core
    2007-11-29 16:30:27.484375 [ERROR][18]: stacktrace: at MediaPortal.Player.Subtitles.TeletextSubtitleDecoder.OnTeletextPacket(Byte[] data)
    at MediaPortal.Player.Teletext.TeletextReceiver.OnPesPacket(Int32 streamid, Byte[] header, Int32 headerlen, Byte[] data, Int32 datalen, Boolean isStart)
    at MediaPortal.Player.Teletext.PESDecoder.OnTsPacket(Byte[] tsPacket)
    at MediaPortal.Player.Teletext.TeletextReceiver.ProcessPackets(UInt64 outBufferCount)
    at MediaPortal.Player.Teletext.TeletextReceiver.OnEvent(Int32 eventCode, UInt64 eventValue)


    I decided to provide the whole log as I'm pleagued with crashes, and maybe it's all related to this :p
     

    ziphnor

    Retired Team Member
  • Premium Supporter
  • August 4, 2005
    755
    13
    Copenhagen
    Home Country
    Denmark Denmark
    2007-11-29 16:30:27.484375 [ERROR][18]: MediaPortal: Unhandled exception occured
    2007-11-29 16:30:27.484375 [ERROR][18]: Exception :confused:ystem.Exception: Assertion failed in TeletextSubtitleDecoder : Framing code wrong 27

    Looks like another broadcaster that cant stick to the standards... *sigh*. Its one of the sanity checks that are failing, ignoring the problem in the code will probably work, but its scary none the less.

    I will need a sample that when played exhibits this behavior.
     

    iSP

    Portal Pro
    January 2, 2007
    90
    11
    Home Country
    Netherlands Netherlands
    I'm uploading a part of "Oceans in glass-2007-11-15-11_00.ts", from NGC HD.
    This is one of the channels with dvb subs that almost always crashes, but recording goes ok.
    Not sure how much of file you need, or maybe even all of it, maybe even another recording, just tell me.
    Will upload a regular SD recording later.

    Uploading "How to Succeed in Business Without Really Trying-2007-11-17-8_50.ts", two different subs in this one, and this is such one that crashed, even when I try to play it from my recordings it crashes mp, even now.
    So this one should be the ideal recording to test what's up with these subs.
    If you like I could make a recoding of one of those "boxed" subs too, though rarely used on any of the channels I got.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    2007-11-29 16:30:27.484375 [ERROR][18]: MediaPortal: Unhandled exception occured
    2007-11-29 16:30:27.484375 [ERROR][18]: Exception :confused:ystem.Exception: Assertion failed in TeletextSubtitleDecoder : Framing code wrong 27

    Looks like another broadcaster that cant stick to the standards... *sigh*. Its one of the sanity checks that are failing, ignoring the problem in the code will probably work, but its scary none the less.

    What I have seen is that DVB streams are more and more out of specs :)
     

    iSP

    Portal Pro
    January 2, 2007
    90
    11
    Home Country
    Netherlands Netherlands
    GCSE bitesize revision_Design and technology I & II-2007-11-30-3_00.ts

    Boxed subs used on BBC2, on this recording, in the first part they're really messed up.



    Ultimate getaways_ Nature beaches-2007-11-17-11_00.ts

    Two subs in these, both get rendered pretty bad, one to big the other one blown up.
    Plus this is such a recording that makes mp crash, I just can't tune to DC HD though I can record the stream.


    If you need a certain record of a stream just ask either here or on irc.
     

    3dcoder

    Portal Member
    April 11, 2007
    23
    1
    Home Country
    Finland Finland
    Is it impossible to integrate this thingy into next MP release? Working out of the box so every user wouldn't have to do the installing again and again?

    This is what i have done so far:

    1) Installed MediaPortal 2.3.0
    2) Installed Tv Engine nightly build, latest version when it was 1.12.2007
    3) Installed the Microsoft update whatever it does
    4) Put the line in MediaPortal.XML

    Whats wrong above?
     

    vuego

    Documentation Group
  • Team MediaPortal
  • August 5, 2006
    1,644
    764
    Göteborg
    Home Country
    Sweden Sweden
    You need to use TSReader either by creating a text file on c:\ called usetsreader.txt, or by installing any SVN for MP 0.2.3.0 (16540 or later).
    You also need to install the TV Plugin that came with TV Engine.
     

    3dcoder

    Portal Member
    April 11, 2007
    23
    1
    Home Country
    Finland Finland
    Thank you, I'll try that tomorrow, and sorry for a quickly made post, I didn't make any research about the subtitle issue. I actually installed the TV plugin but I noticed no changes at all in configuration utility but maybe that's the way it's supposed to work.

    Great work on 0.2.3 version though, everything works truly great =)

    -MP Since 2005
     

    Users who are viewing this thread

    Top Bottom