I might make a few additional comments about this somewhat confusing video.
https://youtu.be/GFfMruoRMGo?si=-38CyhGy_w-RzbOb
There are four "ways of operation" mentioned in all.
Two are
driven by a motor
1) driven "forward" by the electric motor, the narrator calls the engine a "refrigerator"
The temperature of the head eventually drops to cryogenic liquid air temperature (-320°F) and liquid air can be seen trickling down off the head and boiling off. The heat is being
moved down to the cooling jacket and carried away. Work from the electric motor is being used to move heat from the head to the cooling water jacket.
2) driven in "reverse" by the electric motor, the narrator calls the engine a "heat pump".
The temperature of the head reaches a glowing red hot 1290°F (700°C). Note that the heat is being
moved OUT from the water circulating through the water jacket.
The engine is also twice shown running with the electric motor switched
off.
1) Running as a "
Cold gas
ENGINE" on the residual COLD (-320°F but warming quickly) retained in the head (after running as a "refrigerator"/cryocooler)
Actually the heat to run the engine is coming from the relatively hot (ambient temperature) water in the lower water jacket. The engine is
consuming this heat from the circulating water jacket to produce work output.
2) Running as a "
Hot gas
ENGINE on the residual HEAT (1290°F but cooling rapidly) retained in the heater head (after running as a "heat pump". The engine is again
consuming this residual heat to produce work output.
Driven by the electric motor the Stirling engine moves heat as either a "refrigerator" or as a "heat pump" one way or the other according to the direction of rotation.
Running on a temperature differential without any work input from the electric motor, the Stirling engine runs by consuming heat and converting the heat to work. The heat either comes from heat applied to the heater head or from residual heat in the heater head from previously being driven by the electric motor as a heat pump. OR it can run on heat from the relatively hot water when the head is still cryogenically cold from previously being driven by the electric motor as a "refrigerator"/cryocooler.
Driven forward or backward by the MOTOR the head gets cryogenically cold, or intensely hot respectively.
Running as a heat engine in the "forward" direction, the engine is consuming heat from the heater head in the usual way that a heat engine operates as a "hot gas engine".
Running as a heat engine in the "reverse" direction heat is consumed from the relatively warm water jacket.
Hopefully this makes the video less confusing.
As a point of observation, I would say that the engine would have run much longer as a "cold gas engine" if all that liquid air had been preserved in some way and the cold head insulated. As it was, in the video, the liquid air, along with the residual cold in the metal heater head just boiled away and the head was quickly heated up by the surrounding relatively HOT ambient air
It might have also run longer as a "Hot gas engine" on the residual heat in the heater head after being driven as a "heat pump" if the heater head were insulated to retain heat (and the circulating water in the cooling jacket turned off or removed) rather than allowing most of the heat to just quickly dissipate into the relatively cold surrounding ambient air.
It would also make things more clear if the narrator had used some neutral terms such as "clockwise" and "counterclockwise".