sooty234 266 Posted August 11, 2020 Share Posted August 11, 2020 Do you have exclusive mode, enabled? It looks like your device doesn't support what you want in exclusive mode. [ 1.258][v][af] [in] 48000Hz 5.1(side) 6ch floatp [ 1.259][v][af] [lavcac3enc] 48000Hz 5.1(side) 6ch floatp [ 1.259][v][af] [userspeed] 48000Hz stereo 2ch spdif-ac3 [ 1.259][v][af] [userspeed] (disabled) [ 1.259][v][af] [convert] 48000Hz stereo 2ch spdif-ac3 [ 1.259][v][ao] Trying audio driver 'wasapi' [ 1.259][v][ao/wasapi] requested format: 48000 Hz, stereo channels, spdif-ac3 [ 1.259][d][ao/wasapi] Init wasapi [ 1.259][d][ao/wasapi] Find device '' [ 1.260][v][ao/wasapi] No device specified. Selecting default. [ 1.261][v][ao/wasapi] Selecting device '{7aab3b50-003a-43ee-b364-c25a356427bb}' (Digital Audio (S/PDIF) (Sound Blaster AE-9s)) [ 1.261][v][ao/wasapi] Monitoring changes in device {0.0.0.00000000}.{7aab3b50-003a-43ee-b364-c25a356427bb} [ 1.263][d][ao/wasapi] Init wasapi thread [ 1.263][d][ao/wasapi] Activating pAudioClient interface [ 1.264][d][ao/wasapi] Probing formats [ 1.265][v][ao/wasapi] Trying stereo spdif-ac3 (16/16 bits) @ 48000hz (exclusive) -> ok [ 1.265][v][ao/wasapi] Accepted as stereo spdif-ac3 @ 48000hz -> stereo spdif-ac3 (16/16 bits) @ 48000hz (exclusive) [ 1.265][d][ao/wasapi] Fixing format [ 1.265][d][ao/wasapi] IAudioClient::GetDevicePeriod [ 1.266][v][ao/wasapi] Device period: 10 ms [ 1.266][d][ao/wasapi] IAudioClient::Initialize [ 1.272][d][ao/wasapi] IAudioClient::Initialize pRenderClient [ 1.272][d][ao/wasapi] IAudioClient::Initialize IAudioClient_SetEventHandle [ 1.272][d][ao/wasapi] IAudioClient::Initialize IAudioClient_GetBufferSize [ 1.272][v][ao/wasapi] Buffer frame count: 480 (10 ms) [ 1.272][v][ao/wasapi] IAudioClock::GetFrequency gave a frequency of 48000. [ 1.274][d][ao/wasapi] Activating pEndpointVolume interface [ 1.274][d][ao/wasapi] IAudioEndpointVolume::QueryHardwareSupport [ 1.274][d][ao/wasapi] Entering dispatch loop [ 1.274][d][ao/wasapi] Init wasapi done [ 1.274][v][ao/wasapi] device buffer: 480 samples. [ 1.274][v][ao/wasapi] using soft-buffer of 10752 samples. [ 1.274][i][cplayer] AO: [wasapi] 48000Hz stereo 2ch spdif-ac3 [ 1.274][v][cplayer] AO: Description: Windows WASAPI audio output (event mode) [ 1.274][v][af] [convert] (disabled) [ 1.274][v][af] [out] 48000Hz stereo 2ch spdif-ac3 Link to comment Share on other sites More sharing options...
Gofran 5 Posted August 11, 2020 Author Share Posted August 11, 2020 removed that also in the beginning i was testing out but i removed it now Theater mpv log.txt Link to comment Share on other sites More sharing options...
sooty234 266 Posted August 11, 2020 Share Posted August 11, 2020 It's still enabled [ 2.137][d][ao/wasapi] Probing formats [ 2.139][v][ao/wasapi] Trying stereo spdif-ac3 (16/16 bits) @ 48000hz (exclusive) -> ok [ 2.139][v][ao/wasapi] Accepted as stereo spdif-ac3 @ 48000hz -> stereo spdif-ac3 (16/16 bits) @ 48000hz (exclusive) Link to comment Share on other sites More sharing options...
Gofran 5 Posted August 11, 2020 Author Share Posted August 11, 2020 Theater mpv log.txt Link to comment Share on other sites More sharing options...
Gofran 5 Posted August 11, 2020 Author Share Posted August 11, 2020 see now Link to comment Share on other sites More sharing options...
sooty234 266 Posted August 11, 2020 Share Posted August 11, 2020 Ah, yes, I apologize. Running the same config on my system, I get the same print out. But I do actually get 5.1 surround. The difference I see between yours and mine... Mine [ 0.413][v][ao/wasapi] device buffer: 480 samples. [ 0.413][v][ao/wasapi] using soft-buffer of 192000 samples. [ 0.413][d][ao/wasapi] Thread Resume [ 0.413][d][ao/wasapi] Thread Reset [ 0.413][i][cplayer] AO: [wasapi] 48000Hz stereo 2ch spdif-ac3 [ 0.413][v][cplayer] AO: Description: Windows WASAPI audio output (event mode) [ 0.414][v][af] [convert] (disabled) [ 0.414][v][af] [out] 48000Hz stereo 2ch spdif-ac3 Yours [ 0.682][v][ao/wasapi] device buffer: 480 samples. [ 0.682][v][ao/wasapi] using soft-buffer of 10752 samples. [ 0.682][i][cplayer] AO: [wasapi] 48000Hz stereo 2ch spdif-ac3 [ 0.682][v][cplayer] AO: Description: Windows WASAPI audio output (event mode) [ 0.682][v][af] [convert] (disabled) [ 0.682][v][af] [out] 48000Hz stereo 2ch spdif-ac3 Your sampling is much lower, because you're using optical. Are you sure you're hearing stereo? The audio level is boosted, so it will be louder, but you should be getting 5.1. I'm using HDMI of course, but are you sure your DAC isn't receiving 5.1? If you play an AC3 track, do you get 5.1? Link to comment Share on other sites More sharing options...
Gofran 5 Posted August 11, 2020 Author Share Posted August 11, 2020 i got it now so what i did restart pc that is it it still shows stereo and al but there should be an delay with mine dac then i know there is surround active so i am sorry and one last issue i cant get hdr is it because emby wont auto switch to hdr an i need to turn in on Link to comment Share on other sites More sharing options...
Gofran 5 Posted August 11, 2020 Author Share Posted August 11, 2020 Theater mpv log.txt Link to comment Share on other sites More sharing options...
sooty234 266 Posted August 11, 2020 Share Posted August 11, 2020 7 minutes ago, Gofran said: and one last issue i cant get hdr is it because emby wont auto switch to hdr an i need to turn in on Take a look at this Link to comment Share on other sites More sharing options...
Gofran 5 Posted August 11, 2020 Author Share Posted August 11, 2020 i could not understand how wheeber got it to work with cmd file but for what i could understand is that emby theater can not automaticly set hdr on when watchin hdr Link to comment Share on other sites More sharing options...
sooty234 266 Posted August 11, 2020 Share Posted August 11, 2020 It looks like you're using multiple displays? Windows will only create the HDR swapchain on the primary display, and you'll need to enable HDR in Windows, manually. I think Microsoft is moving toward removing auto-switching. Nvidia has got around this by creating their own API which will enable and disable the Windows HDR. I just turn it on, and leave it on. But if you have multiple mixed displays, that will be a problem. Link to comment Share on other sites More sharing options...
Gofran 5 Posted August 11, 2020 Author Share Posted August 11, 2020 yes i am using dual setup ok ill wil do that manualy thank you Link to comment Share on other sites More sharing options...
Solution sooty234 266 Posted August 11, 2020 Solution Share Posted August 11, 2020 I just tested the auto switching to HDR with some software I previously knew would achieve that. It no longer works. So it looks like Microsoft killed it. Link to comment Share on other sites More sharing options...
Gofran 5 Posted August 11, 2020 Author Share Posted August 11, 2020 Ok so need to wait when nvidia gets it done Link to comment Share on other sites More sharing options...
sooty234 266 Posted August 11, 2020 Share Posted August 11, 2020 Just now, Gofran said: Ok so need to wait when nvidia gets it done Nvidia has had the API for a while. But I think only MadVR uses it. I think it's pointless. Just turn it on, and leave it on. Link to comment Share on other sites More sharing options...
Gofran 5 Posted August 11, 2020 Author Share Posted August 11, 2020 Ok and turn it off when watching a non hdr correct or just keep it on Link to comment Share on other sites More sharing options...
sooty234 266 Posted August 11, 2020 Share Posted August 11, 2020 1 minute ago, Gofran said: Ok and turn it off when watching a non hdr correct or just keep it on I never turn it off. My desktop looks just fine, and the latest build of mpv has adjusted for the white point. So everything plays perfectly. I have made some changes to my mpv.conf, for more improvements, but they are dependent on using mpv/Emby Theater on an HDR display with Windows in HDR mode. Link to comment Share on other sites More sharing options...
Gofran 5 Posted August 11, 2020 Author Share Posted August 11, 2020 can you share that please so that i can try it out Link to comment Share on other sites More sharing options...
Gofran 5 Posted August 11, 2020 Author Share Posted August 11, 2020 oh i got it it looks good now i needed change little some setings on tv setting on hdr mode Link to comment Share on other sites More sharing options...
sooty234 266 Posted August 11, 2020 Share Posted August 11, 2020 (edited) ## VIDEO ## target-trc=pq target-prim=bt.2020 gpu-api=auto hwdec=auto hwdec-codecs=all opengl-pbo=yes dither-depth=auto deband=yes deband-iterations=1 deband-grain=0 saturation=0 brightness=0 contrast=0 gamma=10 gamut-clipping=no hdr-compute-peak=no ## SCALING ## glsl-shaders-clr # luma upscaling glsl-shaders="G:\mpv\FSRCNNX_x2_8-0-4-1.glsl" scale=spline64 # luma downscaling glsl-shaders-append="G:\mpv\SSimDownscaler.glsl" dscale=mitchell linear-downscaling=yes # chroma upscaling and downscaling glsl-shaders-append="G:\mpv\KrigBilateral.glsl" cscale=mitchell sigmoid-upscaling=yes ## AUTO-PROFILES ## [Interlaced] profile-desc=Deinterlace profile-cond=p["video-frame-info/interlaced"] hwdec=d3d11va-copy vf=bwdif [HDR] profile-desc=HDR stuff profile-cond=p["video-params/primaries"]=="bt.2020" glsl-shaders-clr target-prim=bt.2020 target-trc=pq dither-depth=auto deband=no contrast=0 saturation=0 brightness=0 gamma=0 The Scalers section requires shaders that you don't have and may not need. Are you using a 4K display? Your log says it's 1080. If it's 1080, ignore the scalers section except for dscale=mitchell and maybe add correct-downscaling=yes Edited August 11, 2020 by sooty234 Link to comment Share on other sites More sharing options...
sooty234 266 Posted August 11, 2020 Share Posted August 11, 2020 And make sure to use the latest build https://sourceforge.net/projects/mpv-player-windows/files/ Link to comment Share on other sites More sharing options...
Gofran 5 Posted August 11, 2020 Author Share Posted August 11, 2020 Yes i had changed resolution but set it back to 4k Link to comment Share on other sites More sharing options...
Gofran 5 Posted August 11, 2020 Author Share Posted August 11, 2020 so step by step i downloaded mpv-x86_64-20200809-git-bb23188.7z where do i need to unzip or and the code you have shared i only need add the text put in mpv.conf right Link to comment Share on other sites More sharing options...
Gofran 5 Posted August 11, 2020 Author Share Posted August 11, 2020 like this Link to comment Share on other sites More sharing options...
sooty234 266 Posted August 11, 2020 Share Posted August 11, 2020 Replace mpv in C:\Users\USERNAME\AppData\Roaming\Emby-Theater\system\x64\mpv Use the config I gave you in your mpv.conf but obviously change the directories where the scalers are (attached zip file). And you can look at this site for more info https://freetime.mikeconnelly.com/archives/5371 Scalers.zip Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now