News:

The Latest electronic and computer Tips that work!

Main Menu

Play Video .mp4 from CMD Line

Started by branx86, September 25, 2015, 03:40:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

branx86

If you don't have the omxplayer  do apt-get -y install omxplayer

To play a video file you just need to type :
        omxplayer myvideo.mp4

If you are using HDMI you should use this command to pass audio over the HDMI interface :
      omxplayer -o hdmi myvideo.mp4