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?

2
  • do you want to play video in console? Or stream the video into a TV or another computer?
    – abolotnov
    Commented Feb 20, 2013 at 11:02
  • @abolotnov I want to stream the video to TV through HDMI. Is mpv feasible?
    – reFORtEM
    Commented Dec 15, 2018 at 17:14

1 Answer 1

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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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