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 > Hardware & Software > Software players
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 15th August 2017, 23:00   #3201  |  Link
kasper93
MPC-HC Developer
 
Join Date: May 2010
Location: Poland
Posts: 586
Quote:
Originally Posted by rock View Post
statusbar still doesn't indicate D3D11 as H/W Decoding. at least I test it with LAVFilters as external filters
Will be fixed in today's nightly. And I made sure it won't fail again if new decoders are added.

Quote:
Originally Posted by Sylt View Post
There are no new nightly builds at the moment, maybe the build system was broken?
Yes it failed because of this issue with MSBuild https://github.com/Microsoft/msbuild/issues/2424 . And there were other issues needed to be fixed so the nightly were frozen. Will be build normally today.

Quote:
Originally Posted by ParkerLewis View Post
MPC-HC : actually I originally was on a older version (1.7.11 or 1.7.12). I updated to 1.7.13 before posting here, hoping it would fix the problem. It didn't.
GPU drivers : same. I had drivers dating from before GeForce Experience 3.0 (didn't want to have to create an account etc). This problem made me willing to try installing the latest GF Experience + drivers. No change, unfortunately.

If that helps in any way, I've noticed with Process Explorer that whenever I try to open an x264 file, I can see a second mpc-hc64.exe item suddenly appearing in the process list, which is marked "Suspended" and stays idle. Then after 5-10 seconds delay, it disappears from the process list, at the exact same time the video is finally playing, see http://i.imgur.com/qKDFwy3.png
Can you please try latest development version http://nightly.mpc-hc.org/ (should be available in an hour, or you can try previous one from old directory). There were reports (https://forum.doom9.org/showpost.php...postcount=3192) that it is fixed. Probably by using new non-xp toolchain. Still it is Windows bug, but if it persist on latest nightly we will try to resolve/workaround it.
kasper93 is offline   Reply With Quote
Old 15th August 2017, 23:04   #3202  |  Link
ParkerLewis
Registered User
 
Join Date: Oct 2006
Posts: 42
I will try that tomorrow (going to bed now), thanks a lot. But if it's related to MPC-HC startup time and Windows Insider, I doubt it will be fixed for me, as :

- I'm NOT on Windows Insider
- The issue I'm encountering is NOT a startup / app launch issue : MPC-HC itself launches immediately as always. It's a "on file open" issue, with x264 files.

Last edited by ParkerLewis; 15th August 2017 at 23:09.
ParkerLewis is offline   Reply With Quote
Old 15th August 2017, 23:06   #3203  |  Link
kasper93
MPC-HC Developer
 
Join Date: May 2010
Location: Poland
Posts: 586
Ok, so this change a lot. Can you also try disabling H/W decoding in LAV Video decoder settings? If nothing help we will diagnose what cause the slowdown.

EDIT: I can't read...

Last edited by kasper93; 15th August 2017 at 23:13.
kasper93 is offline   Reply With Quote
Old 15th August 2017, 23:12   #3204  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
He already tried without H/W.
Quote:
Originally Posted by ParkerLewis View Post
I'm using the internal LAV video decoder with hardware acceleration, I've tried disabling the accel, no change.
@ParkerLewis
Does it matter which renderer(s) you choose?
sneaker_ger is offline   Reply With Quote
Old 15th August 2017, 23:14   #3205  |  Link
ParkerLewis
Registered User
 
Join Date: Oct 2006
Posts: 42
Quote:
Originally Posted by kasper93 View Post
Ok, so this change a lot. Can you also try disabling H/W decoding in LAV Video decoder settings? If nothing help we will diagnose what cause the slowdown.
Yeah, I tried that... "Hardware decoder to use" => tried putting it to "None", but didn't change anything unfortunately.

Quote:
Originally Posted by sneaker_ger View Post
He already tried without H/W.


@ParkerLewis
Does it matter which renderer(s) you choose?
Duh, I hadn't even tried that, sorry. I had CoreAVC Video renderer selected as an external filter. Worked like a charm for like six years or so. Deactivating it now... problem solved.

I wonder what might have caused this problem though. Anyway, in 2017, CoreAVC might be useless now, isn't it ? Looks like it's dead anyway. Is there any reason to use an external AVC decoder anymore or can I just uninstall it and forget about it ?

Thanks !

Last edited by ParkerLewis; 15th August 2017 at 23:21.
ParkerLewis is offline   Reply With Quote
Old 15th August 2017, 23:28   #3206  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Uninstall and forget CoreAVC.

But:
Quote:
Originally Posted by ParkerLewis View Post
Same issue with a VP8 video I have.
?
sneaker_ger is offline   Reply With Quote
Old 16th August 2017, 00:17   #3207  |  Link
kasper93
MPC-HC Developer
 
Join Date: May 2010
Location: Poland
Posts: 586
Will be fixed in next one.
kasper93 is offline   Reply With Quote
Old 16th August 2017, 02:29   #3208  |  Link
Megalith
Registered User
 
Join Date: Mar 2011
Posts: 132
Were any changes made to the Internal Audio Renderer in the latest Nightly? In Exclusive Mode, the audio eventually gets a static-like distortion if I seek to different parts of a video. I never had this issue in past versions.
Megalith is offline   Reply With Quote
Old 16th August 2017, 03:42   #3209  |  Link
rock
Registered User
 
Join Date: Dec 2013
Posts: 117
hi,
I just realized again about status bar display, when play with Microsoft DTV-DVD Video Decoder, it shows H/W for a second before turn into software decoding display.

Code:
General
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/mp41/isom/avc1)
File size                                : 45.7 MiB
Duration                                 : 8 min 9 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 783 kb/s
Encoded date                             : UTC 2015-01-10 01:09:31
Tagged date                              : UTC 2015-01-10 01:09:31

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L5.1
Format settings, CABAC                   : Yes
Format settings, RefFrames               : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 8 min 9 s
Bit rate                                 : 545 kb/s
Width                                    : 2 304 pixels
Height                                   : 1 440 pixels
Display aspect ratio                     : 16:10
Frame rate mode                          : Constant
Frame rate                               : 15.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.011
Stream size                              : 31.8 MiB (70%)
Writing library                          : x264 core 142 r11 24e4fed
Encoded date                             : UTC 2015-01-10 01:09:31
Tagged date                              : UTC 2015-01-10 01:09:31
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Last edited by rock; 16th August 2017 at 03:51.
rock is offline   Reply With Quote
Old 16th August 2017, 08:24   #3210  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Quote:
Originally Posted by kasper93 View Post
Today's nightly will feature new rewritten drawing code. Improved SSE2 and brand new AVX2 version if available by CPU. Also few other related improvements to SSA/ASS subtitles.

There is still much to improve there. But I'd like to prioritize changes based on real life samples, so if you have some samples that MPC-HC struggle with please share it.
https://www.sendspace.com/file/2zdl77
rendering is slow
sneaker_ger is offline   Reply With Quote
Old 16th August 2017, 09:33   #3211  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,787
Quote:
Originally Posted by rock View Post
hi,
I just realized again about status bar display, when play with Microsoft DTV-DVD Video Decoder, it shows H/W for a second before turn into software decoding display.

Code:
General
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/mp41/isom/avc1)
File size                                : 45.7 MiB
Duration                                 : 8 min 9 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 783 kb/s
Encoded date                             : UTC 2015-01-10 01:09:31
Tagged date                              : UTC 2015-01-10 01:09:31

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L5.1
Format settings, CABAC                   : Yes
Format settings, RefFrames               : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 8 min 9 s
Bit rate                                 : 545 kb/s
Width                                    : 2 304 pixels
Height                                   : 1 440 pixels
Display aspect ratio                     : 16:10
Frame rate mode                          : Constant
Frame rate                               : 15.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.011
Stream size                              : 31.8 MiB (70%)
Writing library                          : x264 core 142 r11 24e4fed
Encoded date                             : UTC 2015-01-10 01:09:31
Tagged date                              : UTC 2015-01-10 01:09:31
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Upload sample.
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 16th August 2017, 09:50   #3212  |  Link
rock
Registered User
 
Join Date: Dec 2013
Posts: 117
Quote:
Originally Posted by Aleksoid1978 View Post
Upload sample.
https://drive.google.com/file/d/0B3v...ew?usp=sharing
rock is offline   Reply With Quote
Old 16th August 2017, 20:22   #3213  |  Link
kasper93
MPC-HC Developer
 
Join Date: May 2010
Location: Poland
Posts: 586
Quote:
Originally Posted by sneaker_ger View Post
Nice. Thanks for sample. I will work at it next weekend. Should be able to squeeze some performance in this area.

DXVA doesn't play this sample. Probably Microsoft's decoder initialize DXVA and fallback when it fails. That's why we detect it as being active for a while. But I haven't look in detail what's going on in the code. But I doubt we can change anything here.
kasper93 is offline   Reply With Quote
Old 17th August 2017, 05:54   #3214  |  Link
rock
Registered User
 
Join Date: Dec 2013
Posts: 117
hi, I just found something more strange. When play h264 10 bit (sample from sneaker_ger) with MS decoder, which is actually not playable, but statusbar shows H/W.
rock is offline   Reply With Quote
Old 17th August 2017, 07:26   #3215  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,784
So, the decoder tries to work in hardware accelerated mode, fails (which was expected), but does not fall back to software decoding (which would be expected)?
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 17th August 2017, 08:59   #3216  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,787
MS decoder can't detect that H.264 stream is compatible with DXVA and trying decode ))
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 18th August 2017, 12:32   #3217  |  Link
nijiko
Hi-Fi Fans
 
Join Date: Dec 2008
Posts: 222
Are 60,65,89 and later no longer support for XP?
nijiko is offline   Reply With Quote
Old 18th August 2017, 13:17   #3218  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Correct. XP support has been dropped for good.
sneaker_ger is offline   Reply With Quote
Old 19th August 2017, 10:40   #3219  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
@devs,

not sure if you're interested in this, but the latest LAV + madVR builds now support native D3D11 DXVA decoding, by using a new custom interface. IMHO going forward, this is going to be the best solution for hardware decoding. It performs slightly faster than DXVA2, has identical image quality to software decoding (unlike DXVA2), and due to the simplified custom interface might hopefully also be more stable/reliable than native DXVA2 decoding. Current disadvantages of D3D11 DXVA decoding are that it won't ever work on anything older than Windows 8.1, and that the current madVR version doesn't support DXVA deinterlacing + scaling yet (will be added in a future version), when using native D3D11 DXVA decoding.

If you're interested in adding support for this to your renderers, you can see the new custom interface here:

https://github.com/Nevcairiel/LAVFil...onfiguration.h

To be honest, I'm not sure how difficult it would be to add support for this to EVR, and whether you find it worth the effort. Just wanted to let you know.
madshi is offline   Reply With Quote
Old 19th August 2017, 13:06   #3220  |  Link
varekai
Suspended for forum rule violations
 
Join Date: Jul 2006
Posts: 528
@madshi
I'm still using Win7. Will this new version 0.92.1 improve anything vs previous release 0.91.11?
I don't use 3D. I'm very pleased with my current setup and thinking, "If it ain't broke, don't fix it".
Thanks and best regards.
varekai is offline   Reply With Quote
Reply

Tags
dxva, media player classic, mpc, mpc-hc


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 02:49.


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