bannen
to captivate
To strongly hold someone's attention, fascinate them, or draw them under one's spell so that they cannot look away.
Die spannende Geschichte hat die Zuhörer völlig gebannt.
The exciting story completely captivated the listeners.

to captivate / avert / banish
Loading your saved state.
to captivate
To strongly hold someone's attention, fascinate them, or draw them under one's spell so that they cannot look away.
Die spannende Geschichte hat die Zuhörer völlig gebannt.
The exciting story completely captivated the listeners.

The verb 'bannen' is closely related to the noun 'der Bann' (spell/ban). 'Der Bann' can mean both a magical fascination ('jemanden in seinen Bann ziehen' — to draw someone under one's spell) and banishment, which explains the different meanings of the verb.
Der Redner zog das Publikum sofort in seinen Bann.
The speaker immediately drew the audience under his spell.
The past participle 'gebannt' is very often used like an adjective or adverb and then means 'fascinated' or 'attentive'. It describes a person whose attention is completely held.
Die Kinder lauschten gebannt der Märchenerzählerin.
The children listened to the storyteller, captivated.
In the meaning 'to ward off/avert', 'bannen' is almost always combined with negative, abstract nouns. Typical objects are 'die Gefahr' (the danger), 'das Risiko' (the risk), or 'die Bedrohung' (the threat).
Durch die neuen Sicherheitsmaßnahmen soll die Gefahr von Diebstählen gebannt werden.
The new security measures are intended to avert the danger of theft.
When 'bannen' means to capture something on a medium, it is always used with the preposition 'auf' (on) followed by the accusative. The structure is: etwas auf ein Medium bannen (to capture something on a medium).
Es ist ihm gelungen, die einzigartige Atmosphäre des Moments auf Film zu bannen.
He succeeded in capturing the unique atmosphere of the moment on film.
The meaning 'verbannen' (to banish) is outdated today and is used almost only in literary, historical, or fairy-tale contexts. In everyday language, people do not talk about 'jemanden bannen' (banishing someone).
Der böse Zauberer wurde in einen tiefen Kerker gebannt.
The evil wizard was banished to a deep dungeon.
to record / take in
'aufnehmen' and 'bannen' can both mean capturing a moment, an image, or a scene on a medium. 'aufnehmen' is the normal, neutral word for photos, videos, or sound. 'bannen' in the form 'auf etwas bannen' sounds more elevated and more figurative. It is used more when the captured moment seems especially beautiful, important, or impressive. Learners may confuse the words because both fit when saving images. In everyday language, 'aufnehmen' is usually more natural; 'bannen' fits more with a particular style.

Die Fotografin bannt den Sonnenuntergang auf ihre Kamera.
The photographer captures the sunset on her camera.
Mein Vater hat vor der Reise ein Video von unserem alten Haus aufgenommen.
Before the trip, my father recorded a video of our old house.