Codecs SAF v5.02 *final* (based on FFDShow DXVA decoder) (13 Viewers)

doskabouter

Development Group
  • Team MediaPortal
  • September 27, 2009
    5,232
    4,184
    Nuenen
    Home Country
    Netherlands Netherlands
    Re: SAF v5.00 experimental (based on FFDShow DXVA decoder)

    doskab: what cpu are u running?

    AMD Athlon Dual Core 4850e 2.5 GHz

    I tried ffdshow, but it had a lot more cpu usage (both with deinterlacing enabled in ccc, disabled in ffdshow and disabled in ccc,enabled in ffdshow) and a lot more syncing problems.

    I'm running vista sp2.

    Strange.
    By default SAF settings, FFDshow only decode MPEG-2 stream+decrease brightness (to make black=black not grey)+crop (great if you have analog source)- all this will eat ~13-15% of my stupid Intel Atom here, and send interlaced stream to GPU to deinterlace. You should not have much CPU usage at all and you will have great picture.

    As i wrote, this can be MePo EVR renderer related, get some MPEG-2 TS regording, play it in Graphstudio (to eliminate MePo) and watch for CPU usage.

    Will try this at home tonight, although not sure if this was true for live-tv only, or also for recorded tv
     

    hoborg

    Portal Pro
    June 13, 2008
    4,413
    1,644
    Nový Jičín
    Home Country
    Czech Republic Czech Republic
    Re: SAF v5.00 experimental (based on FFDShow DXVA decoder)

    Hmm, i am thinking to separate MPEG-2 profile in to two - SD and HD. If SAF detect lowend GPU (like nVidia 9400/ATI 3200), it can setup FFDshow to use blend deinterlacing (like Gabest do) for HD, bud keep HW deinterlacing for SD.

    Blend deinterlacing is fast but causing "blur" effect.
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    5,232
    4,184
    Nuenen
    Home Country
    Netherlands Netherlands
    Re: SAF v5.00 experimental (based on FFDShow DXVA decoder)

    doskab: what cpu are u running?

    AMD Athlon Dual Core 4850e 2.5 GHz

    I tried ffdshow, but it had a lot more cpu usage (both with deinterlacing enabled in ccc, disabled in ffdshow and disabled in ccc,enabled in ffdshow) and a lot more syncing problems.

    I'm running vista sp2.

    Strange.
    By default SAF settings, FFDshow only decode MPEG-2 stream+decrease brightness (to make black=black not grey)+crop (great if you have analog source)- all this will eat ~13-15% of my stupid Intel Atom here, and send interlaced stream to GPU to deinterlace. You should not have much CPU usage at all and you will have great picture.

    As i wrote, this can be MePo EVR renderer related, get some MPEG-2 TS regording, play it in Graphstudio (to eliminate MePo) and watch for CPU usage.

    Will try this at home tonight, although not sure if this was true for live-tv only, or also for recorded tv.
    Confirmed that it was indeed for live-tv only, and as far as I know that can't be played in graphstudio.

    But I have good and bad news:
    the good news is that I don't have syncing problems anymore, but the bad news is that I don't know how I fixed it.
    I was fiddling with some interlacing options in ffdshow, and I'm sure I reverted all of them to what they were, rebooted and it's ok now :confused:.

    One thing that is still present is framedropping after channel switching, they all are 50fps, and for some reason after a channel change, the actual fps is somewhere between 44 and 49, sometimes hitting 50. But that's already posted in the bug-forum.

    I do kind of remember from the previous install (saf 4.00) that there was an option to "forward the interlaced boolean to the video card" or something similar in meaning, can't find it in saf5.
     

    Larzon

    MP Donator
  • Premium Supporter
  • January 16, 2010
    79
    9
    Phoenix, Arizona
    Home Country
    United States of America United States of America
    Re: SAF v5.00 experimental (based on FFDShow DXVA decoder)

    @Larzon: Taht confirm you GPU is not powerfull enought to do HW deinterlacing. Gabest do some basic (and fast) deinterlacing, that is reason why you have no droped frames. Similar deinterlacing can be setup in FFDshow.

    Sorry I was discussing more than one issue in my other post. Just to be clear, I observed zero dropped frames whether using NVIDIA 9400 GPU or FFDSHOW (CPU) for deinterlacing. But I've since abandoned GPU deinterlacing for 1080i; I just wanted to say it is possible with the 9400 on my system.

    OK, the main issue I wish to address is the FFDSHOW audio-video synchronization problem inside MediaPortal.

    FFDSHOW is using the YADIF deinterlacer... Do you suppose a less-intensive deinterlacer would help the synchronization issue when playing in MediaPortal?

    If so, can you suggest which FFDSHOW deinterlacer is similar to the MPC (Gabest) deinterlacer? I will try them all eventually, but any hints would be helpful.
     

    hoborg

    Portal Pro
    June 13, 2008
    4,413
    1,644
    Nový Jičín
    Home Country
    Czech Republic Czech Republic
    Re: SAF v5.00 experimental (based on FFDShow DXVA decoder)

    @Larzon: Taht confirm you GPU is not powerfull enought to do HW deinterlacing. Gabest do some basic (and fast) deinterlacing, that is reason why you have no droped frames. Similar deinterlacing can be setup in FFDshow.

    Sorry I was discussing more than one issue in my other post. Just to be clear, I observed zero dropped frames whether using NVIDIA 9400 GPU or FFDSHOW (CPU) for deinterlacing. But I've since abandoned GPU deinterlacing for 1080i; I just wanted to say it is possible with the 9400 on my system.

    OK, the main issue I wish to address is the FFDSHOW audio-video synchronization problem inside MediaPortal.

    FFDSHOW is using the YADIF deinterlacer... Do you suppose a less-intensive deinterlacer would help the synchronization issue when playing in MediaPortal?

    If so, can you suggest which FFDSHOW deinterlacer is similar to the MPC (Gabest) deinterlacer? I will try them all eventually, but any hints would be helpful.

    Hi.
    FFDshow Liear blending deinterlacing is one of fastest, PDVD or Gabest use this one too, but causing blur effect, YADIF deinterlacer is on other side of coin, this one eat a lot of CPU power, ffmpeg deinterlacer is middle way - good quality/CPU useage.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,743
    1,754
    New Zealand
    Home Country
    New Zealand New Zealand
    Re: SAF v5.00 experimental (based on FFDShow DXVA decoder)

    hoborg

    Live HDTV (h264/1080i) with PDVD10 codec had a few randoms glitches/crashes/unrecoverable pauses in the video/audio.
    I manually added PDVD9 codec (HD PACK 2.3) and they seem to have gone, but need to test further and then switch back to PDVD10.
    I will also test with FFDSHOW DXVA codec, because I didn't actually realise it could be used with ts reader.
    From my limited experience thus far, it seems like PDVD9 is a better codec than PDVD10 for live TV on my system.

    Win7 32bit / ATI 10.7 / HD4670 / SAF 5.0
     

    hoborg

    Portal Pro
    June 13, 2008
    4,413
    1,644
    Nový Jičín
    Home Country
    Czech Republic Czech Republic
    Re: SAF v5.00 experimental (based on FFDShow DXVA decoder)

    @kiwijunglist:

    If you are on Win7, use MS decoder for h.264 HD Live TV, this one seems to be working best.

    @doskabouter:

    OK, i reworked/splited MPEG-2 profiles in to SD and HD, so please try letest SAF build and durning MPEG-2 HD playback enable deinterlacing: (right click on FFDShouw icon)
    saf5_hd_deinterlace.png


    This wil enable fast linear deinterlacing and send pisture as progresive to GPU

    Another SAF out:

    SAF 5.00 SVN100811:

    - ALL - MPC-HC filters/player updated to rev. 1.3.2225
    - ALL - auto unregister "DirectShowSpy.dll" if installed - it causing slowdowns,
    crashes, etc...
    - ALL - reworked FFDshow profiles, separate MPEG-2 to SD and HD, hide unused options
     

    spuck

    Community Skin Designer
    April 6, 2007
    397
    59
    Home Country
    Sweden Sweden
    Re: SAF v5.00 experimental (based on FFDShow DXVA decoder)

    What GPU do you have? It looks like it have problems with NV12 colorspaces...
    Post your SAF logs.

    MPEG-2 DXVA is useless it only give you problems...
    MPEG2 1080i = 100% cpu with software decoder
    GPU = nvidia ion (geforce 9400)

    Yes, 9400 doesnot have enought power to deinterlace MPEG-2 FullHD :/ Decoding MPEG-2 will eat only few % of CPU power, bude deintelacing eat all of 9400 possibilities.
    So if it isn't powerful enough why can I playback those just fine in xbmc (linux) and windows media player?
     

    hoborg

    Portal Pro
    June 13, 2008
    4,413
    1,644
    Nový Jičín
    Home Country
    Czech Republic Czech Republic
    Re: SAF v5.00 experimental (based on FFDShow DXVA decoder)

    MPEG2 1080i = 100% cpu with software decoder
    GPU = nvidia ion (geforce 9400)

    Yes, 9400 doesnot have enought power to deinterlace MPEG-2 FullHD :/ Decoding MPEG-2 will eat only few % of CPU power, bude deintelacing eat all of 9400 possibilities.
    So if it isn't powerful enough why can I playback those just fine in xbmc (linux) and windows media player?

    XBMC using SW deinterlacing, and WMP? No idea how it is working. As i posted above, use latest SAF and enable deinterlacing durning MPEG-2 HD playback. This will redirect deinterlacing from GPU to CPU.
     

    edterbak

    Portal Pro
    March 4, 2008
    2,114
    1,176
    Home Country
    Netherlands Netherlands
    Re: SAF v5.00 experimental (based on FFDShow DXVA decoder)

    Bit off topic: Just for the people interested.
    I upgraded my pc from a passive HD4350 to a HD5670 (The MSI HD5670 Cyclone 1G which is nearly 100% silent, I can't hear it)
    De-interlacing 1080i HDTV is no problem anymore. :) I havent set things up propperly yet like SAF/CCC/dshowhelper.dll etc., but already I see its working perfect now.
     

    Users who are viewing this thread

    Top Bottom