[other] Problems with dropping frames with EVR (1 Viewer)

disaster123

MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: Problems with dropping frames with EVR

    hey tourettes. I've made long time analyizes of PresentSample(). As least for me the paint() method isn't problematic. It mostly takes only about 0.5 until 1ms no matter if HD or SD. Problematic regarding dropped frames are these hickups. These are happening regarding every directx function. It doesn't matter if in PresentSample() or in paint() and it doesn't matter under which priority class the thread is running. Even with REALTIME PRIORITY class these are happing.

    Do you know any DirectX Priorisation? Or how to find out which blocks these functions?
     

    OnkelChris

    Retired Team Member
  • Premium Supporter
  • October 17, 2007
    764
    59
    Home Country
    Germany Germany
    AW: Problems with dropping frames with EVR

    puh... did some more testing...

    the strange thing i mentioned with SAT.1 is, that it is recognized as 25fps and every other channel as 50fps. Now I changed the priority of MP to highest and SAT.1 is playing between 25 and 50 fps... most of the time it jumps around 40-45fps. this is weird... setting back MP to normal priority, it plays SAT.1 as 25fps... this is crazy

    ok.... I can't get rid of this or sort things out. Using MS video codec delivered with Win7. Only on SAT.1 it seems to loose sometimes DxVA. Few minutes ago, I tested again. While the program was running, it jumped from 25fps to 50fps and back (while jumping downwards to 25fps I could see the "interlaced lines"). But while the commercial break, everything ran smooth at 50fps... The following show was also smooth at 50fps...

    I would say, this is some problem with the tuning?! So forget, what I said before :p
     

    belcom

    Retired Team Member
  • Premium Supporter
  • February 27, 2009
    154
    42
    44
    Leibnitz
    Home Country
    Austria Austria
    Re: AW: Problems with dropping frames with EVR

    puh... did some more testing...

    the strange thing i mentioned with SAT.1 is, that it is recognized as 25fps and every other channel as 50fps. Now I changed the priority of MP to highest and SAT.1 is playing between 25 and 50 fps... most of the time it jumps around 40-45fps. this is weird... setting back MP to normal priority, it plays SAT.1 as 25fps... this is crazy

    ok.... I can't get rid of this or sort things out. Using MS video codec delivered with Win7. Only on SAT.1 it seems to loose sometimes DxVA. Few minutes ago, I tested again. While the program was running, it jumped from 25fps to 50fps and back (while jumping downwards to 25fps I could see the "interlaced lines"). But while the commercial break, everything ran smooth at 50fps... The following show was also smooth at 50fps...

    I would say, this is some problem with the tuning?! So forget, what I said before :p

    Hi!

    I have the same issue here.
    For me it occures on almost every Channel of ProSiebenSat1 provider (ProSieben, Sat.1, N24, kabel eins).

    IMHO this is an incompatibility between the stream encoder these channels use and MS DTV decoder. You can really "watch" its affects on N24 with its News-Ticker.
    Wait for a show where multiple cuts from one cam to another are done.
    While all pictures of say "Cam1" play nicely, the pictures of "Cam2" introduce the 25fps no deinterlacing. Its just like MS DTV cannot find one of the half-pictures within the stream.
    Also, this half frame losses (as good as) never happen with advertises.

    So I mean this issue very depends on content received.
    It also happens with all 3 different DVB-S2 cards I tested.

    I hope my english was good enough to tell what I mean :sorry:
     

    OnkelChris

    Retired Team Member
  • Premium Supporter
  • October 17, 2007
    764
    59
    Home Country
    Germany Germany
    AW: Problems with dropping frames with EVR

    belcom:
    yeah, i got it. your english is good enough ;)

    you use DVB-S and I use DVB-T. And I can't reproduce this on any other channel of the ProSiebenSat.1 group. It's only on the SAT.1 channel. This is really weird... I think I don't like the ProSiebenSat.1-Media-Group :p

    I try to figure things out, but I think it's codec related... unfortunately, I don't have any other codec using DxVA or CUDA for LiveTV...
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Re: AW: Problems with dropping frames with EVR

    puh... did some more testing...

    the strange thing i mentioned with SAT.1 is, that it is recognized as 25fps and every other channel as 50fps. Now I changed the priority of MP to highest and SAT.1 is playing between 25 and 50 fps... most of the time it jumps around 40-45fps. this is weird... setting back MP to normal priority, it plays SAT.1 as 25fps... this is crazy

    ok.... I can't get rid of this or sort things out. Using MS video codec delivered with Win7. Only on SAT.1 it seems to loose sometimes DxVA. Few minutes ago, I tested again. While the program was running, it jumped from 25fps to 50fps and back (while jumping downwards to 25fps I could see the "interlaced lines"). But while the commercial break, everything ran smooth at 50fps... The following show was also smooth at 50fps...

    I would say, this is some problem with the tuning?! So forget, what I said before :p

    Hi!

    I have the same issue here.
    For me it occures on almost every Channel of ProSiebenSat1 provider (ProSieben, Sat.1, N24, kabel eins).

    IMHO this is an incompatibility between the stream encoder these channels use and MS DTV decoder. You can really "watch" its affects on N24 with its News-Ticker.
    Wait for a show where multiple cuts from one cam to another are done.
    While all pictures of say "Cam1" play nicely, the pictures of "Cam2" introduce the 25fps no deinterlacing. Its just like MS DTV cannot find one of the half-pictures within the stream.
    Also, this half frame losses (as good as) never happen with advertises.

    So I mean this issue very depends on content received.
    It also happens with all 3 different DVB-S2 cards I tested.

    I hope my english was good enough to tell what I mean :sorry:

    Yep, that is the MS H.264 decoder deinterlace issue we have spotted. Same issue can be reproduced with haali splitter + MS decoder + EVR renderer in graph edit -> nothing to do with MP itself.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Re: AW: Problems with dropping frames with EVR

    hey tourettes. I've made long time analyizes of PresentSample(). As least for me the paint() method isn't problematic. It mostly takes only about 0.5 until 1ms no matter if HD or SD. Problematic regarding dropped frames are these hickups. These are happening regarding every directx function. It doesn't matter if in PresentSample() or in paint() and it doesn't matter under which priority class the thread is running. Even with REALTIME PRIORITY class these are happing.

    Do you know any DirectX Priorisation? Or how to find out which blocks these functions?

    Sorry, no clue. At first I would try different GPU, as it could be broken drivers. Also if you are using Windows 7, turn of the automatic background image change + Weather info gadget.
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: Problems with dropping frames with EVR

    OnkelChris
    regarding SAT.1 and Pro7 and loosing DXVA this is causes by interlaced P flag - this is sometimes send by these channels - it is a failure on pro7 / sat1 side. In the german Intel i3-530 thread somebody explained this very well why this happens.

    tourettes
    Background Image change + weather gadget and other stuff is for shure already disabled. I really would like to know if ION users have perhaps the same. What do you think about getting this time measurement into RC1 and then making an log entry like - "high DirectX latency - this can cause dropped frames"?
     

    grubi

    Portal Pro
    June 16, 2007
    1,216
    80
    127.0.0.1
    Home Country
    Germany Germany
    AW: Problems with dropping frames with EVR

    @belcom:
    yeah, i got it. your english is good enough ;)

    you use DVB-S and I use DVB-T. And I can't reproduce this on any other channel of the ProSiebenSat.1 group. It's only on the SAT.1 channel. This is really weird... I think I don't like the ProSiebenSat.1-Media-Group :p

    I try to figure things out, but I think it's codec related... unfortunately, I don't have any other codec using DxVA or CUDA for LiveTV...

    Have you tried SAF unlocked?
    With that one I don't have any issues with Pro7/Sat1
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: Problems with dropping frames with EVR

    grubi
    please read in the german thread. This is codec related. There are codecs which do not interpret this flag at all and there are codecs which you can force to deinterlacing.
     

    grubi

    Portal Pro
    June 16, 2007
    1,216
    80
    127.0.0.1
    Home Country
    Germany Germany
    AW: Problems with dropping frames with EVR

    @grubi
    please read in the german thread. This is codec related. There are codecs which do not interpret this flag at all and there are codecs which you can force to deinterlacing.

    That was the reason I suggested to give SAF unlocked a try.
    Seems that esp. the Microsoft codecs have issues.
    They are also unusable with ARD HD / ZDF HD if you have an ATI card.
    However it seems this problem will to be solved in Catalyst 10.2 (at 10.2 least the beta no longer shows this problem).
     

    Users who are viewing this thread

    Top Bottom