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 23rd September 2020, 01:40   #7701  |  Link
Ilovetv9
Registered User
 
Join Date: Aug 2019
Posts: 14
Quote:
Originally Posted by Aleksoid1978 View Post
If some trouble using madvr+lav filters - why you write here, it's not a MPC-BE trouble
Ok. I see the madvr thread now, I will post my question there.
Ilovetv9 is offline   Reply With Quote
Old 25th September 2020, 01:20   #7702  |  Link
Zulithe
Registered User
 
Join Date: Jan 2006
Posts: 42
r5540, mpc-be is not obeying the "windows size at startup" and "remember last window position" settings. I'm on a multi-monitor setup using x64 Win 10 v2004.

Last edited by Zulithe; 25th September 2020 at 01:34.
Zulithe is offline   Reply With Quote
Old 25th September 2020, 02:38   #7703  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,787
Quote:
Originally Posted by Zulithe View Post
r5540, mpc-be is not obeying the "windows size at startup" and "remember last window position" settings. I'm on a multi-monitor setup using x64 Win 10 v2004.
You remember position on second monitor ?
__________________
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 26th September 2020, 12:22   #7704  |  Link
Klaus1189
Registered User
 
Join Date: Feb 2015
Location: Bavaria
Posts: 1,667
I installed 1.5.6 r5545 and noticed that volume bars look strange on 200% scaling when clicking on mute, but look normal when move mouse away.

I created an video which shows that issue.

Please let us translators know when you want the updated translation files for the mouse page in options
Klaus1189 is offline   Reply With Quote
Old 26th September 2020, 12:41   #7705  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,787
Quote:
Originally Posted by Klaus1189 View Post
I installed 1.5.6 r5545 and noticed that volume bars look strange on 200% scaling when clicking on mute, but look normal when move mouse away.

I created an video which shows that issue.

Please let us translators know when you want the updated translation files for the mouse page in options
Does it's happened in previous version MPC-BE ?
__________________
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 26th September 2020, 14:29   #7706  |  Link
Klaus1189
Registered User
 
Join Date: Feb 2015
Location: Bavaria
Posts: 1,667
I installed 1.5.6 r5543 and it is fine, seems to be introduced in r5544.
I created a video which shows that r5543 is fine.

Last edited by Klaus1189; 26th September 2020 at 15:28. Reason: typo
Klaus1189 is offline   Reply With Quote
Old 26th September 2020, 19:37   #7707  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,968
@Klaus1189
Thanks. Fixed in r5546.
v0lt is offline   Reply With Quote
Old 27th September 2020, 00:52   #7708  |  Link
Zulithe
Registered User
 
Join Date: Jan 2006
Posts: 42
Quote:
Originally Posted by Aleksoid1978 View Post
You remember position on second monitor ?
can no longer reproduce in today's build. Thanks, sorry for the late reply. Mentioned multi-monitors because it was opening on different monitor from where I last closed it, fwiw.
Zulithe is offline   Reply With Quote
Old 27th September 2020, 17:21   #7709  |  Link
megapro17
Registered User
 
Join Date: Aug 2020
Posts: 18
MPC-BE is crashing when i'm trying to open one mp3 file: https://yadi.sk/d/9L3w-zIWTIaHMw
This bug exist for a long time, tested in r5546
This file can be played in any other player. I think it's because of broken metadata.
Also, can you make more clear what different "Custom presenter" supports like it's done in clsid2 fork?
Attached Images
 
megapro17 is offline   Reply With Quote
Old 27th September 2020, 18:28   #7710  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
Quote:
Originally Posted by megapro17 View Post
MPC-BE is crashing when i'm trying to open one mp3 file: https://yadi.sk/d/9L3w-zIWTIaHMw
This bug exist for a long time, tested in r5546
This file can be played in any other player. I think it's because of broken metadata.
The "issue" is more likely to be a borked mp3 audio stream
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 27th September 2020, 18:39   #7711  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,968
Quote:
Originally Posted by megapro17 View Post
MPC-BE is crashing when i'm trying to open one mp3 file: https://yadi.sk/d/9L3w-zIWTIaHMw
Thanks. Fixed in r5549.
v0lt is offline   Reply With Quote
Old 28th September 2020, 10:57   #7712  |  Link
chros
Registered User
 
chros's Avatar
 
Join Date: Mar 2002
Posts: 2,323
Sending keyboard shortcuts to MadVR via web interface of MPC

Hi devs and @clsid, how hard would it be to implement such thing, if it can't be done already somehow?

In short, madvr doesn't have API to manage its settings but provide keyboard shortcuts. 2 of us already came up with similar solutions for it.
The problem with this is that you can't (easily?) send keyboard shortcuts to apps in the background.

So, what we would need is:
- an endpoint in the web API
- that receives a keyboard shortcut (e.g. in the form of sendkeys: "^+%i")
- and triggers it on itself (mpc window)

What do you think?
Thanks!
__________________
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 OLED77G2(2160p@23/24/25/29/30/50/59/60Hz) | madvr config

Last edited by chros; 28th September 2020 at 11:02.
chros is offline   Reply With Quote
Old 28th September 2020, 17:48   #7713  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,968
Quote:
Originally Posted by chros View Post
In short, madvr doesn't have API to manage its settings but provide keyboard shortcuts.
You are wrong.
madVR.zip\developers\interfaces\mvrInterfaces.h see IMadVRSettings2.
madVR.zip\developers\net-protocol.txt see GetSettings/SetSettings
v0lt is offline   Reply With Quote
Old 28th September 2020, 20:10   #7714  |  Link
SirMaster
Registered User
 
Join Date: Feb 2019
Posts: 231
Quote:
Originally Posted by v0lt View Post
You are wrong.
madVR.zip\developers\interfaces\mvrInterfaces.h see IMadVRSettings2.
madVR.zip\developers\net-protocol.txt see GetSettings/SetSettings
Unfortunately IMadVRSettings2 API only allows for changing settings on disk. It does not affect the live setting of the running instance of madVR.

You have (re)start madVR after changing settings with the API before they apply.

The IP control interface is an option, but it is out of date and missing some options such as NGU scaling I think. Unfortunately I can't even figure out how to use the IP control protocol.

The documentation in that text file is just too sparse and hard for me to understand when I am not very familiar with networking protocols.

Last edited by SirMaster; 28th September 2020 at 21:42.
SirMaster is offline   Reply With Quote
Old 29th September 2020, 18:19   #7715  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,968
Quote:
Originally Posted by SirMaster View Post
Unfortunately IMadVRSettings2 API only allows for changing settings on disk. It does not affect the live setting of the running instance of madVR.
There are other interfaces in the mvrInterfaces.h file. For example, IMadVRCommand.
v0lt is offline   Reply With Quote
Old 29th September 2020, 18:27   #7716  |  Link
SirMaster
Registered User
 
Join Date: Feb 2019
Posts: 231
Quote:
Originally Posted by v0lt View Post
There are other interfaces in the mvrInterfaces.h file. For example, IMadVRCommand.
Yes and that only allows changing madVR settings on disk, not for your media player's active madVR session instance.

Madshi has already talked about this on a post years ago in the madVR thread.

I already wrote a program using the IMadVRCommand API and confirmed this exact behavior.

http://forum.doom9.net/showpost.php?...ostcount=33401

Quote:
There's a catch though. You won't be able to access a madVR object that has been created in another process, directly controlling madVR in MPC-HC from an external Python script for instance.
http://forum.doom9.net/showpost.php?...ostcount=33438

Quote:
madHcCtrl.exe (which is the exe responsible for drawing the madVR tray icon, showing the madVR settings editor etc) does all this by using madHcNet32.dll and mvrSettings32.dll. I've not made the interfaces for those dlls available yet because I didn't think they would be useful. But I suppose it wouldn't harm making them available. It would allow you to remotely access settings, without having to reimplement the whole network protocol yourself again.

The above applies if you want to actually affect an already running instance of a media player / madVR. If you just want to change the settings on harddisk, and if you don't care if already running madVR instances are updated, then things are much easier: Just instantiate a madVR instance yourself and use the interfaces in "mvrInterfaces.h" to modify the settings.
As far as I can see, he ever made the the madHcNet32.dll and mvrSettings32.dll interfaces available.

Last edited by SirMaster; 29th September 2020 at 18:47.
SirMaster is offline   Reply With Quote
Old 29th September 2020, 18:57   #7717  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,968
Quote:
Originally Posted by SirMaster View Post
Yes and that only allows changing madVR settings on disk, not for your media player's active madVR session instance.
You are confusing something. The IMadVRCommand interface is not for settings. It allows you to send madVR commands that are executed immediately. It has been used in various players (including MPC-BE) for a long time.
Quote:
There's a catch though. You won't be able to access a madVR object that has been created in another process, directly controlling madVR in MPC-HC from an external Python script for instance.
This is a strange observation. Various utilities such as GraphStudioNext can manipulate the DirectShow graph and the filters in it.
v0lt is offline   Reply With Quote
Old 29th September 2020, 19:14   #7718  |  Link
SirMaster
Registered User
 
Join Date: Feb 2019
Posts: 231
Quote:
Originally Posted by v0lt View Post
You are confusing something. The IMadVRCommand interface is not for settings. It allows you to send madVR commands that are executed immediately. It has been used in various players (including MPC-BE) for a long time.
That's fair, but we want to change all the madVR settings (up-scaling, enhancements, color, gamma, hdr, etc) for the active media-player on the fly.

Last edited by SirMaster; 29th September 2020 at 19:17.
SirMaster is offline   Reply With Quote
Old 30th September 2020, 03:40   #7719  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,968
Quote:
Originally Posted by SirMaster View Post
That's fair, but we want to change all the madVR settings (up-scaling, enhancements, color, gamma, hdr, etc) for the active media-player on the fly.
We are not planning to do something like this for madVR in the player.
v0lt is offline   Reply With Quote
Old 30th September 2020, 15:29   #7720  |  Link
chros
Registered User
 
chros's Avatar
 
Join Date: Mar 2002
Posts: 2,323
There's a bug: the Deploy button under Webserver doesn't save the internal webpages (works fine in MPC-HC).

Quote:
Originally Posted by v0lt View Post
We are not planning to do something like this for madVR in the player.
No worries if you will still think so, but I quickly took a look at the current implementation of various endpoints, e.g. command.html:
- the CWebClientSocket::OnCommand() method is responsible for that (and this is in MPC-HC)

E.g. the following urls can be used:
Code:
http://localhost:13579/command.html?wm_command=948
http://localhost:13579/command.html?wm_command=-2&volume=50    // set volume
http://localhost:13579/command.html?wm_command=-1&percent=60   // set position
So:
- either a new endpoint could be set (e.g. keys.html -> OnKeys())
- or a new "command" could be set for keys (e.g. -3) with a keys parameter:

Code:
http://localhost:13579/command.html?wm_command=-3&keys=i
We can send any type of characters for the "keys" param.

Thanks
__________________
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 OLED77G2(2160p@23/24/25/29/30/50/59/60Hz) | madvr config
chros is offline   Reply With Quote
Reply

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


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