lolwut 16 Posted September 2, 2018 Share Posted September 2, 2018 (edited) Hi Luke, I was traveling for a while for work, after coming back emby theather updated to 3.0.2. Now there is no video, only audio (also in backdrops, audio only) Overlay is there working. I have checked previous posts relating to this and tried: Reinstalling without traces - No luck Turning OpenGL High Profile on/off - No luck Setting Hardware Accelaration or 3D Conversion to Auto/None - No luck Dropping video to Mpv in the filesystem of theater - Works in MPV the video, in emby theater does not work Log is clean, What i did on the log: debug on, opened emby, played a video, again only audio, turned off emby Any suggestions? (BTW, I have emby theater on my laptop, works fine, updated a while ago, this is the one on the pc connected to TV) Best Edit: Videos work on Web interface and legacy version MBT which I use for Steam overlay Also, Windows and Nvidia drivers up to date (made sure) theater-63671519222.txt Edited September 2, 2018 by lolwut Link to comment Share on other sites More sharing options...
Luke 37068 Posted September 2, 2018 Share Posted September 2, 2018 I'm not quite sure. First thing I would do is try running everything at default settings. Link to comment Share on other sites More sharing options...
lolwut 16 Posted September 2, 2018 Author Share Posted September 2, 2018 Hmmm I did another clean reinstall with absolute default settings and no luck, But what i discovered is it is not black for backdrops Movies: black Backdrops: blue radiance Also, stats for nerds part show on the video when clicked, video bitrate varies as video plays, which to me means mpv actually plays the video but somehow it is behind overlay? Link to comment Share on other sites More sharing options...
Guest asrequested Posted September 3, 2018 Share Posted September 3, 2018 What GPU are you using? What video settings are you using? Are you using an mpv.conf? If yes, what's in it? If no, follow this guide and post the log from mpv. Post the log, anyway Link to comment Share on other sites More sharing options...
lolwut 16 Posted September 6, 2018 Author Share Posted September 6, 2018 Thanks Doofus, I have GTX 980, I dont have mpv.conf, but created one to see the logs as you suggested, couldn t get much from it, app video settings are default Although, I dig a little bit deeper and found out that, MPV player's node.js module starts the videos with audio_only optiion, If I remove the arguments this option imposes such as --no-video, in the modules js file, the electron app gives and error and says stream not found, not even start the mpv player to run the file. So this is not a overlay problem. Even though, the nerd stats part properly shows vıdeo info, its codecs, even bitrate, Due to some misbehaviour in electron and/or node.js mpv module, somehow mpv player is started with audio_only mode? Not sure, but that is why I am suspecting, I am tired for today, will dig further later on, Best mpv.txt Link to comment Share on other sites More sharing options...
Guest asrequested Posted September 7, 2018 Share Posted September 7, 2018 There's a delay in the handler that may be affecting that. I'll look closer, when I get home. Link to comment Share on other sites More sharing options...
Guest asrequested Posted September 7, 2018 Share Posted September 7, 2018 (edited) You tried using CUDA, but it isn't working in mpv on Windows, right now. Try nvdec copyback, cuda copyback or just auto copyback [ 0.098][v][vd] Looking at hwdec h264_cuvid-cuda... [ 0.098][v][vo/gpu] Loading hwdec driver 'd3d11va' [ 0.099][v][vo/gpu] Loading hwdec driver 'dxva2-dxgi' [ 0.169][v][vo/gpu] Loading hwdec driver 'dxva2-dxinterop' [ 0.169][v][vo/gpu] Loading failed. [ 0.169][v][vd] Could not create device. [ 0.169][v][vd] No hardware decoding available for this codec. [ 0.169][v][vd] Using software decoding. [ 0.169][v][vd] Detected 8 logical cores. [ 0.169][v][vd] Requesting 9 threads for decoding. [ 0.170][v][vd] Selected codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) [ 0.170][v][vf] User filter list: [ 0.170][v][vf] (empty) [ 0.171][v][ad] Codec list: [ 0.171][v][ad] aac - AAC (Advanced Audio Coding) [ 0.171][v][ad] aac_fixed (aac) - AAC (Advanced Audio Coding) [ 0.171][v][ad] Opening decoder aac [ 0.171][v][ad] Requesting 1 threads for decoding. [ 0.173][v][ad] Selected codec: aac (AAC (Advanced Audio Coding)) [ 0.173][v][af] User filter list: [ 0.173][v][af] (empty) [ 0.173][v][cplayer] Starting playback... [ 0.173][d][ffmpeg/video] h264: Reinit context to 1280x720, pix_fmt: yuv420p [ 0.174][d][vd] DR parameter change to 1280x738 yuv420p align=64 [ 0.174][d][vd] Allocating new DR image... [ 0.174][d][vd] ...failed.. [ 0.174][v][vd] DR failed - disabling. [ 0.182][v][vd] Using software decoding. [ 0.182][v][vd] Decoder format: 1280x720 [0:1] yuv420p auto/auto/auto/auto/auto CL=mpeg2/4/h264 (auto 0.000000/0.000000/0.000000) [ 0.182][v][vf] [in] 1280x720 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [ 0.183][v][vf] [userdeint] 1280x720 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [ 0.183][v][vf] [userdeint] (disabled) [ 0.183][v][vf] [autorotate] 1280x720 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [ 0.183][v][vf] [autorotate] (disabled) [ 0.183][v][vf] [convert] 1280x720 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [ 0.183][v][vf] [convert] (disabled) [ 0.183][v][vf] [out] 1280x720 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 Edited September 7, 2018 by Doofus Link to comment Share on other sites More sharing options...
lolwut 16 Posted September 29, 2018 Author Share Posted September 29, 2018 (edited) Sorry I was away @ I think I uploaded the wrong file, I logged it with new installation again and here is the right file. I also tried to debug through electron, do you know the scope of mpv player, cant find it anywhere (dev tools) More explanation: I thought it was overlay or z-index issue, removed overlays above it and still no video, I am currently trying to access js element of the mpv player, cant find it. How does this works, do you stream the video to the mpv container in electron browser or somehow electron puts the actual mpv player between those frames somewhere and it plays on actual player? not that familiar with electron and dont want to go deep and check how mpv works through node.js on electron. This may isolate the issue to actual mpv player or to mpv related js. Best log.txt Edited September 29, 2018 by lolwut Link to comment Share on other sites More sharing options...
Guest asrequested Posted September 29, 2018 Share Posted September 29, 2018 Luke would have to answer the technicalities of electron, but as far as I know, electron is just the window overlay that passes instruction to the player (mpv). Link to comment Share on other sites More sharing options...
Guest asrequested Posted September 29, 2018 Share Posted September 29, 2018 So this time you chose no hwa? [ 0.142][v][vd] Codec list: [ 0.142][v][vd] h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [ 0.142][v][vd] h264_cuvid (h264) - Nvidia CUVID H264 decoder [ 0.142][v][vd] Opening decoder h264 [ 0.142][v][vd] No hardware decoding requested. [ 0.142][v][vd] Using software decoding. [ 0.142][v][vd] Detected 8 logical cores. [ 0.142][v][vd] Requesting 9 threads for decoding. [ 0.144][d][ffmpeg/video] h264: Reinit context to 1280x720, pix_fmt: yuv420p [ 0.144][d][vd] DR parameter change to 1280x738 yuv420p align=64 [ 0.144][d][vd] Allocating new DR image... [ 0.144][d][vd] ...failed.. [ 0.144][v][vd] DR failed - disabling. [ 0.146][v][vd] Selected codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) [ 0.146][v][vf] User filter list: [ 0.146][v][vf] (empty) [ 0.147][v][ad] Codec list: [ 0.147][v][ad] ac3 - ATSC A/52A (AC-3) [ 0.147][v][ad] ac3_fixed (ac3) - ATSC A/52A (AC-3) [ 0.147][v][ad] Opening decoder ac3 [ 0.147][v][ad] Requesting 1 threads for decoding. [ 0.147][v][ad] Selected codec: ac3 (ATSC A/52A (AC-3)) [ 0.147][v][af] User filter list: [ 0.147][v][af] (empty) [ 0.149][v][sub/ass] Shaper: FriBidi 1.0.5 (SIMPLE) HarfBuzz-ng 1.8.4 (COMPLEX) [ 0.149][v][sub/ass] Setting up fonts... [ 0.159][v][sub/ass] Using font provider directwrite [ 0.159][v][sub/ass] Done. [ 0.159][v][cplayer] Starting playback... [ 0.159][d][ffmpeg/video] h264: Reinit context to 1280x720, pix_fmt: yuv420p [ 0.175][v][vd] Decoder format: 1280x720 [0:1] yuv420p bt.709/auto/auto/limited/auto CL=mpeg2/4/h264 (auto 0.000000/0.000000/0.000000) [ 0.175][v][vd] Using container aspect ratio. [ 0.175][v][vf] [in] 1280x720 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [ 0.175][v][vf] [userdeint] 1280x720 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [ 0.175][v][vf] [userdeint] (disabled) [ 0.175][v][vf] [autorotate] 1280x720 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [ 0.175][v][vf] [autorotate] (disabled) [ 0.175][v][vf] [convert] 1280x720 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [ 0.175][v][vf] [convert] (disabled) [ 0.175][v][vf] [out] 1280x720 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 Link to comment Share on other sites More sharing options...
Guest asrequested Posted September 29, 2018 Share Posted September 29, 2018 I need more info on what you're actually doing. What settings in Theater, etc? Link to comment Share on other sites More sharing options...
lolwut 16 Posted September 30, 2018 Author Share Posted September 30, 2018 (edited) Okay, I am trying the figure out if the problem originates from: Electron or Mpv side So I can focus on one instead of two. To do it I need to access mpv js element inside running emby electron to debug and see what is going on. To this date I did both clean inatallation of theater or even moved a copy of working emby theater from laptop, no luck. Removed every bit of codec, updated nvidia and windows and reset windows display preferences like transparency. Made sure nothing else remains in roaming folder related to emby. Since mpv works alone and emby works through web on that pc, it is either a configuration issue of mpv that theater does, or since I used that pc to program in the past it is a weird bug related to node.js or something elsr (which is weird because it should be independent since everthing emby theater uses comes with it), or it is a weird windows or nvidia issue (can be since first time I see it was after windows update). My first question is, what else on a computer emby theater electron or mpv depends or affected by that even on clean installation, it creates this bug. (Like emby server files on the same computer, or old madvr or libav registerations, ffmpeg registrations..??) Second question is how to access mpv js element in electron, i guess the debugger starts after it is loaded and suddenly it is out of scope of dev tools console I dont want to format Edited September 30, 2018 by lolwut Link to comment Share on other sites More sharing options...
lolwut 16 Posted September 30, 2018 Author Share Posted September 30, 2018 (edited) Oh, BTW, it definetely creates this bug with clean installation and configuration of theater. That log file created on emby theater right after installation, with nothing changed in configuration Edited September 30, 2018 by lolwut Link to comment Share on other sites More sharing options...
Guest asrequested Posted September 30, 2018 Share Posted September 30, 2018 As it works in the standalone, it might be a configuration issue. The playbackhandler is passing a range of commands to MPV. You may want to start there. 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