Performance Issues when Playing Full HD Movie

Hi all.

Currently I’m working on multimedia player for now we’ve chosen a Colibri imx6DL module. A whole application is written in Qt and use QtMultimedia module to play video, everything works fine on my computer, but when i switch to module i encounter performance issues with playing wideo (frame drops etc). I’ve also tried with bare gstreamer (gst-play-1.0), performance was better but still with small issues. When playing with bare gstreamer i’ve got a warning:

[WARN]  VPU iram is less than needed, some parts don't use iram

Should I concern about this warning, or is there any solution for this?

Some more details:

video file: codec h264 container mp4 resolution 1920x1080
output resolution: 1920x1080M60,bpp32 (in u-boot)
tested on standard Linux Image 2.6, and also poky (branch master)
evalboard: iris

The main question is: is Colibri imx6dl capable to play such video in good performance and it is only a some problem with configuration or gstreamer, or should i choose another hardware?

Thanks for help.

Concerning the iram warning we are not aware of any solution preventing this.

Whether the Colibri iMX6DL or actually the i.MX 6 dual lite SoC on it can play such video in any satisfactory way depends mainly on what that means for you and how much control over the parameters of your system you have. We did e.g. successfully demo such a signage setup at the Embedded World show. However we also noticed some of the limitations. First make sure your Colibri iMX6DL is truly using the full amount of RAM at its full data width (e.g. does U-Boot report 512 MB or what is free reporting). Do you require BPP 32 or could you live with our default of 16? What are the detailed codec parameters (e.g. output of mediainfo). We e.g. had to transcode some of our video material for satisfactory results.

It took a long time, but i didn’t notice that there was an answer. Some more details:

  • yes 32 bpp is required

  • u-boot reports 512MB of ram

  • top command reports: KiB Mem : 509624 total, 325860 free, 117496 used, 66268 buff/cache (idyle state)

    mediainfo 01_llama_drama_1080p.mp4
    General
    Complete name : 01_llama_drama_1080p.mp4
    Format : MPEG-4
    Format profile : Base Media / Version 2
    Codec ID : mp42 (isom/mp42)
    File size : 33.5 MiB
    Duration : 1 min 30 s
    Overall bit rate mode : Variable
    Overall bit rate : 3 120 kb/s
    Encoded date : UTC 2013-02-08 18:56:45
    Tagged date : UTC 2013-02-08 18:56:45
    gsst : 0
    gstd : 90138
    gssd : B4A7DD186HH1360442686067895
    gshh : r6---sn-5hn7su76.c.youtube.com

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4
    Format settings, CABAC : Yes
    Format settings, ReFrames : 1 frame
    Format settings, GOP : M=1, N=48
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 1 min 30 s
    Bit rate : 2 926 kb/s
    Maximum bit rate : 9 201 kb/s
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 24.000 FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.059
    Stream size : 31.4 MiB (94%)
    Encoded date : UTC 1970-01-01 00:00:00
    Tagged date : UTC 2013-02-08 18:56:47

    Audio
    ID : 2
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format profile : LC
    Codec ID : 40
    Duration : 1 min 30 s
    Bit rate mode : Variable
    Bit rate : 192 kb/s
    Maximum bit rate : 201 kb/s
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 44.1 kHz
    Frame rate : 43.066 FPS (1024 spf)
    Compression mode : Lossy
    Stream size : 2.06 MiB (6%)
    Title : IsoMedia File Produced by Google, 5-11-2011
    Encoded date : UTC 2013-02-08 18:56:46
    Tagged date : UTC 2013-02-08 18:56:47