AnsweredAssumed Answered

Gstreamer takes long to start using aiurdemux with RTP MPEG-TS Streams

Question asked by Otto Blom on May 8, 2014
Latest reply on May 12, 2014 by Otto Blom

Hi There,

 

I'm using the following pipeline to display a RTP MPEG-TS Stream

 

gst-launch udpsrc port=5000 caps="application/x-rtp, media=video, clock-rate=90000, encoding-name=MP2T-ES, payload=33" ! .recv_rtp_sink_0 gstrtpbin latency=800 ! rtpmp2tdepay ! aiurdemux ! vpudec ! mfw_v4lsink

 

It works well, however for unknown reasons it takes a long time (10 seconds) to start. See below log below for problem location

 

Aiur: 3.0.7

Core: BLN_MAD-MMLAYER_MPG2PARSER_04.04.14  build on Jun 25 2013 14:37:53

  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

<<----- 10 second delay here

Mpeg2CreateParser:parser created successfully

Movie Info:

    Seekable  : No

    Live      : Yes

    Duration  : 0:00:00.000000000

    ReadMode  : File

    programs    : 1

    Track     : 2

 

This delay goes away if I use tsdemux instead of aiurdemux, however tsdemux leaks about 1mb worth of memory per second so that is not a great alternative.

 

Any ideas on what could be going on ?

 

Thanks,

 

/Otto

Outcomes