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 > Capturing and Editing Video > New and alternative a/v containers
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 8th March 2014, 21:00   #17281  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
@nev

I found out a strange behavior of DXVA today.

Using this sample with MPC-HC latest nightly (LAV internal 0.61.0) in DXVA native mode with various HW decoders from UVD2.2 up to Haswell QS3, it dropped frames after seeking - back and forth - even with Haswell!

Changing mode to DXVA-CB, even with slower decoders like VP5 or Sandy QS1, it didn't drop a lot of frames or even zero!

How is this possible ?
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 8th March 2014, 21:04   #17282  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
Seeking works in mysterious ways.

(How would I know why your system does what it does? Dropped frames means the decoder did its job, but the renderer didn't like it for reasons unknown.)
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 8th March 2014, 21:11   #17283  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
I meant if you could test it yourself and find out same results, in order to exclude my system's strange behavior.

The renderer was the default EVR-CP in all times.

I always have dropped frames in slow decoder situations, when the decoder is not fast enough for the content.

Which means DXVAn slower than DXVA-CB for the same decoder, which is not possible.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all

Last edited by NikosD; 8th March 2014 at 21:13.
NikosD is offline   Reply With Quote
Old 9th March 2014, 08:55   #17284  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
If you still have a Sandy CPU, I tested iGPU using DXVAn under Win 8.1 using latest drivers 3347 and found out a few clips with small artifacts happening after the first second of the clips.

Two samples with artifacts:

H.264 progressive

H.264 interlaced
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 9th March 2014, 14:11   #17285  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Quote:
Originally Posted by DragonQ View Post
Depends on your hardware. I highly doubt a 5 year old nVidia/AMD/Intel card has the same deinterlacing algorithm as a current model.
I tested my Radeon 3650 (UVD+) and it definitely looks better than YADIF in VC-1 interlaced content and very similar to Radeon 5750 (UVD2.2).

I don't know if Radeon 7000 series or Kaveri have changed their algorithms regarding DI or maybe newer drivers.

I have to admit that I had a not good experience using latest nightly of MPC-HC continuously crashing all my DTS audio samples!, so I couldn't test all of my interlaced clips.

I can't figure out why.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 10th March 2014, 03:44   #17286  |  Link
mhourousha
Registered User
 
Join Date: Mar 2013
Posts: 31
Quote:
Originally Posted by NikosD View Post
QS decoder nowadays has only 2 advantages.
If you have a Sandy processor, it's the only way to HW accelerate VC-1/WMV3 clips, because Intel hasn't implemented a proprietary DXVA HW decoder for those codecs in Sandy, yet.
I have reported this issue to Intel Support forums and I'm looking forward for the next driver release hoping to include it.
For Ivy/ Haswell the issue has been resolved.
The next reason that someone could use QS decoder is in case he has a dGPU as primary - for example for games - but he wants to decode/ playback movies with iGPU (Intel).
Then QS decoder is a nice solution to have both - Gaming in dGPU and playback decoding in iGPU.
For all the other cases - like for example my Haswell iGPU only configuration - go for a DXVA (native) configuration of your favorite player/ decoder.
My HD4000 has decode error in WMV3 too(DXVA2n).It due to some issues in the VC1_VLD2010 maybe,the QS use VC1_VLD_2_ClearVideo instead and everything is OK.
mhourousha is offline   Reply With Quote
Old 10th March 2014, 06:40   #17287  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Why don't you post a sample of the decoding error ?
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 10th March 2014, 15:37   #17288  |  Link
mhourousha
Registered User
 
Join Date: Mar 2013
Posts: 31
Quote:
Originally Posted by NikosD View Post
Why don't you post a sample of the decoding error ?
error happened in all wmv3 samples I tested,for example,the'MP10 Digital Life 1080/24p-10Mbps'clip you provided.All wmv3 clips show a single-colored image only.
for VC-1,some color error or fliker occurred in the first few seconds,then everything is OK.
Driver version is 15.33.14.3412
mhourousha is offline   Reply With Quote
Old 10th March 2014, 17:36   #17289  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
I have tested with signature system more than 100 samples of VC-1 (progressive & interlaced) and WMV3 clips (in .wmv and .mkv formats) and I can say for sure that the decoding is perfect.

To be honest I thought that Ivy has similar QuickSync ASIC with Haswell, I can't think of a good reason of bad decoding except faulty driver settings/ system of your side.

Unless I'm wrong and Ivy has problems with VC1_VLD2010 (I don't think so), but I don't have an Ivy to test it myself.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 10th March 2014, 18:02   #17290  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
If the driver exposes support for VC1_VLD2010, then it should work - or if it doesn't, complain to Intel to disable it.
I'm assuming you are using the latest version of LAV, right? A lot of stuff changed recently to fix decoding on Intel in this mode.

My laptop has a HD4000, I can probably try myself at some point.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 11th March 2014, 00:47   #17291  |  Link
jkauff
Registered User
 
Join Date: Oct 2012
Location: Akron, OH
Posts: 491
Speaking of the latest version of LAV, do the MPC-HC nightlies keep up with your changes pretty well, or should I download the latest and set it up as external?
jkauff is offline   Reply With Quote
Old 11th March 2014, 01:18   #17292  |  Link
mhourousha
Registered User
 
Join Date: Mar 2013
Posts: 31
Quote:
Originally Posted by nevcairiel View Post
If the driver exposes support for VC1_VLD2010, then it should work - or if it doesn't, complain to Intel to disable it.
I'm assuming you are using the latest version of LAV, right? A lot of stuff changed recently to fix decoding on Intel in this mode.
My laptop has a HD4000, I can probably try myself at some point.
yes, I use the latest version of LAV for testing.OS is win7
I wonder is there any chance for creating dxva device with VC1_VLD_2_ClearVideo instead of VC1_VLD2010?the DXVAChecker show that the QS use the former and everything is OK.
mhourousha is offline   Reply With Quote
Old 11th March 2014, 06:32   #17293  |  Link
turbojet
Registered User
 
Join Date: May 2008
Posts: 1,840
Is it possible to have 2 separate 32 bit installs of lav video with different settings?
__________________
PC: FX-8320 GTS250 HTPC: G1610 GTX650
PotPlayer/MPC-BE LAVFilters MadVR-Bicubic75AR/Lanczos4AR/Lanczos4AR LumaSharpen -Strength0.9-Pattern3-Clamp0.1-OffsetBias2.0
turbojet is offline   Reply With Quote
Old 11th March 2014, 07:40   #17294  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
Quote:
Originally Posted by mhourousha View Post
I wonder is there any chance for creating dxva device with VC1_VLD_2_ClearVideo instead of VC1_VLD2010?the DXVAChecker show that the QS use the former and everything is OK.
Its impossible, it works completely differently, and its not documented how.

Quote:
Originally Posted by turbojet View Post
Is it possible to have 2 separate 32 bit installs of lav video with different settings?
There is no support for such a thing in LAV, you can of course try to hack it together manually by re-importing settings into the registry automatically or something like that.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 11th March 2014 at 08:12.
nevcairiel is online now   Reply With Quote
Old 11th March 2014, 08:20   #17295  |  Link
turbojet
Registered User
 
Join Date: May 2008
Posts: 1,840
Quote:
Originally Posted by nevcairiel View Post
Originally Posted by turbojet View Post
Is it possible to have 2 separate 32 bit installs of lav video with different settings?
There is no support for such a thing in LAV, you can of course try to hack it together manually by re-importing settings into the registry automatically or something like that.
I've tried the registry hacking but that only works if there's no decoder process. The goal is to gpu decode for encoding and cpu decode for playback in potplayer, lav video is a must for playback because it's the only decoder I know that supports repeat field first. I know I could achieve this by switching to mpc-hc but would rather not. Is there a hidden way to use a non-registered lav for playback in a player?
__________________
PC: FX-8320 GTS250 HTPC: G1610 GTX650
PotPlayer/MPC-BE LAVFilters MadVR-Bicubic75AR/Lanczos4AR/Lanczos4AR LumaSharpen -Strength0.9-Pattern3-Clamp0.1-OffsetBias2.0
turbojet is offline   Reply With Quote
Old 11th March 2014, 08:26   #17296  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
Even if its not registered, it reads its settings from the registry.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 11th March 2014, 10:37   #17297  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Quote:
Originally Posted by mhourousha View Post
yes, I use the latest version of LAV for testing.OS is win7
I wonder is there any chance for creating dxva device with VC1_VLD_2_ClearVideo instead of VC1_VLD2010?the DXVAChecker show that the QS use the former and everything is OK.
Did you try Microsoft's decoders or PotPlayer ?
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 11th March 2014, 10:57   #17298  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
I tested LAV 0.61.1 on my Laptop with a HD4000 using the 3412 driver, and everything works perfectly.
I can only conclude that you're either using an old version of LAV, or not LAV at all, or who knows what else.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 11th March 2014, 17:05   #17299  |  Link
mhourousha
Registered User
 
Join Date: Mar 2013
Posts: 31
Quote:
Originally Posted by nevcairiel View Post
I tested LAV 0.61.1 on my Laptop with a HD4000 using the 3412 driver, and everything works perfectly.
I can only conclude that you're either using an old version of LAV, or not LAV at all, or who knows what else.



Last edited by mhourousha; 11th March 2014 at 17:09.
mhourousha is offline   Reply With Quote
Old 12th March 2014, 21:43   #17300  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
@nev

Why do you need SSE2 as mandatory for LAV filters ?
Is this so important, or is it so much faster ?

AMD Athlons, even the most powerful ones like AthlonXP 3200+ don't have SSE2, only SSE.
AMD decided to put SSE2 in Athlon64 CPUs.

Couldn't you enable a different optimized path for SSE2, without dropping support for SSE or older ?
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Reply

Tags
decoders, directshow, filters, splitter


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 13:03.


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