Some examples of movies/games which break the fourth wall ie. they know they are a movie/game. Also called meta/self-aware/self-reflexive.
The Beginner’s Guide
idle animation/talking to player
The Devil Inside
This game considers itself a TV show
http://tvtropes.org/pmwiki/pmwiki.php/Main/MediumAwareness (a lot of examples)
And some movies…
Stranger Than Fiction (2006)
Movie about a guy who discovers he is a main character from a book.
Funny Games (2007)
Starship Troopers (1997)
its a war documentary, duh.
The invention of Lying (2009)
In How I Met Your Mother, season 6 episode 11, characters wait for the narrator to remember what they should do (checking their watch and looking into camera). In S7E6 they talk to camera again.