Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > New and alternative video codecs

Reply
 
Thread Tools Search this Thread Display Modes
Old 3rd January 2010, 12:50   #10021  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
Here is the first FFDShow beta build that brings DXVA support

There is a separate decoder for DXVA that has by default a higher priority than FFDShow but DXVA is disabled (you have to enable it manually in the DXVA filter configuration)

However I have troubles to make it load automatically through DirectShow merit.
I managed to make it work by adding it manually as an external filter in MPCHC.
If someone has an idea...

There are a few things to fix such as removing the raw mediatypes
albain is offline   Reply With Quote
Old 3rd January 2010, 13:08   #10022  |  Link
dann23
Registered User
 
Join Date: Apr 2009
Posts: 89
installed your test version and i see with gspot that only MPEG2 is using DXVA. the rest are using the normal ffdshow. I don't know if that's a problem but I managed to make it work with wmp11. It works fine. CPU usage 3-5% and GPU usage 0% (maybe a bug in everest) The only problem is that seeking in WMP11 is not working. When I try to seek wmp11 freezes.

Last edited by dann23; 3rd January 2010 at 13:16.
dann23 is offline   Reply With Quote
Old 3rd January 2010, 13:17   #10023  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
Yes this is the issue I am trying to resolve : FFDShow DXVA decoder is not loaded at all even if it has a higher merit.

I suspect the input mediatypes list is not correct.

As I said, it works if you use MPCHC and manually add FFDShow DXVA decoder in the external filters
albain is offline   Reply With Quote
Old 3rd January 2010, 13:57   #10024  |  Link
Sebastiii
Registered User
 
Join Date: Oct 2009
Location: France
Posts: 615
Great i will test it quicly
Big Thx.
__________________
HTPC : i7 920 6Go Win10(x64) / Nvidia 1050Ti / P6T Deluxe / Harman-Kardon AVR-355.
Sebastiii is offline   Reply With Quote
Old 3rd January 2010, 14:05   #10025  |  Link
DigitalDeviant
Registered User
 
DigitalDeviant's Avatar
 
Join Date: Sep 2003
Posts: 267
No problems here other than having to add it to external filters in MPCHC.
__________________
"Do everything by hand, even when using the computer." - Hayao Miyazaki
DigitalDeviant is offline   Reply With Quote
Old 3rd January 2010, 14:05   #10026  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
mpeg2???
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC
tetsuo55 is offline   Reply With Quote
Old 3rd January 2010, 14:29   #10027  |  Link
Sebastiii
Registered User
 
Join Date: Oct 2009
Location: France
Posts: 615
This is my result

I have put ffdshow DXVA in external filter and checked it.

Case N°1 :
I start sample (DTS-MA.mt2s) :
ffdshow DXVA show up with (mouse on it) AVC1 libavcodec H264 -> output NV12 > the color is not good (blue color) and i have dropout with it and pop, i can check it with DPC tool.

Case N°2 :
I start sample MKV :
ffdshow DXVA show up with (mouse on it) AVC1 (DXVA 2 H264 -> output NV12 > the color is good and no dropout, i can check it with DPC tool.

I have try with haali splitter on m2ts sample and it's same of case n°1.

Thx,
Seb.

Edit : For sample in m2ts, i have try to set NV12 in ffdshow Video to see if i have the same color of ffdshow DXVA and the color switch to NV21,VU (it's a setting that is not in Output section) in NV21,VU the color is correct.
__________________
HTPC : i7 920 6Go Win10(x64) / Nvidia 1050Ti / P6T Deluxe / Harman-Kardon AVR-355.

Last edited by Sebastiii; 3rd January 2010 at 14:35.
Sebastiii is offline   Reply With Quote
Old 3rd January 2010, 14:36   #10028  |  Link
Sebastiii
Registered User
 
Join Date: Oct 2009
Location: France
Posts: 615
Quote:
Originally Posted by tetsuo55 View Post
mpeg2???
Hi,

For me and like you say, in MPEG2 DXVA not enable.
__________________
HTPC : i7 920 6Go Win10(x64) / Nvidia 1050Ti / P6T Deluxe / Harman-Kardon AVR-355.
Sebastiii is offline   Reply With Quote
Old 3rd January 2010, 14:57   #10029  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
Quote:
Originally Posted by Sebastiii View Post
This is my result

I have put ffdshow DXVA in external filter and checked it.

Case N°1 :
I start sample (DTS-MA.mt2s) :
ffdshow DXVA show up with (mouse on it) AVC1 libavcodec H264 -> output NV12 > the color is not good (blue color) and i have dropout with it and pop, i can check it with DPC tool.

Case N°2 :
I start sample MKV :
ffdshow DXVA show up with (mouse on it) AVC1 (DXVA 2 H264 -> output NV12 > the color is good and no dropout, i can check it with DPC tool.

I have try with haali splitter on m2ts sample and it's same of case n°1.

Thx,
Seb.

Edit : For sample in m2ts, i have try to set NV12 in ffdshow Video to see if i have the same color of ffdshow DXVA and the color switch to NV21,VU (it's a setting that is not in Output section) in NV21,VU the color is correct.
I have fixed that color issue : it is due to the fact that if DXVA is not supported it will switch to software decoding which is not what we want.
We want that FFDShow DXVA unloads and then FFDShow decoder takes the decoding in charge.

However I don't understand why it wouldn't work with m2ts

EDIT : I have a noob question about DXVA formats. H264 => OK, but what about VC1 ? I guess this corresponds to a derivate of H264 format or can it be found in WMV9-VC1 codec too ?

Last edited by albain; 3rd January 2010 at 15:01.
albain is offline   Reply With Quote
Old 3rd January 2010, 15:04   #10030  |  Link
Sebastiii
Registered User
 
Join Date: Oct 2009
Location: France
Posts: 615
I have made log in case of :

DXVA2 MKV
and
DXVA M2TS

I'll make test in VC-1
__________________
HTPC : i7 920 6Go Win10(x64) / Nvidia 1050Ti / P6T Deluxe / Harman-Kardon AVR-355.

Last edited by Sebastiii; 3rd January 2010 at 15:08.
Sebastiii is offline   Reply With Quote
Old 3rd January 2010, 15:07   #10031  |  Link
Sebastiii
Registered User
 
Join Date: Oct 2009
Location: France
Posts: 615
The sample i have HD-DVD.

Only ffdshow Video show up with : WVC1 Libavcodec VC1.

I don't know if help.
Seb.
__________________
HTPC : i7 920 6Go Win10(x64) / Nvidia 1050Ti / P6T Deluxe / Harman-Kardon AVR-355.
Sebastiii is offline   Reply With Quote
Old 3rd January 2010, 15:20   #10032  |  Link
dann23
Registered User
 
Join Date: Apr 2009
Posts: 89
I have found something interesting. Movies encoded with high profile above L3.1 are not working with dxva and wmp11. they are working fine with MPCHC in dxva mode.I'm using windows xp and ati 3850 with the latest driver if that helps.
dann23 is offline   Reply With Quote
Old 3rd January 2010, 15:41   #10033  |  Link
DigitalDeviant
Registered User
 
DigitalDeviant's Avatar
 
Join Date: Sep 2003
Posts: 267
Quote:
Originally Posted by Sebastiii View Post
Hi,

For me and like you say, in MPEG2 DXVA not enable.
The DXVA decoders are basically the same as the ones in MPCHC and are based off of ffmpeg and there isn't one for MPEG2, afik. MPCHC uses libmpeg2 not ffmpeg for this.
__________________
"Do everything by hand, even when using the computer." - Hayao Miyazaki
DigitalDeviant is offline   Reply With Quote
Old 3rd January 2010, 16:18   #10034  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
About the samples that won't pass : I know why

There is a compatibility mode setting inside MPC (and also FFDShow). It is now set to max
I will add this setting to the UI

Also with the setting to max I get green artifacts on some videos so it is not intended to all.
Maybe MPC-HC team will tell us more about this

Quote:
Originally Posted by crlorentzen View Post
DTS piano http://www.digital-digest.com/dvd/do...ilers.html#vob (1st column 3rd row)

ffdshow version - Receiver states (between each version I delete the entire GNU key under HKLM\SOFTWARE, install the new version, check Audio settings to ensure it has DTS Passthrough enabled.)

3154 - DTS (DTS SURROUND)
3164 - DD (Dolby Digital)
3175 - DD (Dolby Digital)

Return to 3154 - DTS

Windows XP (32-bit) SP3
ADI1985 on-board audio

Also tried full uninstall of ffdshow and re-install with 3175 after cleaning out all registry etc about ffdshow and got the same failure.
This is a cosmetic bug that I just fixed but I do have sound. Is it your case ?

Last edited by albain; 3rd January 2010 at 16:23.
albain is offline   Reply With Quote
Old 3rd January 2010, 17:35   #10035  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,643
The compatibility tweaks allows bypassing the max reference frames check and level check (and maybe other checks as well). This means that DXVA will get used for incompatible H.264 streams as well, causing decoding errors/artifacts.


A question regarding the audio dropout problems you guys are discussing: does this also occur with older versions of ffdshow in case of AC3/DTS?
__________________
MPC-HC 2.1.7.2

Last edited by clsid; 3rd January 2010 at 17:44.
clsid is offline   Reply With Quote
Old 3rd January 2010, 18:53   #10036  |  Link
Sebastiii
Registered User
 
Join Date: Oct 2009
Location: France
Posts: 615
@clsid

Yes older version too and not only with ffdshow but also with ac3filter.

Seb
__________________
HTPC : i7 920 6Go Win10(x64) / Nvidia 1050Ti / P6T Deluxe / Harman-Kardon AVR-355.
Sebastiii is offline   Reply With Quote
Old 3rd January 2010, 19:31   #10037  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
Yes, this is not caused by FFDShow : I am 100% sure as I can reproduce the problem with VLC and MPC internal filters.

The problem disappear if I use the internal SPDIF output of my motherboard instead.
albain is offline   Reply With Quote
Old 3rd January 2010, 21:37   #10038  |  Link
Emilot
Registered User
 
Join Date: Oct 2001
Posts: 35
I am not sure but that was an older bug, with spdif out setting...

Which sound card do you have primary???
Emilot is offline   Reply With Quote
Old 3rd January 2010, 22:21   #10039  |  Link
crlorentzen
Audio Video Enthusiast
 
Join Date: May 2004
Location: East Coast, USA.
Posts: 34
Quote:
Originally Posted by albain View Post
About the samples that won't pass : I know why

There is a compatibility mode setting inside MPC (and also FFDShow). It is now set to max
I will add this setting to the UI

Also with the setting to max I get green artifacts on some videos so it is not intended to all.
Maybe MPC-HC team will tell us more about this



This is a cosmetic bug that I just fixed but I do have sound. Is it your case ?
No sound. And same issue seen in the latest build, 3178. I don't think it is cosmetic that ffdshow is somehow mangling the bitstream so that it looks like an AC3 stream. And I am not surprised that a receiver would be unable to decode DTS when it is being told to connect the Dolby Digital decoder.

More details in case useful. I have a Soundmax AD1988b on-board sound card. Only one card. I do not see an issue using MPC codecs, either internal or standalone.

Last edited by crlorentzen; 3rd January 2010 at 22:49.
crlorentzen is offline   Reply With Quote
Old 3rd January 2010, 23:13   #10040  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
As I said, this is a cosmetic bug when FFDShow displays dolby digital instead of DTS.

It does encapsulate the bitstream under the DTS format, at least on my config.

Please post debugview logs as I can't reproduce it, unless another developer can
albain is offline   Reply With Quote
Reply

Tags
ffdshow, ffdshow tryouts, ffdshow-mt, ffplay, icl

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:07.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.