To play a video, navigate to the location of your video file in the terminal using cd, then type the following command:
omxplayer example.mp4This will play the example.mp4 in full screen. Hit Ctrl + C to exit.
There is a video sample of the animated film Big Buck Bunny available on the Pi. To play, it enter the following command into the terminal:
omxplayer /opt/vc/src/hello_pi/hello_video/test.h264