ty I will try it
Ok I tried. Your first config worked perfectly fine when I tried and it showed me the video. However when I just swapped the url with a file path the way you said in your last post the omxplayer does not open it
Hm i Kind of fail to use it. When I use a config without url (I gave it a path to a local file)
showSnapsWhen paused is activated, I get this black window on the screen so the stream does not interfere with anything, however nothing is shown with omxplayer (autostartplay activated)
tried with mp4 and mov
so how do I properly use a local file then?
oh no thats exactly what I did already achieve. It just overlays omxplayer, without making sure there is nothing below then, so it will hide other informations on the screen.
Thats what I wanted to achieve but I did not know how to make sure a area is actually clear the way it would be when I just directly show a video in MM2
I mean for one video I can do it approximately, but would be nice to have a real solution instead of try and error xD
since electron and videos really don´t work well together I want to use a overlay with omxplayer. Is there already a module doing this I just did not find?
If not my idea was to show a black form with the size of the video on the screen, so the overlay is not above any other stuff. However I did not find out how to get the absolute position of a dom object, so I can give the position to omxplayer
Looks really cool,
But part of the reason that I want to do this myself is to learn. So using MagicMirror2(which is way better that what i will ever make) won’t allow me to learn all the things I want to learn. And making my own seems like a fun project
yes thats what I mean the only real reason to rebuild it is for educational purposes
my suggestion is aswell use MM2. You don’t have to start from scratch that costs a ton of time and makes asking harder.
For most stuff there is already someone that has done something similar thats helps.
As an example my setup is
MM2 as info displays (probably multiple mirrors sooner or later)
The standalone offline voice recognition snips for all smarthome stuff (obviously works with all the online alexa stuff ect aswell)
And as general backbone that really controls all the smarthome stuff something like openhab/homeassistant.
Those are all great software parts that support you. you obviously can live for example without openhab/homeassistant and do controls directly with modules in MM2, but the moment you have many devices you want to control it kind of gets messy. (I am a big fan of keeping the software parts simple so you can maintain something without being scared that suddenly everythings broken)
Obviously same for stuff like your machine learning. I would just have it run standalone with just a couple connections to for example MM2 to tell it which user it recognised.
What language stuff should you learn? Your experienced with java and python, so just use them. Can’t really see a reason to use another when your good in them.
So my suggestion is use this premade software out there. You obviously can develop the wheel again, but you probably spend a ton of time without getting a better endproduct (would be more of a educational thing to rebuild something like that xD)
Then you can spend all your time on really building the stuff you want to build like this facial recognition.
Is a year enough? Well hard to say for me it would be never because with my smarthome stuff it’s really always the same thing I build one thing and already have 5 ideas for new stuff to add.