3

I have Arch Linux (downloaded from the Pi official download page) installed on my Pi. I would like to play videos with it from the command line without installing X. (Yeah, the goal is to make the Pi boots as fast as possible.) Is that possible?

  • do you want to play video in console? Or stream the video into a TV or another computer? – abolotnov Feb 20 '13 at 11:02
  • @abolotnov I want to stream the video to TV through HDMI. Is mpv feasible? – William Dec 15 '18 at 17:14
8

It's possible and even encouraged. A nice command line player for the Pi is omxplayer. It might be installed by default in Arch, otherwise it's available in the repositories. Omxplayer is written for the Pi, and uses the GPU for decoding video. It works extremely well and smoothly, provided that the video is in a supported format (h264 and mpeg4). Additionally, you can buy license keys for MPEG-2 and VC-1 in the raspberry store.

Btw, the more graphical media player XBMC uses omxplayer as a backend on the Pi.

  • did you experience any frame rate issues with this setup? – feverDream Dec 13 '13 at 6:57
  • omxplayer --adev hdmi movie.mkv says which: no xset – Necktwi Nov 5 '18 at 9:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.