Opened 5 years ago

Closed 5 years ago

#12565 closed Developer Task (fixed)

Support the Raspberry Pi

Reported by: Lawrence Rust Owned by: Lawrence Rust
Priority: minor Milestone: 0.28
Component: Ports - rPi Version: Unspecified
Severity: medium Keywords: Raspberry OpenMAX
Cc: Ticket locked: no


The Raspberry Pi2 is an ideal platform to develop a lightweight frontend. It supports OpenGLES2 and OpenMAX APIs which provide hardware accelerated graphics, video and audio.

Change History (4)

comment:1 Changed 5 years ago by Lawrence Rust <lvr@…>

In d7f291aec8c6c08186827a16aad805ae3ba1d8ae/mythtv:

UI: OpenGL ES 2.0 support for Raspberry Pi

Refs #12565

Signed-off-by: Lawrence Rust <lvr@…>

comment:2 Changed 5 years ago by Lawrence Rust <lvr@…>

In bfdb1256d57354a0951ea66746acf51a6464b496/mythtv:

TV: Add an OpenMAX private decoder

In conjunction with the OpenGL mods for Qt5 and EGLFS, this enables
hardware assisted playback of SD and HD video on a Raspberry Pi2.

NB the Raspberry Pi2 requires a license key to decode MPEG2 & WMV.

Refs #12565

Signed-off-by: Lawrence Rust <lvr@…>

comment:3 Changed 5 years ago by Lawrence Rust <lvr@…>

In bc81372c38557305fe5764184f13d56c33f0d30a/mythtv:

TV: Add an OpenMAX video renderer

An implementation of VideoOutput? using the OpenMAX API suitable for the
Raspberry Pi.

This is a minimal implementation that uses software deinterlacing,
the 'softblend' OSD and is without picture controls.

The following feaures will be added in due course:

  • Hardware deinterlacing using the 'image_fx' component.
  • Fullscreen OSD.
  • Visualisation
  • 'Picture In/By? Picture'.

Refs #12565

Signed-off-by: Lawrence Rust <lvr@…>

comment:4 Changed 5 years ago by Lawrence Rust <lvr@…>

Resolution: fixed
Status: newclosed

In 3abe78544f6bc40bcc23f405df91c4098a78f5a7/mythtv:

AO: Add an OpenMAX audio output device with passthrough support

The user can select from these output devices:
OpenMAX:analog (phono on Raspberry Pi)

If passthrough is enabled then output is forced to HDMI.

This patch also includes a change to AudioOutput? to provide for a different
audio decoder other than Ffmpeg.

This code provides an OpenMAX audio decoder to replace Ffmpeg. However,
in testing it became clear that the current OpenMAX decoder only permits
decoding from PCM to PCM. This apparently is due to licensing issues.

The OpenMAX decoder wrapper is complete but untested. Should the OpenMAX decoder
ever become functional the following warning message will be emitted:

"AudioDecoderOMX::DecodeAudio? is available but untested."

The OpenMAX decoder can then be enabled with the OMXAudioDecoderEnable setting.

Fixes #12565

Signed-off-by: Lawrence Rust <lvr@…>

Note: See TracTickets for help on using tickets.