New DVB subtitle filter (TsReader based) (1 Viewer)

ziphnor

Retired Team Member
  • Premium Supporter
  • August 4, 2005
    755
    13
    Copenhagen
    Home Country
    Denmark Denmark
    I reproduced the error (using svn16503). Logs attached, and timeshift file (164 MB) will be on ftp in 12 minutes in teletext subtitles\crash...

    Thanks. Looking at the TsReader log in more detail i can see that it indeed records some discontinuities in the stream. That would trigger my assert. I only had this check there to make sure i handled seeking correctly. I have downgraded it to a warning now and also reduced the amount of log entries a bit more.

    I will add your file to my sample repository, and check it out later, it will be good to have one with discontinuities.
     

    SweMart

    MP Donator
  • Premium Supporter
  • March 25, 2006
    359
    11
    46
    Stockholm, Sweden
    Home Country
    Sweden Sweden
    I am working on resolving the timing issues i had with those few samples, but i need more samples. If anyone has uploaded samples with teletext subtitles, could you please make sure you place them in the "Teletext subtitles" subfolder of tsdumps?

    I've uploaded a small recording with teletext subtitles, accidently put it in the folder "SweMart". Pardon.

    Is teletext subtitles enabled yet?

    I'm just getting the following when trying to enable subtitles:

    Code:
    2007-11-11 17:41:00.546875 [Info.][MPMain]: MyTV toggle subtitle: no subtitle streams available!
     

    risu

    MP Donator
  • Premium Supporter
  • September 22, 2006
    279
    19
    Home Country
    Finland Finland
    I'll try to put some sample file later tonight. This new teletext-filter has about the same timing problems as the original dvb subtitle-filter (pre-tsreader) had at first. Timing isn't on sync after skipping or ffwd. After some random skipping I could get it's position right. Timing itself seems to be alright, only the offset to sync it isn't. Using svn16504
     

    ziphnor

    Retired Team Member
  • Premium Supporter
  • August 4, 2005
    755
    13
    Copenhagen
    Home Country
    Denmark Denmark
    Is teletext subtitles enabled yet?

    Yes, the latest changes are in revision 16508. I checked your sample (the one in the SweMart folder), and im getting teletext subtitles.

    I'm just getting the following when trying to enable subtitles:

    1. Are you using the correct revision?
    2. Do you have the dvbsubtitles entry correctly set in Mediaportal.xml?
    3. Are you using TsReader?
    4. Does the channel in question indeed have subtitles?

    Additionally, currently you have to wait until the first subtitle page arrives before you can enable it, so just when you switch to a channel you might not see any options, but they will show up slightly later.

    If you still cant get any subtitles (and you should be), then i will need to see your logs.
     

    ziphnor

    Retired Team Member
  • Premium Supporter
  • August 4, 2005
    755
    13
    Copenhagen
    Home Country
    Denmark Denmark
    I'll try to put some sample file later tonight. This new teletext-filter has about the same timing problems as the original dvb subtitle-filter (pre-tsreader) had at first. Timing isn't on sync after skipping or ffwd. After some random skipping I could get it's position right. Timing itself seems to be alright, only the offset to sync it isn't. Using svn16504

    Looking forward to seeing that sample, i havent encountered this issue myself.
     

    risu

    MP Donator
  • Premium Supporter
  • September 22, 2006
    279
    19
    Home Country
    Finland Finland
    I'll try to put some sample file later tonight. This new teletext-filter has about the same timing problems as the original dvb subtitle-filter (pre-tsreader) had at first. Timing isn't on sync after skipping or ffwd. After some random skipping I could get it's position right. Timing itself seems to be alright, only the offset to sync it isn't. Using svn16504

    Looking forward to seeing that sample, i havent encountered this issue myself.

    It's there, "hitch_sample.ts". In case you wonder, it's binary-splitted file. Whole recording would have been several gigs. But splitting doesn't change behiour, I tested that splitted file acts just same on MP as whole recording.
     

    ziphnor

    Retired Team Member
  • Premium Supporter
  • August 4, 2005
    755
    13
    Copenhagen
    Home Country
    Denmark Denmark
    It's there, "hitch_sample.ts". In case you wonder, it's binary-splitted file. Whole recording would have been several gigs. But splitting doesn't change behiour, I tested that splitted file acts just same on MP as whole recording.

    I cant seem to reproduce the problem you were mentioning. Are you quite sure that you also have an up to date TsReader? The TsReader is part of the TV server download (the TV plugin). In one of the earlier versions of TsReader (pre 16504) i believe i forgot to sync on seeks.
     

    risu

    MP Donator
  • Premium Supporter
  • September 22, 2006
    279
    19
    Home Country
    Finland Finland
    I'm now building MP from source so that may have something to do about it. Haven't fiddled with DS-filters and I think SVN already sends me latest compiled filters too. I do have "smart stretch" patch installed at source code so that could mess some stuff too as SVN is not 1:1. Behaviour was seen on XP.

    I'm just in the middle of upgrade on my HTPC (XP) so I can't test with latest nightly build either. Right now I'm trying to get my main PC (Vista) to display subs in the first place, so I could see if it works there. Too bad graphedit is making my life harder as I can't get it working so I can't tell if tsreader is working. I've already tried registering manually that one .dll and few versions of graphedit without success.

    There's something fishy with my current vista MP install anyway. I just did a new build with latest SVN source and I can't get configuration to write anything to mediaportal.xml.. it worked before :)

    I'll do some further testing and post back here.

    EDIT-> Got MP running on Vista after uninstalling + deleting everything. This time I didn't build SVN myself, instead I downloaded and installed RC3 and latest nightly builds for xx511. I get subs now but I still can't get teletext subs to sync right. Viewing same clip on VLC sync correctly. I even tried danish subs and there was the same thing :) TsReader.ax at MP dir has date 11.11.2007 11.04.

    "Regular" DVB-subs sync just fine, only teletext based doesn't.

    Now I seem to get about same offset all the time. Using powerdvd 7 for video and MPA for audio.
     

    ziphnor

    Retired Team Member
  • Premium Supporter
  • August 4, 2005
    755
    13
    Copenhagen
    Home Country
    Denmark Denmark
    "Regular" DVB-subs sync just fine, only teletext based doesn't.

    They use completely different sync mechanisms.

    Now I seem to get about same offset all the time. Using powerdvd 7 for video and MPA for audio.

    I dont know what to say, ive tried the sample on both my laptop (the latest snapshot) and my main dev. machine (pretty much same version plus some new code for autoselecting subs) and i dont have any sync problems after seeking. I would suggest unreging tsreader and specifically re-reging it just to make sure the right one is in use. And just in case i am remembering incorrectly regarding version numbers, try using the very latest version of everything ;)

    How much an offset are we talking about here? (just so i know we are talking about the same thing).
     

    SweMart

    MP Donator
  • Premium Supporter
  • March 25, 2006
    359
    11
    46
    Stockholm, Sweden
    Home Country
    Sweden Sweden
    Is teletext subtitles enabled yet?

    Yes, the latest changes are in revision 16508. I checked your sample (the one in the SweMart folder), and im getting teletext subtitles.

    That explains my problems, I was using the latest SVN at the time(16504).

    Just updated to the latest SVN and the subtitles looks amazing, 100% in sync for about 30 mins. Have zapped between all the Canal+ channels and Viasat History something like 20 times = no crashes!

    Edit: Viasat switched program, now the teletext subtitles doesn't display while my Samsung STB displays them fine. I've uploaded a small recording to the "teletext subtitles" folder named "Århundradet-2007-11-12-23_00.ts".
     

    Users who are viewing this thread

    Top Bottom