Lee 204 Posted July 23, 2021 Author Share Posted July 23, 2021 Weirdly logging doesn't seem to want to work now? i tried the full config file, nothing happened, so i thought i'd just see if i can generate a log. The below worked before. i'm stuck.. Link to comment Share on other sites More sharing options...
Lee 204 Posted July 23, 2021 Author Share Posted July 23, 2021 ok, so ignore the last - typo by me. i put .config not .conf!! doesn't work though - log attached... Theater_mpv_log.txt Link to comment Share on other sites More sharing options...
generiq 113 Posted July 24, 2021 Share Posted July 24, 2021 (edited) Yeah, it's still losing the device... [ 2.915][v][ao] Trying audio driver 'wasapi' [ 2.915][v][ao] Using preferred device 'DENON-AVR (Intel(R) Display Audio)' [ 2.915][v][ao/wasapi] requested format: 48000 Hz, stereo channels, spdif-ac3 [ 2.915][d][ao/wasapi] Init wasapi [ 2.915][d][ao/wasapi] Find device 'DENON-AVR (Intel(R) Display Audio)' [ 2.916][e][ao/wasapi] There are no playback devices available [ 2.916][d][ao/wasapi] Uninit wasapi [ 2.916][d][ao/wasapi] Uninit wasapi done [ 2.916][e][ao] Failed to initialize audio driver 'wasapi' [ 2.916][e][ao] This audio driver/device was forced with the --audio-device option. [ 2.916][e][ao] Try unsetting it. [ 2.916][v][cplayer] Falling back to PCM output. [ 2.916][v][ad] Codec list: [ 2.916][v][ad] ac3 - ATSC A/52A (AC-3) [ 2.916][v][ad] ac3_fixed (ac3) - ATSC A/52A (AC-3) [ 2.916][v][ad] Opening decoder ac3 [ 2.917][v][ad] Requesting 1 threads for decoding. [ 2.917][v][ad] Selected codec: ac3 (ATSC A/52A (AC-3)) Then did you seek and the audio plays??? [ 2.915][v][ao] Trying audio driver 'wasapi' [ 2.915][v][ao] Using preferred device 'DENON-AVR (Intel(R) Display Audio)' [ 2.915][v][ao/wasapi] requested format: 48000 Hz, stereo channels, spdif-ac3 [ 2.915][d][ao/wasapi] Init wasapi [ 2.915][d][ao/wasapi] Find device 'DENON-AVR (Intel(R) Display Audio)' [ 2.916][e][ao/wasapi] There are no playback devices available [ 2.916][d][ao/wasapi] Uninit wasapi [ 2.916][d][ao/wasapi] Uninit wasapi done [ 2.916][e][ao] Failed to initialize audio driver 'wasapi' [ 2.916][e][ao] This audio driver/device was forced with the --audio-device option. [ 2.916][e][ao] Try unsetting it. [ 2.916][v][cplayer] Falling back to PCM output. [ 2.916][v][ad] Codec list: [ 2.916][v][ad] ac3 - ATSC A/52A (AC-3) [ 2.916][v][ad] ac3_fixed (ac3) - ATSC A/52A (AC-3) [ 2.916][v][ad] Opening decoder ac3 [ 2.917][v][ad] Requesting 1 threads for decoding. [ 2.917][v][ad] Selected codec: ac3 (ATSC A/52A (AC-3)) [ 11.095][v][mkv] queuing seek to 0.000000 [ 11.095][v][mkv] cached range 0: 0.000000 <-> 132.360000 (bof=1, eof=0) [ 11.095][v][mkv] ...using this range for in-cache seek. [ 11.095][v][mkv] seeking stream 0 (video) to packet 0.000000/-9223372036854775808.000000 [ 11.095][v][mkv] seeking stream 1 (audio) to packet 0.000000/-9223372036854775808.000000 [ 11.143][v][af] [in] 48000Hz stereo 2ch floatp [ 11.143][v][af] [userspeed] 48000Hz stereo 2ch floatp [ 11.143][v][af] [convert] 48000Hz stereo 2ch floatp [ 11.143][v][ao] Trying audio driver 'wasapi' [ 11.143][v][ao] Using preferred device 'DENON-AVR (Intel(R) Display Audio)' [ 11.143][v][ao/wasapi] requested format: 48000 Hz, stereo channels, floatp [ 11.143][d][ao/wasapi] Init wasapi [ 11.143][d][ao/wasapi] Find device 'DENON-AVR (Intel(R) Display Audio)' [ 11.144][v][ao/wasapi] Selecting device by name: 'DENON-AVR (Intel(R) Display Audio)' [ 11.144][v][ao/wasapi] Selecting device '{5315acc8-4e68-45c0-b732-e269adbab0f9}' (DENON-AVR (Intel(R) Display Audio)) [ 11.144][v][ao/wasapi] Monitoring changes in device {0.0.0.00000000}.{5315acc8-4e68-45c0-b732-e269adbab0f9} [ 11.149][d][ao/wasapi] Init wasapi thread [ 11.159][v][ao/wasapi] Accepted as stereo s32 @ 48000hz -> stereo s32 (32/24 bits) @ 48000hz (exclusive) [ 11.159][d][ao/wasapi] Fixing format [ 11.159][d][ao/wasapi] IAudioClient::GetDevicePeriod [ 11.159][v][ao/wasapi] Device period: 10 ms [ 11.159][d][ao/wasapi] IAudioClient::Initialize [ 11.168][d][ao/wasapi] IAudioClient::Initialize pRenderClient [ 11.168][d][ao/wasapi] IAudioClient::Initialize IAudioClient_SetEventHandle [ 11.168][d][ao/wasapi] IAudioClient::Initialize IAudioClient_GetBufferSize [ 11.168][v][ao/wasapi] Buffer frame count: 480 (10 ms) [ 11.168][v][ao/wasapi] IAudioClock::GetFrequency gave a frequency of 48000. [ 11.168][d][ao/wasapi] Activating pEndpointVolume interface [ 11.168][d][ao/wasapi] IAudioEndpointVolume::QueryHardwareSupport [ 11.168][d][ao/wasapi] Entering dispatch loop [ 11.168][d][ao/wasapi] Init wasapi done [ 11.168][v][ao/wasapi] device buffer: 480 samples. [ 11.168][v][ao/wasapi] using soft-buffer of 9600 samples. [ 11.168][w][ao/wasapi] The --audio-stream-silence option is set. This will break certain player behavior. [ 11.168][i][cplayer] AO: [wasapi] 48000Hz stereo 2ch s32 [ 11.168][v][cplayer] AO: Description: Windows WASAPI audio output (event mode) [ 11.168][d][ao/wasapi] Thread Resume [ 11.168][d][ao/wasapi] Thread Reset [ 11.169][v][autoconvert] inserting resampler [ 11.169][v][swresample] format change, reinitializing resampler [ 11.169][v][swresample] 48000Hz stereo floatp -> 48000Hz stereo s32 [ 11.169][v][af] [convert] (enabled) [ 11.169][v][af] [out] 48000Hz stereo 2ch s32 @Luke You can still see here, that the pausing is what is causing this. [ 1.500][v][cplayer] audio ready [ 1.500][d][cplayer] starting video playback [ 1.500][v][cplayer] starting audio playback [ 1.500][v][cplayer] playback restart complete @ 0.000000, audio=playing, video=playing [ 1.502][v][cplayer] Set property: pause=true -> 1 [ 1.809][v][ao/wasapi] OnDeviceStateChanged triggered on device {0.0.0.00000000}.{5315acc8-4e68-45c0-b732-e269adbab0f9}: requesting ao reload [ 1.809][d][ao/wasapi] Uninit wasapi [ 1.809][d][ao/wasapi] Thread Reset [ 1.810][v][ao/wasapi] OnDefaultDeviceChanged triggered: staying on specified device DENON-AVR (Intel(R) Display Audio) [ 1.812][v][ao/wasapi] OnPropertyValueChanged triggered on device {0.0.0.00000000}.{5315acc8-4e68-45c0-b732-e269adbab0f9} [ 1.812][v][ao/wasapi] Changed property: {9c119480-ddc2-4954-a150-5bd240d454ad},1 [ 1.812][v][ao/wasapi] OnPropertyValueChanged triggered on device {0.0.0.00000000}.{5315acc8-4e68-45c0-b732-e269adbab0f9} [ 1.812][v][ao/wasapi] Changed property: {9c119480-ddc2-4954-a150-5bd240d454ad},2 [ 2.059][e][ao/wasapi] IAudioClient_Reset returned: A device attached to the system is not functioning. (0x8007001f) [ 2.059][d][ao/wasapi] Thread shutdown [ 2.827][d][ao/wasapi] Thread uninit done [ 2.828][d][ao/wasapi] Thread return [ 2.914][d][ao/wasapi] Uninit wasapi done It looks like an mpv bug. @Lee you should make a report for those guys, here. I would do it, but I don't have hardware that I can reproduce this with. @Lukethere's no telling if the mpv guys will do anything about it (as it's effectively happening while using an external app). And if they do, it could take a while. In the mean time, a work-around would probably be having the RefreshRate.exe, or maybe just the playbackhandler skip forward and back one or two seconds when resuming after switching, to break the pause and let mpv find the audio device, again. As the display resets when switching, I doubt that anyone would notice that it's skipping forward and back. Or just try not pausing while switching???? Edited July 24, 2021 by generiq Link to comment Share on other sites More sharing options...
Luke 37068 Posted July 24, 2021 Share Posted July 24, 2021 We'll have to dig up all our notes again to see why we're pausing in the first place. Link to comment Share on other sites More sharing options...
generiq 113 Posted July 24, 2021 Share Posted July 24, 2021 And just for clarity, you can see here that when pause=false, the audio device is found... [ 5.151][v][cplayer] Set property: pause=false -> 1 [ 9.032][d][mkv] stream 1: resize index to 256 [ 11.095][d][cplayer] Run command: seek, flags=64, args=[target="0.000000", flags="absolute", legacy="exact"] [ 11.095][v][mkv] queuing seek to 0.000000 [ 11.095][v][mkv] cached range 0: 0.000000 <-> 132.360000 (bof=1, eof=0) [ 11.095][v][mkv] ...using this range for in-cache seek. [ 11.095][v][mkv] seeking stream 0 (video) to packet 0.000000/-9223372036854775808.000000 [ 11.095][v][mkv] seeking stream 1 (audio) to packet 0.000000/-9223372036854775808.000000 [ 11.095][v][cplayer] hr-seek, skipping to 0.000000 [ 11.096][v][vd] Pixel formats supported by decoder: cuda dxva2_vld d3d11va_vld d3d11 yuv420p [ 11.096][v][vd] Codec profile: High (0x64) [ 11.096][v][vd] Requesting pixfmt 'd3d11' from decoder. [ 11.096][d][ffmpeg/video] h264: Decoder GUIDs reported as supported: [ 11.096][d][ffmpeg/video] h264: {ee27417f-5e28-4e65-beea-1d26b508adc9} 103 106 [ 11.096][d][ffmpeg/video] h264: {bf22ad00-03ea-4690-8077-473346209b7e} 103 106 [ 11.096][d][ffmpeg/video] h264: {1b81bea4-a0c7-11d3-b984-00c04f2e73c5} 103 106 [ 11.096][d][ffmpeg/video] h264: {e07ec519-e651-4cd6-ac84-1370cceec851} 103 106 [ 11.096][d][ffmpeg/video] h264: {bcc5db6d-a2b6-4af0-ace4-adb1f787bc89} 103 106 [ 11.096][d][ffmpeg/video] h264: {1b81be94-a0c7-11d3-b984-00c04f2e73c5} 103 106 [ 11.096][d][ffmpeg/video] h264: {1b81bea2-a0c7-11d3-b984-00c04f2e73c5} 103 106 [ 11.096][d][ffmpeg/video] h264: {1b81be68-a0c7-11d3-b984-00c04f2e73c5} 100 103 106 [ 11.096][d][ffmpeg/video] h264: {d79be8da-0cf1-4c81-b82a-69a4e236f43d} 103 106 [ 11.096][d][ffmpeg/video] h264: {f9aaccbb-c2b6-4cfc-8779-5707b1760552} 103 106 [ 11.096][d][ffmpeg/video] h264: {705b9d82-76cf-49d6-b7e6-ac8872db013c} 103 106 [ 11.096][d][ffmpeg/video] h264: {c528916c-c0af-4645-8cb2-372b6d4adc2a} 100 103 106 [ 11.096][d][ffmpeg/video] h264: {91cd2d6e-897b-4fa1-b0d7-51dc88010e0a} 100 103 106 107 [ 11.096][d][ffmpeg/video] h264: {90b899ea-3a62-4705-88b3-8df04b2744e7} 103 106 [ 11.096][d][ffmpeg/video] h264: {442b942a-b4d9-4940-bc45-a882e5f919f3} 103 106 [ 11.096][d][ffmpeg/video] h264: {97688186-56a8-4094-b543-fc9daaa49f4b} 103 106 [ 11.096][d][ffmpeg/video] h264: {1424d4dc-7cf5-4bb1-9cd7-b63717a72a6b} 103 106 [ 11.096][d][ffmpeg/video] h264: {c346e8a3-cbed-4d27-87cc-a70eb4dc8c27} 103 106 [ 11.096][d][ffmpeg/video] h264: {ffc79924-5eaf-4666-a736-06190f281443} 103 106 [ 11.096][d][ffmpeg/video] h264: {2364d06a-f67f-4186-aed0-62b99e1784f1} 103 106 [ 11.096][d][ffmpeg/video] h264: {464bdb3c-91c4-4e9b-896f-225496ac4ed6} 103 106 [ 11.096][d][ffmpeg/video] h264: {28566328-f041-4466-8b14-8f5831e78f8b} 103 106 [ 11.096][d][ffmpeg/video] h264: {6b4a94db-54fe-4ae1-9be4-7a7dad004600} 103 104 106 [ 11.096][d][ffmpeg/video] h264: {8c56eb1e-2b47-466f-8d33-7dbcd63f3df2} 103 106 [ 11.097][d][ffmpeg/video] h264: {5b11d51b-2f4c-4452-bcc3-09f2a1160cc0} 103 106 [ 11.097][d][ffmpeg/video] h264: {75fc75f7-c589-4a07-a25b-72e03b0383b3} 103 104 106 [ 11.097][d][ffmpeg/video] h264: {107af0e0-ef1a-4d19-aba8-67a163073d13} 103 104 106 [ 11.097][d][ffmpeg/video] h264: {07cfaffb-5a2e-4b99-b62a-e4ca53b6d5aa} 103 106 [ 11.097][d][ffmpeg/video] h264: {463707f8-a1d0-4585-876d-83aa6d60b89e} 103 106 [ 11.097][d][ffmpeg/video] h264: {a4c749ef-6ecf-48aa-8448-50a7a1165ff7} 103 104 105 106 [ 11.097][d][ffmpeg/video] h264: {76988a52-df13-419a-8e64-ffcf4a336cf5} 103 106 [ 11.097][d][ffmpeg/video] h264: {80a3a7bd-89d8-4497-a2b8-2126af7e6eb8} 103 104 105 106 [ 11.097][d][ffmpeg/video] h264: {50925b7b-e931-4978-a12a-586630f095f9} 103 106 [ 11.097][d][ffmpeg/video] h264: {b69c20e0-2508-8790-0305-875499e0a2d0} 103 106 [ 11.097][d][ffmpeg/video] h264: {49761bec-4b63-4349-a5ff-87ffdf088466} 103 106 [ 11.102][d][ffmpeg/video] h264: Reinit context to 1920x1088, pix_fmt: d3d11 [ 11.109][v][vd] Decoder format: 1920x1080 d3d11[nv12] auto/auto/auto/auto/auto CL=mpeg2/4/h264 [ 11.110][v][vd] Using container aspect ratio. [ 11.142][v][cplayer] first video frame after restart shown [ 11.143][v][af] [in] 48000Hz stereo 2ch floatp [ 11.143][v][af] [userspeed] 48000Hz stereo 2ch floatp [ 11.143][v][af] [convert] 48000Hz stereo 2ch floatp [ 11.143][v][ao] Trying audio driver 'wasapi' [ 11.143][v][ao] Using preferred device 'DENON-AVR (Intel(R) Display Audio)' Link to comment Share on other sites More sharing options...
generiq 113 Posted July 24, 2021 Share Posted July 24, 2021 1 hour ago, Luke said: We'll have to dig up all our notes again to see why we're pausing in the first place. My guess is just a generic wait period so the playback doesn't continue while the display is black during the refresh rate change. Link to comment Share on other sites More sharing options...
Lee 204 Posted July 26, 2021 Author Share Posted July 26, 2021 So.. I guess I'm just stuck with skipping back for now? I'm going to buy an nvidia shield I think this has peeved me right off tbh. The LG app is OK but I have had a few playback issues in that... Link to comment Share on other sites More sharing options...
Luke 37068 Posted July 26, 2021 Share Posted July 26, 2021 We're hard at work on the new Windows app. We'll take a look at this as part of that. Thanks. 1 Link to comment Share on other sites More sharing options...
Lee 204 Posted July 26, 2021 Author Share Posted July 26, 2021 5 hours ago, Luke said: We're hard at work on the new Windows app. We'll take a look at this as part of that. Thanks. Oh.. Beta testers required? Link to comment Share on other sites More sharing options...
Luke 37068 Posted July 27, 2021 Share Posted July 27, 2021 When we do we'll let you know. 1 Link to comment Share on other sites More sharing options...
Lee 204 Posted August 3, 2021 Author Share Posted August 3, 2021 so... i bought a nvidia shield. didn't rate it for the money tbh. sent it back. faffed about with this a bit more, seems the tv has a "PC Mode" so i enabled that and plugged the pc into hdmi one . the sound should come thru eARC in this mode *it doesn't . i disabled refresh rate switching still no audio, gets interesting when i try to play 4k content - emby just hangs. logs attached.. Theater_mpv_log.txt Link to comment Share on other sites More sharing options...
Lee 204 Posted August 3, 2021 Author Share Posted August 3, 2021 just a quick FYI audio works fine in a web browser for youtube.. Link to comment Share on other sites More sharing options...
generiq 113 Posted August 3, 2021 Share Posted August 3, 2021 eARC sucks. It's so problematic. I think we've isolated the issue. We'll just have to see if the mpv devs fix it, or if Luke finds a workaround. Lee, do you know how to use mpv on its own? You could test playing something and manually changing the refresh rate. Both while playing and while pausing. Link to comment Share on other sites More sharing options...
Carlo 4330 Posted August 4, 2021 Share Posted August 4, 2021 8 hours ago, Lee said: so... i bought a nvidia shield. didn't rate it for the money tbh. sent it back. Just curious, but what didn't you like about the Shield TV? Was it the Pro model? It's by far my favorite platform of all I have and I think the most mature/feature rich client for Emby. 1 Link to comment Share on other sites More sharing options...
Lee 204 Posted August 5, 2021 Author Share Posted August 5, 2021 On 03/08/2021 at 22:37, generiq said: eARC sucks. It's so problematic. I think we've isolated the issue. We'll just have to see if the mpv devs fix it, or if Luke finds a workaround. Lee, do you know how to use mpv on its own? You could test playing something and manually changing the refresh rate. Both while playing and while pausing. never used mpv on its own tbh, i guess i could give it a try. i'm off for the weekend with my daughter i might have a play next week. i'm going to build a new PC anyway the one i have isn't windows 11 ready. so i might just wait see how that goes. Link to comment Share on other sites More sharing options...
Lee 204 Posted August 5, 2021 Author Share Posted August 5, 2021 On 04/08/2021 at 06:15, cayars said: Just curious, but what didn't you like about the Shield TV? Was it the Pro model? It's by far my favorite platform of all I have and I think the most mature/feature rich client for Emby. the UI is a bit too ad-centric and i thought certain apps missing (nowtv & 4od) is a bit poor for the price. Emby worked well but my PC experience is quicker (i've got a harmony remote) and my PC can do allsorts the sheild can't although i need to pull out the keyboard and mouse pad. i didn't think for the money it was much better than a firetv. Link to comment Share on other sites More sharing options...
generiq 113 Posted August 5, 2021 Share Posted August 5, 2021 5 minutes ago, Lee said: never used mpv on its own tbh, i guess i could give it a try. i'm off for the weekend with my daughter i might have a play next week. i'm going to build a new PC anyway the one i have isn't windows 11 ready. so i might just wait see how that goes. If you want to try, I can help Link to comment Share on other sites More sharing options...
Lee 204 Posted August 5, 2021 Author Share Posted August 5, 2021 12 minutes ago, generiq said: If you want to try, I can help so i got a pre-built mpv. tried that. playback from the server drag and drop seemed to work well, not sure if the frame rate was right or if i was being over analytical. anyways i will need some help how to enable refresh rate switching and such like as there isn't much in way of a UI is there? obviously some linux jedi software LOL Link to comment Share on other sites More sharing options...
generiq 113 Posted August 5, 2021 Share Posted August 5, 2021 15 minutes ago, Lee said: so i got a pre-built mpv. tried that. playback from the server drag and drop seemed to work well, not sure if the frame rate was right or if i was being over analytical. anyways i will need some help how to enable refresh rate switching and such like as there isn't much in way of a UI is there? obviously some linux jedi software LOL All you need to do is play the video in mpv, pause playback, manually switch the refresh rate of your TV to match the video, and resume playback. This should recreate the parameters. Does the audio resume? Link to comment Share on other sites More sharing options...
Lee 204 Posted August 12, 2021 Author Share Posted August 12, 2021 Built a new pc. problem has gone, must be a bug with the hardware set up on the old one.. Link to comment Share on other sites More sharing options...
generiq 113 Posted August 12, 2021 Share Posted August 12, 2021 I think it's an issue with the UHD 630. That's what I had in the mini PC which had the same issue. That's what yours has, too Link to comment Share on other sites More sharing options...
Lee 204 Posted August 14, 2021 Author Share Posted August 14, 2021 On 12/08/2021 at 23:40, generiq said: I think it's an issue with the UHD 630. That's what I had in the mini PC which had the same issue. That's what yours has, too The new core i3 I have is 630 too though *10300T no issue's (I don't think Intel have updated the graphics in a while looking at it) 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