Skip to content

Raspberry Pi display

Martin Pulec edited this page Sep 10, 2019 · 11 revisions

Testing

Scope

The aim of the testing is to determine a viable combination of HW accelerations and/or display to be able to fluidly decode H.264 stream on Raspberry Pi. Also current state of UltraGrid is evaluated.

Tested SW:

  • UltraGrid
  • FFMPEG (ffplay)
  • mpv
  • (mplayer?)
  • omxplayer

Setup

  • Raspberry Pi 3 Model B
  • Raspbian Buster with desktop
  • 128 MB video RAM (gpu_mem=128)
  • G3 GL (Full KMS) OpenGL desktop driver with full KMS (dtoverlay=vc4-kms-v3d)

Results

File playback (1080p50 H.264)

  • omxplayer - smooth
  • ffplay -vcodec h264_mmal - didn't play
  • ffplay -vcodec h264_v4l2m2m - works but no rendering
  • mpv --hwdec=v4l2m2m - around 12 FPS
  • mpv --hwdec=mmal - ditto

Note: HW acceleration work with G3 GL, not G1 (G2 not tested)!

UltraGrid (as for110th Sep 2019)

  • uv -d gl --param force-lavd-decoder=h264_v4l2m2m - crashes
  • uv -d gl --param force-lavd-decoder=h264_mmal - something like 8 FPS
  • uv -d sdl --param force-lavd-decoder=h264_mmal - 7 FPS
  • uv -d sdl:renderer={1,2} --param force-lavd-decoder=h264_mmal (GLES renderers) - 9 FPS
  • other drivers than X11 (RPI or wayland) didn't work

References

Clone this wiki locally