Re: SAF v5.00 experimental (based on FFDShow DXVA decoder)
Very clear description,
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...
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,
Netherlands