Luke 37009 Posted May 4, 2017 Share Posted May 4, 2017 So basically it's playing underneath the UI? Link to comment Share on other sites More sharing options...
frabe8378910 3 Posted May 4, 2017 Share Posted May 4, 2017 Playback of recorded ts files in ET which Emby server Versjon 3.2.13.0 streams gives the same error message as posted in #77. If I play the stream with mpv the stream plays without problem. mpv "http://192.168.9.2:8096/emby/Videos/8b966788d9811a536d66a4c544549d15/stream.ts?Static=true&mediaSourceId=8b966788d9811a536d66a4c544549d15&deviceId=emby-EB1501P&api_key=2eea4b7e75ad43c9baafc83804fc8b1b&Tag=1341f5c8a83f4805fa18cbd3bf839ab0" I renamed mpv to mpv-rename and started up ET. ET gives the same error message as posted in #77 again when trying to play the above video file. So it seems that ET is using the embedded chromium video player, which do not have support for recorded ts files with H265 and AAC embedded streams as posted in #89 . I have done a git pull of the git repository so ET should be up-to-date. Yes, I have verified that too. I have found several situations, i.e. ET not in fullscreen, with "--disable-gpu" where the playback is done by embedded chromium. I've not found a way the force playback by mpv so far. Next I'll try to make a matrix, when ET will use mpv for playback. Without the --disable-gpu param I can "play" recorded ts video files without error message posted in #77. But I only get a gray 16:9 window without any video content playing. Before I tested this I did a git pull. The pc I use for ET has a VGA compatible controller: NVIDIA Corporation GT218 [iON] (rev a2) graphic card I have the same effect. With "--disable-gpu" ET main menu is kind of laggy and I have playback. Max. 5MB/s okay is playable, anything higher is stuttering. Without "--disable-gpu" I have stutter free sound at 60MB/s, but an invisible video. The HW is a Zotac ID80 box with a NVIDIA card. I'll do some more testing on the weekend. Link to comment Share on other sites More sharing options...
frabe8378910 3 Posted May 4, 2017 Share Posted May 4, 2017 So basically it's playing underneath the UI? That may be possible. But I was not abe to get to the window behind. Even if I played with minimize or maximize the windows. Link to comment Share on other sites More sharing options...
Luke 37009 Posted May 8, 2017 Share Posted May 8, 2017 if you guys could test the latest updates, that would be helpful. thanks. Link to comment Share on other sites More sharing options...
haraldov 10 Posted May 9, 2017 Share Posted May 9, 2017 (edited) With ET for electron (git pull version 2.6.7) I have same errors as reported earlier in post #77. Without "--disable-gpu" I have no error but the video do not show as posted in #101. It seems like mpv is playing underneath the UI, because I see the video time amount passed in the OSD changing as the recording plays. The log shows cecExePath: '--disable-gpu'. This must be wrong, but maybe not related to this problem. Initializing cec-client... { cecExePath: '--disable-gpu', cecEmitter: EventEmitter { domain: null, _events: {}, _eventsCount: 0, _maxListeners: undefined } } ERROR: cec-client not installed, running without cec functionality. et-09052017.log Edited May 9, 2017 by haraldov Link to comment Share on other sites More sharing options...
Luke 37009 Posted May 9, 2017 Share Posted May 9, 2017 yea don't use --disable-gpu. we can do that in code. Link to comment Share on other sites More sharing options...
Luke 37009 Posted May 10, 2017 Share Posted May 10, 2017 What version of electron are you testing with? We can confirm the same behavior. This might be the reason: https://github.com/electron/electron/issues/9164 Link to comment Share on other sites More sharing options...
haraldov 10 Posted May 10, 2017 Share Posted May 10, 2017 (edited) This might be the reason: https://github.com/e...ron/issues/9164 I have tried using electron version 1.6.7 and 1.7.0 with no --disable-gpu in the et.sh and I get no video as posted in #101. But then I downgraded electron to version 1.4.16 like this and I have video and OSD menu overlay which disappers after a while ! emby@emby-EB1501P:~$ sudo npm -g remove electron # You might get a error about files not found when trying to install other # version of electron. Fix this issue like this: # emby@emby-EB1501P:~$ sudo rm -rf /usr/local/lib/node_modules emby@emby-EB1501P:~$ sudo npm -g install electron@1.4.16 --arch=ia32 After this sucess I tried the next released electron version which was 1.5.0 and I get no video again. Release notes for electron 1.5.0 says: This is the first release running on upgraded versions of Chrome and Node Upgraded from Chrome 53.0.2785.143 to 54.0.2840.101 Upgraded from Node 6.5.0 to 7.4.0 I am using electron on XUbuntu 16.04 with open source NVIDIA drivers nouveau driver. . et-11052017.log Edited May 10, 2017 by haraldov Link to comment Share on other sites More sharing options...
haraldov 10 Posted May 10, 2017 Share Posted May 10, 2017 (edited) I have the same error #66 with ET as @denz on my rpi3 with raspbian when trying to play livetv-stream from streamdev-plugin for vdr.2.3.3 and from recorded ts files from emby server 3.2.12.0 Sucess again with ET for electron on rpi3. When downgrading electron to version 1.4.16 on my rpi3 with raspbian I do not have the Java script error reported earlier in post #77. I can also play recorded ts files with mpv player. I'll do some more testing tomorrow with the XUbuntu pc and the rpi3. Great work guys. Edited May 10, 2017 by haraldov Link to comment Share on other sites More sharing options...
Luke 37009 Posted May 11, 2017 Share Posted May 11, 2017 Wow interesting, so you're able to use this version. @@denz and @@Latchmor, @@xnappo check it out. Thanks for the feedback. Link to comment Share on other sites More sharing options...
Luke 37009 Posted May 11, 2017 Share Posted May 11, 2017 @@haraldov, there was a new beta of electron released today, so you could also try that. Link to comment Share on other sites More sharing options...
Luke 37009 Posted May 11, 2017 Share Posted May 11, 2017 @, with this now functional on RPI, we soon may not need the RPI-specific code base anymore. Link to comment Share on other sites More sharing options...
Luke 37009 Posted May 11, 2017 Share Posted May 11, 2017 Yes. I think our next objective now is a nice and easy single-command installation process. The windows version is also using this same code base so that will allow all of them to develop and mature together, which is great. 1 Link to comment Share on other sites More sharing options...
denz 426 Posted May 11, 2017 Share Posted May 11, 2017 I will try it tonight and report back as it didn't work last week. Link to comment Share on other sites More sharing options...
denz 426 Posted May 11, 2017 Share Posted May 11, 2017 No luck it doesn't work I can't maximise the app when I try it just moves to top left corner and when I go to play something I get a javascript error Link to comment Share on other sites More sharing options...
Luke 37009 Posted May 11, 2017 Share Posted May 11, 2017 You need to get mpv installed Link to comment Share on other sites More sharing options...
denz 426 Posted May 11, 2017 Share Posted May 11, 2017 (edited) I do have it installed I followed instructions few posts back to compile mpv I think the issue is the location f drive that is on the server when I maximise When I try to watch live tv nothing changes in theater only in the console window there is movement Edited May 11, 2017 by denz Link to comment Share on other sites More sharing options...
Luke 37009 Posted May 11, 2017 Share Posted May 11, 2017 How are you trying to run it? Link to comment Share on other sites More sharing options...
haraldov 10 Posted May 11, 2017 Share Posted May 11, 2017 (edited) I do not have the Javascript error when I run the application without the --disable-gpu and with electron 1.4.16. electron --enable-transparent-visuals main.js You must also use the application with the open source NVIDIA nouveau driver. If you use nvidia driver version 340.102 and 304.135 ET start up with a transparent blue overlay You can easily switch over to the nouveau driver with the Software & Update --> Additional Driver I also can not expand the ET window to fullscreen on my Intel Eebox 1501B box and with my RPI3 with raspbian Jessie. et-electron-11052017.log Edited May 13, 2017 by haraldov Link to comment Share on other sites More sharing options...
haraldov 10 Posted May 11, 2017 Share Posted May 11, 2017 (edited) @haraldov, there was a new beta of electron released today, so you could also try that. I have tried electron v1.7.0 and I get the Java script error with this version also. The only version which work is electron 1.4.16 and less I believe. Edited May 11, 2017 by haraldov Link to comment Share on other sites More sharing options...
denz 426 Posted May 11, 2017 Share Posted May 11, 2017 I just click on et and click on execute in shell so i can see the logs. Link to comment Share on other sites More sharing options...
denz 426 Posted May 12, 2017 Share Posted May 12, 2017 I will do a clean install and report back. Link to comment Share on other sites More sharing options...
denz 426 Posted May 14, 2017 Share Posted May 14, 2017 (edited) I did a clean raspbian install when I first ran electron theater I needed to install the following components sudo npm install lodash sudo npm install promise sudo np install cuid Once I installed it same issues as before you cannot maximise the app or watch anything. Edited May 14, 2017 by denz Link to comment Share on other sites More sharing options...
Luke 37009 Posted May 14, 2017 Share Posted May 14, 2017 @@denz you might have gotten an electron beta. see above about the current max functional version. Link to comment Share on other sites More sharing options...
denz 426 Posted May 14, 2017 Share Posted May 14, 2017 I ran the following command sudo npm -g install electron@1.4.16 as haraldov recommended and now emby starts full screen however still cannot watch anything still the same error. 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