Skip to content

android: software rendering is slow

Not a slow CPU issue, there is no frame drop on the VLC side, but the video rendering is not smooth (like there is a lot of frame drops). Most likely a video output issue.

Happen with following codecs/profile with a high-end phone (Samsung Galaxy X22 Ultra).

Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4
HDR format                               : SMPTE ST 2086, HDR10 compatible
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4 frames
Format settings, GOP                     : M=4, N=32
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3
Format settings                          : CABAC / 6 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 6 frames
Width                                    : 720 pixels
Height                                   : 480 pixels

Some H264 1080p are playing OK.

  • OK on vlc-android 3.0 with ffmpeg 4.4
  • Slow on vlc-android 4.0 with ffmpeg 4.4 or ffmpeg 5.1

sample: https://streams.videolan.org/issues/27909/Samurai%20Jack%20-%20s1e02_%20The%20Samurai%20Called%20Jack.mkv

Edited by Thomas Guillem
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information