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. |
![]() |
#2161 | Link | |
Registered User
Join Date: Dec 2002
Posts: 5,570
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#2162 | Link |
Registered User
Join Date: Jan 2015
Posts: 27
|
Yeah you're right
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 |
![]() |
![]() |
![]() |
#2164 | Link | ||
Registered User
Join Date: Mar 2002
Posts: 2,012
|
Quote:
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 Code:
http://192.168.1.6:13579/sendkeys.vbs?%5e%2b%25i - 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. |
||
![]() |
![]() |
![]() |
#2169 | Link |
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. |
![]() |
![]() |
![]() |
#2170 | Link |
German doom9/Gleitz SuMo
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. |
![]() |
![]() |
![]() |
#2174 | Link |
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. |
![]() |
![]() |
![]() |
#2175 | Link |
Registered User
Join Date: Sep 2004
Posts: 146
|
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).
|
![]() |
![]() |
![]() |
#2180 | Link |
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> |
![]() |
![]() |
![]() |
Tags |
dxva, media player classic, mpc, mpc-hc |
Thread Tools | Search this Thread |
Display Modes | |
|
|