Help needed with DVB subtitles (2 Viewers)

Nyll

Portal Pro
May 18, 2006
156
1
Home Country
Denmark Denmark
Like Risu I had to regsvr32 DVBSub_release.ax

On national danish television (DR1) the subtitles are delayed about 1-2 seconds. The subtitles are showing nicely though. Good job so far. Thanks a lot guys!
 

jaobr

Portal Member
November 6, 2006
22
5
I think one reason for timing problem is pes decoder.
Looking at the PayloadUnitStart to decide when a pes packet is ready
will make the subtitles to be delayed (when the next subtitle begin the previous
is delivered).

You should look at the actual pes size and when that length is received the
pes is ready.
 

SciDoctor

Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    Excellent work.

    Working with the UK DVB-T stream and those MUX's that have subs with TV3.0 (not all work as of yet!)

    Delay seen as posted above.

    One problem I had was geting the regsvr32 DVBSub_release.ax to action (my error) I had to copy to sytem32 folder for this to action, I have forgottten how to do this from other folders.
     

    SciDoctor

    Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    Ok, I am seeing memory leaks while rinning MP with subs, this could be normal but the memory footprint is almost doubling to nearly 30000k in a few minutes.

    Also the subs are spot on time wise when not running 'live'.

    When 'live' there is a delay and sometimes the subs dissapear completely.

    Running 5 seconds behind live gives an almost faultless presentation of subs to dialog and infact going back to 'live' from this and the subs stay in time without delay.

    Accessing a second audio stream causes MP to lock needing task manager to end it.
     

    Hetfield

    Portal Pro
    March 3, 2007
    69
    9
    Home Country
    Finland Finland
    Fantastic. Seems to work here in Finland. I haven't investigated whether it leaks memory or not, but the subs seem to be perfect. Please help this man to finalize this fantastic job!
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    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).

    Currently Subs are rendered only in the full screen (as you noticed). This shouldn't be a big change to get it working in other places as well, but I consider this a minor issue only and won't be looking into it before I or someone else is able to fix the subtitle timing issues.

    I noticed also that green color around the subtitles, it's propably caused by bug in alpha channel calculations. Also this is so minor that I won't be looking into this before the bigger issues are solved first.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    I think one reason for timing problem is pes decoder.
    Looking at the PayloadUnitStart to decide when a pes packet is ready
    will make the subtitles to be delayed (when the next subtitle begin the previous
    is delivered).

    You should look at the actual pes size and when that length is received the
    pes is ready.

    I guess it shouldn't cause the timing issues I'm seeing (subtitles have been shown before the actual presentation time). Also subtitles are send ahead in the time in transport stream (In Finish test data I receive the subtitles sometimes 5 seconds earlier than the real presentation time).

    As you clearly seem to understand C++ & DVB could you have a look and try to debug the timing? I'm really short on time and I don't know when I have some free time that I can devote to coding (in a month, maybe before mid summer.. who knows).
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Ok, I am seeing memory leaks while rinning MP with subs, this could be normal but the memory footprint is almost doubling to nearly 30000k in a few minutes.

    Also the subs are spot on time wise when not running 'live'.

    When 'live' there is a delay and sometimes the subs dissapear completely.

    Running 5 seconds behind live gives an almost faultless presentation of subs to dialog and infact going back to 'live' from this and the subs stay in time without delay.

    Accessing a second audio stream causes MP to lock needing task manager to end it.

    Hmm.. I haven't seen any memory leaks lately. Could you upload some samples of .ts files that are causing some memory leaks? Otherwise there isn't anything I can do to track those down.

    Same goes with the second audio hang.
     

    nanoflower

    Portal Member
    January 21, 2007
    31
    0
    Home Country
    Denmark Denmark
    Requirements?

    Hi is this only running on the TV Server in single seat, or should it be working in myT also?

    I have regged the release.ax but no subs are being displayed
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Works (and will work) only with the new tv engine 3. Currently only in single seat, but supporting multi seat configurations is almost done.
     

    Users who are viewing this thread

    Top Bottom