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

doskabouter

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

    I did try the mpc-codecs, and for a while I though I've found it: there was this checkbox with "set interlaced flag for output"!
    without checking it it played steady at 25 fps, checked it wasn't playing steady at 50 at all.
    I have to experiment some more but somehow I've got the feeling I'm on the right track

    Yes, in FFDSHOW > Output,

    disabled Set interlace flag ==> The GPU is not asked to perform deinterlacing.
    In order to make CPU do it you must also enable FFDSHOW Deinterlacing function.*

    enabled Set interlace flag ==> The GPU is told to perform deinterlacing, and you can specify the method.**
    This can overwork the GPU, especially if it is doing resizing and/or noise reduction.***

    * hoborg's deinterlacing tips:
    FFDshow Linear 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.

    ** Force Weave simply combines the odd and even fields into one frame, and thus requires little effort by GPU. I found it useful during troubleshooting, but it's not good for real viewing due to pronounced combing (jagged edges) when objects move across the image. Auto allows GPU driver to select method, e.g. on my NVIDIA it is a Linear Blend as I recall.

    *** In your GPU driver settings beware of Noise Reduction. (In the ATI setup it is called De-noise.) For NVIDIA 9400 enabling this function while simultaneously performing deinterlacing creates excessive load on GPU, as evidenced by extreme stutter/frame drops.


    The following summary was originally intended for a separate post, but I'll include it here since it relates to above.

    The NVIDIA GeForce 9400 GPU cannot handle the load of resizing and noise reduction while also performing deinterlacing, and so I've come up with this configuration. It works great on my system since the CPU can easily handle the deinterlacing.

    Using MediaPoral 1.1 final, SAF v5 100811.

    1) GPU is set to 70% Noise Reduction. (Other driver settings are default.)
    This works well even for live TV (either 1080 or 720).

    2) MediaPortal Config > TV codecs:
    > MPEG-2 video = MPC - MPEG-2 Video Decoder (Gabest ) . . . . (This performs deinterlacing in the CPU.)
    > MPEG / AC3 audio = MPC - MPA Decoder Filter

    3) MediaPortal Config > DVD codecs:
    > DVD video = ffdshow Video Decoder
    > DVD audio = ffdshow Audio Decoder

    4) FFDSHOW Video > my custom DVD preset:
    > Preset autoload condition: on a DirectShow filter presence = DVD Navigator
    . . (Any other presets should be configured NOT to load for DVD playback.)
    > Deinterlacing: ffmpeg . . . . (Any method within FFDSHOW performs deinterlacing in the CPU.)
    > Resize & aspect: multiply by 2.00; uncheck Process pixel aspect ratio; check No aspect ratio correction
    . > Settings: Luma = Lanczos, number of taps 3.00; Luma blur = 0.60; Chroma blur = 0.30
    > Sharpen: unsharp mask = 40
    > Output: uncheck Set interlace flag; colorspace = YV12


    Notes on FFDSHOW settings for DVD:

    These settings are a work in progress, but I'm happy to say it makes a DVD on the hi-def TV look better than the old standalone DVD player feeding component video to the analog TV.

    I'm using Resize mainly for the Lanczos blur function, which seems superior the other Blur & NR options for cleaning up the DVD picture. When watching a DVD (in MediaPortal) I can choose Zoom = Original, which is now 960 lines (= 480x2), or Zoom = Normal if I want to enlarge it to fill the screen. (In latter case, is this additional resize done in the GPU?)

    For DVDs with rapidly changing grainy noise (such as Chicago), I have configured a button on my remote to send Ctrl+Alt+B, which engages FFDSHOW > Blur & NR. There I have enabled Temporal smooth = 2, which helps tremendously.
    However, be warned that any of the FFDSHOW temporal smoothers will prevent the display of DVD menus that use still frames!!! You have to make sure to toggle it back to OFF at the end of the movie.

    Very clear description, :D for that, but no matter what I do, ffdshow and mpc-mpeg2 keep giving me massive audio-delays, which don't fix themselves... As I said before, for now I will stick with the pdvd...
     

    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)

    SAF 5.00 SVN100816:
    - ALL - MPC-HC filters/player updated to rev. 1.3.2246
    - ALL - FFDShow updated to rev.3532
    - ALL - madFlac updated to 1.9
    - ALL - fix for FFDShow SD MPEG-2 profile detection
    - ALL - fix for *.MPG wrong duration detection (this can broke some *.MPG file support)
     

    zanlation

    Portal Pro
    May 26, 2008
    107
    0
    Home Country
    Re: SAF v5.00 experimental (based on FFDShow DXVA decoder)

    I am getting an install error about choosing the right version. either 32 or 64-bit? I am using windows 64-bit and I haven't had this problem before. Is there a 64-bit version? (which would be no good in MP anyway).

    This is for 816 version.
     

    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)

    I am getting an install error about choosing the right version. either 32 or 64-bit? I am using windows 64-bit and I haven't had this problem before. Is there a 64-bit version? (which would be no good in MP anyway).

    This is for 816 version.

    ???
    There is no SAF x64 version.
     

    zanlation

    Portal Pro
    May 26, 2008
    107
    0
    Home Country
    Re: SAF v5.00 experimental (based on FFDShow DXVA decoder)

    I will download it again and have another go.

    My bad, something was wrong with the downloaded version I tried to install. I downloaded it again and everything went well.
     

    Truri

    MP Donator
  • Premium Supporter
  • November 9, 2008
    192
    9
    Home Country
    Germany Germany

    BigDoom

    Portal Pro
    April 15, 2009
    78
    8
    Home Country
    Netherlands Netherlands
    Re: SAF v5.00 experimental (based on FFDShow DXVA decoder)

    hi,

    does someone know why i sometimes get the strange kinda artifacts when playing a bluray .m2ts file? During the movie i get these strange blocks in the picture and it disappears right away, but it's anoying. Because they return to much during playback.

    See attachment for example.
     

    Attachments

    • walle artifacts.png
      walle artifacts.png
      889.1 KB

    Users who are viewing this thread

    Top Bottom