3

I'm playing with a PiTFT Plus display on a Raspberry Pi 2 using the Adafruit modified version of Raspian Jessie for this screen.

The display looks ok for most things, but I'd like to play a video using omxplayer. I like omxplayer because it playsback via GPU which is nice and smooth. The issue is that I can't see the video on the TFT screen ?

Is it possible to playback a video with omxplayer on the Adafruit TFT display ? If so how ?

If not, what other decent alternatives are available ? (I've tried VLC, but it's very slow on a 480p video)

George Profenza
  • 651
  • 5
  • 10
  • 25

1 Answers1

3

I've just stumbled on fbcp and tested it: works like a charm with the Adafruit modified Raspian Jessie-based PiTFT 3.5" Resistive Image for Pi 1 and Pi 2 (September 24, 2015):

fbcp &
omxplayer /path/to/video

Update I found another option which doesn't require fbcp: mplayer though SDL. Although the guide is for the 2.8" display, it still applies for the 3.5" too. One thing to bare in mind: from my experience so far it's impossible to playback smooth video without frame tearing on the 3.5" screen though. (If you have a workaround, I'd be more than happy to update this).

For reference (in case the link changes at some point), here's the mplayer option: First install mplayer:

sudo apt-get install mplayer

Then pass use the Adafruit TFT frame buffer (/dev/fb1):

sudo SDL_VIDEODRIVER=fbcon SDL_FBDEV=/dev/fb1 mplayer -vo sdl -framedrop path/to/your_video.file
George Profenza
  • 651
  • 5
  • 10
  • 25