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 21st July 2017, 14:40   #21  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,646
Only if he cuts up his changes in small chunks and adds new custom renderers instead of replacing current ones. Otherwise the risk of things breaking are too high. He doesn´t seems to want to do it this way, so chance is probably zero.
clsid is offline   Reply With Quote
Old 23rd July 2017, 09:07   #22  |  Link
ShadyCrab
Registered User
 
Join Date: Jul 2015
Posts: 16
Is there a chance that the sanear WASAPI audio renderer could support Windows Sonic/Dolby Atmos for headphones? It doesn't need to use the new API's, but as its designed the renderer won't actually output 5.1 or 7.1 to Windows if Sonic is enabled.

The reason for it is that sanear uses the GetMixFormat API, which will only output 2.0 if Sonic is selected. If it uses the IsFormatSupported API, Windows should report 7.1 if Sonic is enabled and output surround sound for Sonic to mix.

Here's an explanation from a MSFT employee
Quote:
The output format will be stereo because Windows Sonic for Headphones and Dolby Atmos for headphones virtualize 7.1 speakers using an HRTF which outputs stereo. An HRTF positions sounds in a similar way as you would sound in the real world.
There are 2 WSASAPI APIs that a developer can use to determine what formats could be supported: IAudioClient::IsFormatSupported IAudioClient::GetMixFormat
IAudioClient::IsFormatSupported is the recommended API to determin what format to render. When Dolby Atmos for Headphones and Windows Sonic for headphones are enabled, most formats are supported.
IAudioClient::GetMixFormat returns what the device format is and will return stereo even when Dolby Atmos for Headphones or Windows Sonic for headphones is supported. So if a PC game/app uses this API, instead of the recommended one, it will unfortunately just send down stereo. We are looking at a clever way to better support these apps as well without eroding the true purpose and meaning of the IAudioClient::GetMixFormat API.
Windows Sonic for Headphones doesn't put stereo in the front. When the Windows Creators Update launched, Dolby Atmos for Headphones did out stereo in the FL and FR. That's also why FL and FR are not as pronounced there. We have an update for that in the pipeline.
ShadyCrab is offline   Reply With Quote
Old 26th July 2017, 13:10   #23  |  Link
chros
Registered User
 
chros's Avatar
 
Join Date: Mar 2002
Posts: 2,323
Quote:
Originally Posted by ShadyCrab View Post
Is there a chance that the sanear WASAPI audio renderer ...
@clsid: the built-in internal audio renderer needs to be updated ASAP to the current master branch of sanear. That's the biggest bug that MPC-HC has for more than a year!
(You tried to compile it with it couple of months ago, and as I recall it it went fine. I use it as an external filter for more than a year and it's flawless.)
__________________
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
Old 26th July 2017, 14:24   #24  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,646
Sanear integration requires additional changes to get it to work properly with newer version. The current devs are all super busy, so help is needed/welcome.
clsid is offline   Reply With Quote
Old 27th July 2017, 13:07   #25  |  Link
chros
Registered User
 
chros's Avatar
 
Join Date: Mar 2002
Posts: 2,323
Quote:
Originally Posted by clsid View Post
Sanear integration requires additional changes to get it to work properly with newer version. The current devs are all super busy, so help is needed/welcome.
No worries, I just wanted to put it in the log
__________________
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
Old 6th August 2017, 19:15   #26  |  Link
holnap32
Registered User
 
Join Date: Jul 2017
Posts: 1
I just wanted to give a supportive comment. I really appreaciate that you are picking up the development of MPC-HC. This is by far my favourite player. I tried a lot VLC, MPC-BE, and many others, but in the end I always come back to MHC-HC.

Some features that I use a lot:
- Download subtitles from subtitle sites from the playing movie in the app itself (can this be done on VLC? I don't think so, I always have to go a web browser download, and load manually.)
- Easy to change subtitle and audio tracks (in MPC-BE it is still akward)
- Unified Remote Full on my Android phone to act as a remote control (doesn't exist for MPC-BE, it exists for VLC)

As for what features/bugs you develop: maybe make a wide table with scores on different criteria. Development time needed, complexity, urgency, usefullness, number of requests, etc. And from that table go for the low effort, high benefit development possibilities.

All in all, the feature I love the most in MPC-HC is how it handles subtitles. It's so convenient to press D, and select the subtitles file from the list, it's incredible.
My vote is to develop any features regarding subtitles, more sites, even more easier.

Then, if we could have a dedicated button for changing audio and subtitle tracks in Unified Remote on Android, that would be great, but probably for this I have to ask them directly.

Keep up the good work, and I'm looking forward to the next release! And a big thank you for keeping up the development!
holnap32 is offline   Reply With Quote
Old 7th August 2017, 15:10   #27  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,646
Adding more subtitle sites is not possible because most sites do not provide an API for searching and downloading subtitles.

For remote control features you need to ask elsewhere.
clsid is offline   Reply With Quote
Old 9th August 2017, 14:54   #28  |  Link
ShadyCrab
Registered User
 
Join Date: Jul 2015
Posts: 16
I went ahead and made a pull request that allows sanear to support Windows Sonic/Dolby Atmos. Allows me to finally ditch the DirectSound/WaveOut renderers, and with the master branch it even supports enabling/disabling spatial sound during playback with live feedback.

https://github.com/alexmarsev/sanear/pull/19

I made a pull request here as well for MPC-HC's fork.

It works for my stereo 24bit 44.1khz device, with surround sound output for surround content when Dolby Atmos is enabled, and stereo output when Dolby Atmos is disabled, stereo content is playing or if 'Exclusive mode' is enabled. The only thing I haven't tested is 'Exclusive mode' native surround output (such as a HDMI 7.1 output). Easy to test, just need to enable 'Exclusive mode' on a 5.1/7.1 native device and test that sanear plays and outputs 5.1/7.1

Also quick note, 'ignoreSystemChannelMixer' option should be set to false, else it will not output surround sound with Windows Sonic/Dolby Atmos.

Last edited by ShadyCrab; 9th August 2017 at 15:17.
ShadyCrab is offline   Reply With Quote
Old 15th August 2017, 12:44   #29  |  Link
chros
Registered User
 
chros's Avatar
 
Join Date: Mar 2002
Posts: 2,323
Quote:
Originally Posted by holnap32 View Post
I just wanted to give a supportive comment. I really appreaciate that you are picking up the development of MPC-HC. This is by far my favourite player. I tried a lot VLC, MPC-BE, and many others, but in the end I always come back to MHC-HC.

...

- Easy to change subtitle and audio tracks (in MPC-BE it is still akward)
- Unified Remote Full on my Android phone to act as a remote control (doesn't exist for MPC-BE, it exists for VLC)
I just switched to MPC-BE.
For Android remote, the best is Remoti-co (I use it for about 4-5 years), I mentioned the modified version in mpc-hc main thread, search fort it. It also works with MPC-BE.
__________________
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
Old 15th August 2017, 16:44   #30  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,646
Quote:
Originally Posted by ShadyCrab View Post
I went ahead and made a pull request that allows sanear to support Windows Sonic/Dolby Atmos. Allows me to finally ditch the DirectSound/WaveOut renderers, and with the master branch it even supports enabling/disabling spatial sound during playback with live feedback.

https://github.com/alexmarsev/sanear/pull/19

I made a pull request here as well for MPC-HC's fork.

It works for my stereo 24bit 44.1khz device, with surround sound output for surround content when Dolby Atmos is enabled, and stereo output when Dolby Atmos is disabled, stereo content is playing or if 'Exclusive mode' is enabled. The only thing I haven't tested is 'Exclusive mode' native surround output (such as a HDMI 7.1 output). Easy to test, just need to enable 'Exclusive mode' on a 5.1/7.1 native device and test that sanear plays and outputs 5.1/7.1

Also quick note, 'ignoreSystemChannelMixer' option should be set to false, else it will not output surround sound with Windows Sonic/Dolby Atmos.
I don't know if any of the developers has Atmos compatible hardware to test his. So perhaps you could make a test build and post it in the general MPC-HC discussion topic. That could speed up approval.
The integrated Sanear in MPC-HC is currently missing some options compared to standalone version. Maybe you are interested in adding those to settings window in MPC-HC?
clsid is offline   Reply With Quote
Old 10th September 2017, 11:26   #31  |  Link
chros
Registered User
 
chros's Avatar
 
Join Date: Mar 2002
Posts: 2,323
Quote:
Originally Posted by clsid View Post
The integrated Sanear in MPC-HC is currently missing some options compared to standalone version. Maybe you are interested in adding those to settings window in MPC-HC?
I just realized that Sanear got updated in recent nightly (v1.7.13.112), thank you all!
I created an issue half a year ago, I hope somebody (@kasper93) likes the idea.
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; 15th November 2017 at 11:16.
chros is offline   Reply With Quote
Old 14th November 2017, 18:18   #32  |  Link
khanmein
Registered User
 
Join Date: Oct 2012
Posts: 118
@chros v1.7.13.112 or .122?
khanmein is offline   Reply With Quote
Old 15th November 2017, 11:16   #33  |  Link
chros
Registered User
 
chros's Avatar
 
Join Date: Mar 2002
Posts: 2,323
Quote:
Originally Posted by khanmein View Post
@chros v1.7.13.112 or .122?
Oops, 112, 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
Old 16th November 2017, 14:44   #34  |  Link
khanmein
Registered User
 
Join Date: Oct 2012
Posts: 118
Quote:
Originally Posted by chros View Post
Oops, 112, thanks.
I thought they really released & I'm waiting for the next upcoming updates.
khanmein is offline   Reply With Quote
Old 17th November 2017, 20:34   #35  |  Link
chros
Registered User
 
chros's Avatar
 
Join Date: Mar 2002
Posts: 2,323
Quote:
Originally Posted by khanmein View Post
I thought they really released & I'm waiting for the next upcoming updates.
I don't think that will be any major update soon, probably only including newer LAVfilters, but we can do this manually if we want.
__________________
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
Old 17th November 2017, 21:07   #36  |  Link
YxP
Registered User
 
Join Date: Oct 2012
Posts: 99
khanmein, The "nightly" is rock solid. No reason to wait if you want to update.
YxP is offline   Reply With Quote
Old 18th November 2017, 10:09   #37  |  Link
khanmein
Registered User
 
Join Date: Oct 2012
Posts: 118
Quote:
Originally Posted by YxP View Post
khanmein, The "nightly" is rock solid. No reason to wait if you want to update.
I always use nightly & never use the stable version at all.
khanmein is offline   Reply With Quote
Old 29th August 2021, 22:03   #38  |  Link
flaviowolff
Registered User
 
Join Date: Feb 2008
Posts: 32
Hey all, sorry for bumping an old thread. Is there a fix or workaround to get MPC-HC to output surround sound for Spatial Audio API's (sonic, dts headphone x and atmos for headphones) to virtualize? Currently it only outputs stereo if any spatial audio is enabled. LAV Audio codec is set not to mix anything, of course.
Thanks
flaviowolff 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 12:51.


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