You can find out the duration of the song in e.g. Windows Media Player.
The moving heads might contain preprogrammed frames and shows as you’ve written – like this they can be controlled by DMX only.
But there are also moving heads with ILDA and DMX input. So the picture is controlled with ILDA and rotation of moving head with DMX.