[fixed] live Tv freeze - 15- --> 30+ helps (1 Viewer)

dyamant

Portal Pro
July 31, 2007
401
36
61
Castrop-Rauxel
Home Country
Germany Germany
AW: Re: AW: Re: live Tv freeze - 15- --> 30+ helps

Hmmm i use RTSP Streaming ??? I dont have enable it ? Any Idea why it is on on my system ?

You have a separate MP client/TV server setup - MP normally uses the RTSP protocol over your network for TV server -> client TV viewing.

The problem is that the mods I've done to the graph re-building code don't seem to work properly in this situation, so I need to try and work out why....

Tony

Thnx, and nice vacation for you and your family.
 

Owlsroost

Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,539
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    Tony, i'm closer now. Found out that it's an signal/stream interuption from which it cannot recover.
    I tested with last tsreader and selected as 264 decoder:

    ffdshow DXVA Decoder => freeze, audio continues
    ffdshow Video Decoder => total Mediaportal crash, windows crash message, audio continues
    Cyberlink Video Decoder PDVD10 => continues but image totaly distorted
    Microsoft DTV-DVD Video Decoder => continues, slightly distorted for a split second but continues clean and nice.

    What should i do? :)

    1. Use the Microsoft DTV-DVD Video Decoder for now (as it's the most reliable in handling errors, from your tests)

    2. Check that the 'don't drop discontinued packets' option is *not* ticked (in MP configuration somewhere) - this will give you maximum protection from stream corruption.

    3. I'd be interested in seeing the logs :)

    Is it better using the standard 1.2.0RC TsReader.ax ?

    Tony
     

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,539
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    One last version to try before I go away, just in case it might help with the RTSP problem....

    Tony
     

    Attachments

    • TsReader_owlsroost_noStopMod14.zip
      158.1 KB

    wouter1971

    MP Donator
  • Premium Supporter
  • November 19, 2008
    910
    143
    Purmerend, Holland
    Home Country
    Netherlands Netherlands
    Tony, i'm closer now. Found out that it's an signal/stream interuption from which it cannot recover.
    I tested with last tsreader and selected as 264 decoder:

    ffdshow DXVA Decoder => freeze, audio continues
    ffdshow Video Decoder => total Mediaportal crash, windows crash message, audio continues
    Cyberlink Video Decoder PDVD10 => continues but image totaly distorted
    Microsoft DTV-DVD Video Decoder => continues, slightly distorted for a split second but continues clean and nice.

    What should i do? :)

    1. Use the Microsoft DTV-DVD Video Decoder for now (as it's the most reliable in handling errors, from your tests)

    2. Check that the 'don't drop discontinued packets' option is *not* ticked (in MP configuration somewhere) - this will give you maximum protection from stream corruption.

    3. I'd be interested in seeing the logs :)

    Is it better using the standard 1.2.0RC TsReader.ax ?

    Tony


    Tony, i'm a littlebit ashamed as you did hard work for maybe nothing as your sugestion nr 2 made the difference. I had it ticked as it said to reduce stuttering. After i removed this option the freeze of the picture while using ffdshow was gone. Corruption slightly visible but no freezing. The team should remove this option i think. As it gives more trouble then pleasure.
    Results of the tests after that:

    ffdshow DXVA Decoder => slightly distorted for a split second but continues clean and nice.
    ffdshow Video Decoder => slightly distorted for a split second but continues clean and nice.
    Cyberlink Video Decoder PDVD10 => no distortion but slight freeze for a split second but continues clean and nice.
    Microsoft DTV-DVD Video Decoder => slightly distorted for a split second but continues clean and nice.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Tony, i'm a littlebit ashamed as you did hard work for maybe nothing as your sugestion nr 2 made the difference. I had it ticked as it said to reduce stuttering. After i removed this option the freeze of the picture while using ffdshow was gone. Corruption slightly visible but no freezing. The team should remove this option i think. As it gives more trouble then pleasure.

    Some people get better channel change speeds when the video decoder / hardware can itself decide when it can renderer the stream and some decoders that are mainly ment for the DVD playback (were no errors basicly happens) are struggling with it.

    So we shouldn't remove that option, only make

    1) more obvious what it does
    2) turn the name around - it is always bad to have some option as "don't do something...". Negations are always bad for understanding
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Usa
    Home Country
    Ethiopia Ethiopia
    ... Negations are always bad for understanding

    the same could be said for developers and the code they write.
    some are pessimistic while others are optimistic.
    which one do u prefer ?

    Code:
    var pmtReceived = IsPMTreceived(subchannel);
    if (pmtReceived)
    {
    ....
    }
    else
    {
    ....
    }

    Code:
    var pmtNotReceived = IsPMTnotReceived(subchannel);
    if (pmtNotReceived)
    {
    ....
    }
    else
    {
    ....
    }

    /gibman
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    ... Negations are always bad for understanding

    the same could be said for developers and the code they write.
    some are pessimistic while others are optimistic.
    which one do u prefer ?

    Code:
    var pmtReceived = IsPMTreceived(subchannel);
    if (pmtReceived)
    {
    ....
    }
    else
    {
    ....
    }

    Code:
    var pmtNotReceived = IsPMTnotReceived(subchannel);
    if (pmtNotReceived)
    {
    ....
    }
    else
    {
    ....
    }

    /gibman

    <offtopic>
    I haven't ever understood the urge to use var in any code. Makes code much harder to read on quick look (need to check what the method really returns, who knows if it returns integer and it is used in if statement :))
    </offtopic>
     

    mcrob83

    MP Donator
  • Premium Supporter
  • November 10, 2009
    206
    12
    St.Marienkirchen, Eferding
    Home Country
    Austria Austria
    AW: live Tv freeze - 15- --> 30+ helps

    Fact is, that Tony's change in the tsreader code makes the tv part of Mediaportal really usable. I was looking about 1,5 years for that. And I'm happy about it.
     

    Users who are viewing this thread

    Top Bottom