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

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,
ffdshow doesn't save enabled codecs in the profiles. Scratch that idea.

Are you loged as admin?

I'll cut a minute out of the file and PM you, thanks hoborg.

Graphstudio, drops it straight to ffdshow (not DXVA). I've set MP to use PDVD10 to override merit.

[edit]If I disable the compatibility checks, it plays but is unwatchable due to artifacts[/edit]

Downloading....

I bet your sample is 5.1 profile with 6 or more ref. frames - you need GPU with UVD2.0+ (ATI 4xxx or newer) and Vista/Win7 to be able to play it using DxVA.
 

sPiel

Portal Pro
January 5, 2010
52
11
Home Country
New Zealand New Zealand
Re: SAF v5.00 experimental (based on FFDShow DXVA decoder)

Yup, logged in as admin.

True about the card limitations, but it plays perfectly in PDVD10 with DXVA (my CPU can't handle 1080p on its own).
 

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)

Yup, logged in as admin.

Oh, yes, it did it only in DxVA decoder. Normal FFDshow didn't support this.

Your sample: (playing perfectly here on ATI 5xxx)

Code:
Video
ID                               : 3
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L5.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 8 frames

8ref. frames - too much for your GPU, get new one - or reencode video to 4.1 profile :)
 

sPiel

Portal Pro
January 5, 2010
52
11
Home Country
New Zealand New Zealand
Re: SAF v5.00 experimental (based on FFDShow DXVA decoder)

Cool,

You're right about the reference frames:

Code:
Video
ID                               : 3
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L5.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 8 frames
Codec ID                         : V_MPEG4/ISO/AVC
Duration                         : 1mn 3s
Bit rate                         : 12.5 Mbps
Width                            : 1 920 pixels
Height                           : 800 pixels
Display aspect ratio             : 2.40:1
Frame rate                       : 23.976 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.339
Stream size                      : 94.6 MiB (87%)
Language                         : English

So I guess that PDVD10 can somehow stretch the limitations... weird.

I'll continue using PDVD10 as it's the only way I can play all of my HD media (as long as it conforms to spec). Is it worth following up with the ffdshow team for either adding profile support for codecs or looking at the sample file?

[edit]I've read that the 3000 cards can support up to 8 reference frames in vista/7 with the latest drivers which seems to be supported by my experiences with the PDVD10 decoder.[/edit]
 

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Re: SAF v5.00 experimental (based on FFDShow DXVA decoder)

    [edit]I've read that the 3000 cards can support up to 8 reference frames in vista/7 with the latest drivers which seems to be supported by my experiences with the PDVD10 decoder.[/edit]

    ffdshow's DXVA decoder is based on MPC-HC's decoder. It would be worth to ask from them if they have hard coded limits for reference frame numbers for ATI HW that are used to decide if the HW is capable to play the clip. Unfortunately it makes thigns quite complex to kept up to date when ATI's drivers vary on version basis what they can do and what not.
     

    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)

    [edit]I've read that the 3000 cards can support up to 8 reference frames in vista/7 with the latest drivers which seems to be supported by my experiences with the PDVD10 decoder.[/edit]

    Your info is wrong, you need UVD 2.x or newer card.

    It is not only about ref. frames, most imortant is 5.1 profile - support was added ~1 year back by driver update but only for UVD 2.x cards. You can play 4.1 profile with 16ref frames, but 5.1 only to 6 ref. frames - that is the limit of ATI cards with older UVD.

    ffdshow's DXVA decoder is based on MPC-HC's decoder. It would be worth to ask from them if they have hard coded limits for reference frame numbers for ATI HW that are used to decide if the HW is capable to play the clip. Unfortunately it makes thigns quite complex to kept up to date when ATI's drivers vary on version basis what they can do and what not.

    FFDshow DxVA decoder and MPC-HC video decoder have exactly same UVD check (sharing the same source code).
    There is some options for compatibility check:
    - none
    - skip level check
    - skip ref. frames check
    - skip all checks
     

    sPiel

    Portal Pro
    January 5, 2010
    52
    11
    Home Country
    New Zealand New Zealand
    Re: SAF v5.00 experimental (based on FFDShow DXVA decoder)

    Thanks for the help Hoborg and tourettes,

    I've found a bit of a workaround, it's messy but it works.

    I've allowed ffdshow(DXVA) to to play SD media(by enabling it in the SD profile), but disabled h264 support in the main ffdshow codecs. so what happens is this:

    HD Media:
    If ffdshow can't play it with DXVA, next in line is ffdshow (non dxva) which has h264 disabled so it drops to PDVD10 which plays the file flawlessly (even though it has 8 ref frames and is Lev 5.1). WIN!

    SD TV backups:
    Play fine with ffdshow(DXVA). Also WIN!

    Some of my HD movies play with ffdshow(dxva) but lots are playing with PDVD10, I don't mind which as they both work. I'm bound to come across files that my card will not handle but until I upgrade my hardware I think I've got it going as best as possible.


    I have no idea why PDVD10 can play the out of spec files on my card, but I'm certainly not complaining :)


    Thanks again for all the help.
     

    SiLenTYL

    Retired Team Member
  • Premium Supporter
  • April 23, 2004
    1,144
    159
    Melbourne
    Home Country
    Australia Australia
    Re: SAF v5.00 experimental (based on FFDShow DXVA decoder)

    or u can get something like CoreAVC 2.0 which decodes all h264 in dxva and nothing else ..then ffdshow (with dxva off) can be used as the second filter in merit value like VC-1 content
     

    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)

    or u can get something like CoreAVC 2.0 which decodes all h264 in dxva and nothing else ..then ffdshow (with dxva off) can be used as the second filter in merit value like VC-1 content

    CoreAVC (at last 2.0) doesn't support DxVA decoding, it can use only nVidia CUDA.
     

    mamachan

    MP Donator
  • Premium Supporter
  • September 25, 2006
    724
    48
    Home Country
    Italy Italy
    Re: SAF v5.00 experimental (based on FFDShow DXVA decoder)

    Here is my ATI 5xxx CCC recommended settings:
    ccc.png

    Hi De-Noise will cause blurring, keep it low!
    Wich type of de-interlacing do you use?
    automatic, VA, MA,ec.... (with enforce smooth video playback activated).
     

    Users who are viewing this thread

    Top Bottom