gstreamer "aiurdemux" plugins is slow

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

gstreamer "aiurdemux" plugins is slow

2,195 Views
jordan38
Contributor II

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=239.255.1.6 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 :smileyhappy:

    plugin: 4.0.1

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

    vpulib: 5.4.26

    firmware: 3.1.1.46060

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/lib_mpg2_parser_arm11_elinux.so.3.1

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

    Mime:

          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

    Mime:

          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

    Mime:

          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

    Mime:

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

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

          )000001b32d024033249f238110111113121314141414161516151617171817181719191a191a181

          91a1a1b1b1c1b1b1a1c1d1d1e1d1d1c1f1f201f201e21222122212423242326272629282b000001b

          5148200010000

[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


regards,

Jordan

Labels (4)
0 Kudos
Reply
4 Replies

1,347 Views
jordan38
Contributor II

Hi,

During waiting an answer, I tried others plugins demuxers like tsdemux flutsdemux mpegtsdemux but they don't work fine.

Just aiurdemux works fine but it's so long to start.

For information, my video stream is in HD.

Someone could help me please, I don't understand why "aiurdemux" is slow?


regards,

Jordan

0 Kudos
Reply

1,347 Views
joanxie
NXP TechSupport
NXP TechSupport

hi, did you try to use the smaller resolution? still slow?  if not, pls try to use the smaller resolution.

0 Kudos
Reply

1,347 Views
jordan38
Contributor II

Hi,

I have a network TV streamer which I configure and I could do these tests (timing that takes aiurdemux plugin):

SD stream (1 video & 3 audios & 2 subtitles)     10 seconds

SD stream (1 video & 1 audio)                            1 seconds

HD stream (1 video & 3 audios & 2 subtitles)     14 seconds

HD stream (1 video & 1 audio)                           3 seconds

We note aiurdemux is slow when there are severals tracks in stream but, for my application, I must have all tracks in a stream.

Thus, what's the solution to save time ?

Regards,

Jordan

0 Kudos
Reply

1,347 Views
jordan38
Contributor II

Hi,

Do you have solutions to reduce aiurdemux starting time, please?

regards,

Jordan

0 Kudos
Reply