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

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd August 2015, 20:06   #2161  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,570
Quote:
Originally Posted by amayra View Post
what is the difference between MPC-HC's ISR and XySubFilter ?
i mean in Quality
Both can render at display resolution so there should be no visible difference. Performance can differ (sometimes XySubFilter is faster, sometimes ISR) and some bugs are different. Differences are mainly relevant for ASS subtitles.

Quote:
Originally Posted by Trevonn View Post
When was DXVA2 Native playback enabled for HEVC?
Wasn't it "always" available? Is your sample 8 bit? Current internal LAV does not allow HEVC 10 bit using DXVA2 native but external nightly already has it activated. So it should be available in MPC-HC in the near future if the renderer supports it.
sneaker_ger is offline   Reply With Quote
Old 22nd August 2015, 20:47   #2162  |  Link
Trevonn
Registered User
 
Join Date: Jan 2015
Posts: 27
Yeah you're right

Quote:
Originally Posted by sneaker_ger View Post
Wasn't it "always" available? Is your sample 8 bit? Current internal LAV does not allow HEVC 10 bit using DXVA2 native but external nightly already has it activated. So it should be available in MPC-HC in the near future if the renderer supports it.
Yeah my source was 8-bit I just checked with my anime 10-bit source I still need dxva-cb to play that back using hardware acceleration. It's nice to know I won't need to do that soon though thanks.

Last edited by Trevonn; 22nd August 2015 at 20:48. Reason: missed out word
Trevonn is offline   Reply With Quote
Old 22nd August 2015, 21:52   #2163  |  Link
amayra
Quality Checker
 
amayra's Avatar
 
Join Date: Aug 2013
Posts: 271
Quote:
Originally Posted by Trevonn View Post
Yeah my source was 8-bit I just checked with my anime 10-bit source I still need dxva-cb to play that back using hardware acceleration. It's nice to know I won't need to do that soon though thanks.
dxva is bad for anime and hi10p
__________________
I love Doom9
amayra is offline   Reply With Quote
Old 23rd August 2015, 19:07   #2164  |  Link
chros
Registered User
 
chros's Avatar
 
Join Date: Mar 2002
Posts: 2,012
Quote:
Originally Posted by chros View Post
Quote:
Originally Posted by LigH View Post
I believe it refers to the "Common Gateway Interface", a way to communicate with applications on the server. Some script languages like Perl or PHP may be used as CGI service (among other ways to use them). I believe that configuring CGI handlers means to describe in which server path the interpreter for which script format, according to its filename extension, is located.
Thanks, but I'm familiar with the concept (I'm a stupid php programmer ), I thought maybe somebody used it already.
I'll try it out during the weekend.
So, I managed to do it (talk to MadVR), it wasn't hard at all, but there's a caveat (see at the end).
I'm using Windows Host Script (which comes with newer Windows, >Win7, I think), which should be run with 'cscript.exe':
- cgi script receives 1 url encoded argument (the keystroke), url decode it, then send it to the foreground application.

MPC-HC web interface setup:
- x Serve pages from: ./webroot
(we don't have to change Default page value (default is: 'index.html;index.php'))
- CGI handlers: '.vbs=c:\Windows\System32\cscript.exe'

Save this into file called 'sendkeys.vbs' in 'webroot' subdirectory of directory of MPC-HC (you don't have to deploy anything else to here, all the other pages will be served as well if you need them). The file extension does matter!
Code:
'!c:/windows/system32/cscript //nologo
' Toggle source level in MadVR (CTRL+SHIFT+ALT+i = ^+%i = %5e%2b%25i)
' get shell object
Set WshShell = WScript.CreateObject("WScript.Shell")
' get Process array that includes the query string
Set wshUserEnv = WshShell.Environment("Process")
' urldecode querystring
param = unescape(wshUserEnv("QUERY_STRING"))
' send keystroke
WshShell.SendKeys param
' delete used objects
Set wshUserEnv = Nothing
Set WshShell   = Nothing
' quit script with exit code 0
Wscript.Quit 0
You can try it out from a different computer or from a smartphone by calling this URL (you should modify the IP/port):
Code:
http://192.168.1.6:13579/sendkeys.vbs?%5e%2b%25i
Issues:
- since it can only send keystrokes to the foreground application, and I don't include a check whether it is MPC-HC (i tried, and it worked, but it was so slow, that the whole thing became unusable), so you can get some funky stuff

Good thing:
- it won't kick out MadVR from Fullscreen Exclusive mode

Can I have a feature request to implement this sendkeys feature into MPC-HC's web interface itself? (if it's not hard to do.) In that way we can circumvent the foreground limitation.

PS: So I finished modifying Remoti.co Lite Android app (without having the source code, just some silly skinning remained), if somebody interested in it, I can upload it somewhere.
- added 2 buttons for subtitle delay
- added 1 button to change source level with MadVR
- fixed and refactored the after playback entries
- modded the default skip interval from 5 sec to 10 sec
- switched the size and location of the FF/RW with PrevTrack/NextTrack buttons in portrait mode, since we use them more frequently
- added new skin(s)
__________________
Ryzen 5 2600,Asus Prime b450-Plus,16GB,MSI GTX 1060 Gaming X 6GB(v398.18),Win10 LTSC 1809,MPC-BEx64+LAV+MadVR,Yamaha RX-A870,LG OLED65B8(2160p@23/24/25/29/30/50/59/60Hz) | madvr config

Last edited by chros; 23rd August 2015 at 19:24.
chros is offline   Reply With Quote
Old 23rd August 2015, 19:23   #2165  |  Link
Trevonn
Registered User
 
Join Date: Jan 2015
Posts: 27
Quote:
Originally Posted by amayra View Post
dxva is bad for anime and hi10p
I can't really tell the difference tbh. I've tried madvr and KCP and the difference was always very minimal.
Trevonn is offline   Reply With Quote
Old 23rd August 2015, 22:54   #2166  |  Link
Luca T
Registered User
 
Join Date: Mar 2014
Posts: 2
Hi guys,


to use with MadVr is it better to Install MPC_HC 32bit or 64bit?

thanks
Luca T is offline   Reply With Quote
Old 23rd August 2015, 22:56   #2167  |  Link
kasper93
MPC-HC Developer
 
Join Date: May 2010
Location: Poland
Posts: 556
As far madVR is concerned there shouldn't be any differences. But 64bit MPC-HC is preferable, because it has better performance for HEVC and other demanding codecs.
kasper93 is offline   Reply With Quote
Old 30th August 2015, 02:11   #2168  |  Link
amayra
Quality Checker
 
amayra's Avatar
 
Join Date: Aug 2013
Posts: 271
Quote:
Originally Posted by Luca T View Post
Hi guys,


to use with MadVr is it better to Install MPC_HC 32bit or 64bit?

thanks
x64 build of LAV would appear to be quite a bit faster for h264/h265 decoding
__________________
I love Doom9
amayra is offline   Reply With Quote
Old 30th August 2015, 18:14   #2169  |  Link
kuchikirukia
Registered User
 
Join Date: Oct 2014
Posts: 464
Is there a way to implement an option to take screenshots in display aspect ratio? I think the screenshot function is used far more often as "I want to have this picture," than, "I want to compare unresized samples," and being able to have a properly sized screenshot of anamorphic content would be great. I don't have a single DVD that's meant to be displayed at 720x480, yet all my screenshots are like that.

Last edited by kuchikirukia; 30th August 2015 at 18:16.
kuchikirukia is offline   Reply With Quote
Old 30th August 2015, 18:40   #2170  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,323
The screenshot is usually taken from the decoder, which did not yet resample the result to the target aspect ratio. This is technically rather simple.

Taking the image later is more complicated. Some renderers don't allow reading back the image (e.g. "Hardware Overlay" is write-only), but the scaling may be done by graphic API functions (if they support displaying anamorphic textures with a target aspect ratio), so even if it is possible, it may be slow. It may be necessary to scale it independently of the video output in the player, which requires additional calculation time.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 30th August 2015, 19:32   #2171  |  Link
GCRaistlin
Registered User
 
GCRaistlin's Avatar
 
Join Date: Jun 2006
Posts: 321
Quote:
Originally Posted by LigH View Post
It may be necessary to scale it independently of the video output in the player, which requires additional calculation time.
I believe everyone who's used to take screenshots would agree to pay some calculation time for getting screenshots with the proper AR.
__________________
Magically yours
Raistlin
GCRaistlin is offline   Reply With Quote
Old 30th August 2015, 19:34   #2172  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,570
Quote:
Originally Posted by LigH View Post
The screenshot is usually taken from the decoder
[...]
Some renderers don't allow reading back the image
This is a contradiction. (I think renderer controls it.)
sneaker_ger is offline   Reply With Quote
Old 30th August 2015, 20:29   #2173  |  Link
vivan
/人 ◕ ‿‿ ◕ 人\
 
Join Date: May 2011
Location: Russia
Posts: 649
If image is downscaled when you're taking screenshot using madVR - it will save it downscaled. It might bug but it proves that renderer have full control over processing screenshot and its size.
vivan is offline   Reply With Quote
Old 30th August 2015, 20:50   #2174  |  Link
kuchikirukia
Registered User
 
Join Date: Oct 2014
Posts: 464
Yeah, but madVR != all renderers.



(Also, it doesn't seem to do that anymore.)

If it'll work with all renderers that would normally allow you to take a screenshot, great!

Last edited by kuchikirukia; 30th August 2015 at 20:58.
kuchikirukia is offline   Reply With Quote
Old 30th August 2015, 21:30   #2175  |  Link
sheppaul
Registered User
 
Join Date: Sep 2004
Posts: 146
Quote:
Originally Posted by sneaker_ger View Post
This is a contradiction. (I think renderer controls it.)
To take screenshot can be done from a video decoder, video transform filter and any renderer that supports capture. Generally, it's only possible to capture what you see in video renderer. AR correction (processed) image can be acquired via the capture from a video transform filter (available in potplayer).
sheppaul is offline   Reply With Quote
Old 6th September 2015, 09:31   #2176  |  Link
GCRaistlin
Registered User
 
GCRaistlin's Avatar
 
Join Date: Jun 2006
Posts: 321
Is it possible to change the balance between L/R audio channels in MPC-HC?
__________________
Magically yours
Raistlin
GCRaistlin is offline   Reply With Quote
Old 6th September 2015, 09:48   #2177  |  Link
vivan
/人 ◕ ‿‿ ◕ 人\
 
Join Date: May 2011
Location: Russia
Posts: 649
It's in the Playback section of the options.
vivan is offline   Reply With Quote
Old 9th September 2015, 22:59   #2178  |  Link
Megalith
Registered User
 
Join Date: Mar 2011
Posts: 116


Can someone explain what "Limiter" is under "Processors"?
Megalith is offline   Reply With Quote
Old 10th September 2015, 01:04   #2179  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,401
Probably the function that detects and prevents clipping.
Snowknight26 is offline   Reply With Quote
Old 11th September 2015, 08:31   #2180  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 774
Is it possible to read write RTF (Rich Text Format) by the player MPC-HC in the description of the Matroska container? How can I use the "Text Formatting Elements and Color" in the description?
Code:
<Simple>
  <Name>COMMENT</Name>
  <String>{\rtf1\ansi\ansicpg1250\deff0\nouicompat\deflang1045\deflangfe1045{\fonttbl{\f0\fswiss\fprq2\fcharset238 Calibri;}{\f1\fnil\fcharset0 Calibri;}}
...
  </String>
  <TagLanguage>und</TagLanguage>
  <DefaultLanguage>1</DefaultLanguage>
</Simple>
Jamaika is offline   Reply With Quote
Reply

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

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 20:59.


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