Some complements to my initial answer (trying to be more educational than judgemental this time) :
If I understand (or guess) well the idea of the video author, the "principle" of his "machine" is to couple an electrical motor (transforming electricity into mechanical force/movement) and an alternator (transforming mechanical force/movement into electricity).
With just the initial input/impulse from the starter, the motor begins to produce movement, which begins stirring the alternator, which begins producing electricity, which begins to feed back the electrical motor, which continues to produce movement, etc.
(Which is what is called "
perpetual motion".)
So at least this "system" would be self-sustainable. (Balanced production and consumption of electricity, without any loss.)
To give you an analogy, it would be like if you'd be able to lift yourself in the air, by pulling on your bootstraps !
Not only that, but the video author is even able to divert a bit of electricity to light up a lamp.
So this "system" would produced more energy than it consumes. (So-called "over-unity energy generator", or "free energy" label.)
That's magic, not physics.
According to conventional physics, not only over-unity energy generator are impossible, but also perpetual motion itself (due to energy losses such as mechanical friction, electrical resistance, etc. creating heat, which means transforming more useful (or "noble") forms of energy, like mechanical force/motion or electricity, into a less useful form, heat).
So, given that's impossible, again according to conventional physics, another source of energy is used -- hence the "hidden cable" mentioned by someone else.
So, it's
probably not
real magic (in the sense of violating known physics laws by some trick) but
fake magic, or
legerdemain if you prefer.
In fact, to interpret such a "system", you can make two mutually exclusive hypotheses :
1/ (which is suggested by the video, beginning with the title) that's
real magic, and known physics laws are violated.
2/ (which is preferred by rational/critical thinking) known physics laws are still ruling, so it's either :
2a/ a new phenomenon yet unknown to scientists (or yet to be explained by them), or
2b/
fake magic.
Between 1 and 2, Occam's razor suggests to prefer 2.
And between 2a and 2b, because such machines (electrical motors and alternators) are well-studied and so well-known to scientists, 2a have little probability. So 2b is the best option here.