AnsweredAssumed Answered

gstreamer "aiurdemux" plugins is slow

Question asked by jordan guillot on Feb 5, 2015
Latest reply on Feb 18, 2015 by jordan guillot

Hi community,


I am trying to display a IPTV stream on a imx6 dual based board with gstreamer0.10

The setup is the following:

rootfs built with yocto master-next, image based on fsl-image-multimedia, and linux kernel is 3.10.31 BETA.


I broadcast a IPTV stream on my local network which contain 4 tracks : 1 video, 3 audio.


I am using the following gstreamer command line to display video and play audio: gst-launch udpsrc multicast-group= port=1234 caps=video/mpegts ! aiurdemux streaming-latency=1000 name=demux demux. ! queue ! vpudec low-latency=true ! imxv4l2sink demux. ! queue ! beepdec ! playsink

My issue is "aiurdemux" plugin of gstreamer is very slow to demux the stream.

logs and comments:



MFW_GST_V4LSINK_PLUGIN 4.0.1 build on Nov  3 2014 14:02:15.

Setting pipeline to PAUSED ...

[INFO]    Product Info: i.MX6Q/D/S

vpudec versions

    plugin: 4.0.1

    wrapper: 1.0.54(VPUWRAPPER_ARM_LINUX Build on Nov 20 2014 15:32:31)

    vpulib: 5.4.26


Pipeline is live and does not need PREROLL ...

Setting pipeline to PLAYING ...

New clock: GstSystemClock

Aiur: 4.0.1

Core: BLN_MAD-MMLAYER_MPG2PARSER_04.04.23  build on Apr 11 2014 07:20:12

  mime: video/mpeg, mpegversion=(int)[1,2]; video/mpegts, systemstream=true; video/x-cdxa

  file: /usr/lib/imx-mm/parser/

Content Info:

    Seekable  : No

    Size(byte): -1


"aiurdemux" plugin blocs during from 10 to 15 seconds and after continue:



Mpeg2CreateParser:parser created successfully

Movie Info:

    Seekable  : No

    Live      : Yes

    Duration  : 0:00:00.000000000

    ReadMode  : File

    programs    : 1

    Track     : 4


Track 00 [audio_606277] Enabled

    ppid: 1542, ppid 631

    Duration: 0:00:00.000000000

    Language: qaa


          audio/mpeg, mpegversion=(int)1, framed=(boolean)true, channels=(int)2, rate=(int

          )48000, bitrate=(int)128

Track 01 [audio_606279] Enabled

    ppid: 1542, ppid 633

    Duration: 0:00:00.000000000

    Language: qad


          audio/mpeg, mpegversion=(int)1, framed=(boolean)true, channels=(int)2, rate=(int

          )48000, bitrate=(int)128

Track 02 [audio_606276] Enabled

    ppid: 1542, ppid 630

    Duration: 0:00:00.000000000

    Language: fra


          audio/mpeg, mpegversion=(int)1, framed=(boolean)true, channels=(int)2, rate=(int

          )48000, bitrate=(int)160

Track 03 [video_60626c] Enabled

    ppid: 1542, ppid 620

    Duration: 0:00:00.000000000

    Language: und


          video/mpeg, systemstream=(boolean)false, parsed=(boolean)true, mpegversion=(int)

          2, width=(int)720, height=(int)576, framerate=(fraction)25/1, codec_data=(buffer




[INFO]    bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0

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

set v4l rotate sucessfully

>>V4L_SINK: Actually buffer status:

    hardware buffer : 10

    software buffer : 0

full screen size:1920x1080

[V4L Update Display]: left=0, top=0, width=1920, height=1080

set v4l display crop sucessfully




Could you help me to resolve this issue