AnsweredAssumed Answered

IMX6 gstreamer pipeline segfault using mfw_mpeg2decoder

Question asked by luca santini on Mar 26, 2013
Latest reply on Aug 1, 2014 by Moreno Hassem
Branched to a new discussion

Hi All,

i'm working with a dvb-t dongle, aiming to watch tv on a MX6Q.

i'm using ltib filesystem with kernel 3.0.35

 

this is my not-working pipeline:

gst-launch-0.10 dvbbasebin bandwidth=8 code-rate-lp=AUTO code-rate-hp=AUTO guard=AUTO hierarchy=AUTO modulation=AUTO trans-mode=AUTO inversion=AUTO frequency=$f program-numbers=$pn ! mpegtsdemux name=demux ! queue max-size-buffers=0 max-size-time=0 ! mfw_mpeg2decoder ! mfw_v4lsink axis-top=0 axis-left=0 disp-width=$WIDTH disp-height=$HEIGHT axis-top=$Y setpara=1

 

! consider that substituting mfw_mpeg2decoder with ffdec_mpeg2video there is not segfault (but video has frames dropped) !

 

please give me an hint to solve this problem!

 

this is my console output:

//-----------------

root@freescale /$ export GST_DEBUG=mfw*:5

MPEG2D_ARM11_02.02.00  build on Apr 19 2011 19:06:38.

MFW_GST_MPEG2_DECODER_PLUGIN 3.0.5 build on Jan 31 2013 08:30:42.

0:00:01.057304156  2606    0x17050 INFO             mfw_v4lsink mfw_gst_v4lsink.c:262:mfw_gst_get_first_odev: Get first device:/dev/video16, capabilities 0x4000002

0:00:01.057596823  2606    0x17050 INFO             mfw_v4lsink mfw_gst_v4lsink.c:300:mfw_gst_v4l2sink_query_support_formats: supported format:[RGBP]RGB565

0:00:01.057674822  2606    0x17050 INFO             mfw_v4lsink mfw_gst_v4lsink.c:300:mfw_gst_v4l2sink_query_support_formats: supported format:[BGR3]BGR24

0:00:01.057745822  2606    0x17050 INFO             mfw_v4lsink mfw_gst_v4lsink.c:300:mfw_gst_v4l2sink_query_support_formats: supported format:[RGB3]RGB24

0:00:01.057812822  2606    0x17050 INFO             mfw_v4lsink mfw_gst_v4lsink.c:300:mfw_gst_v4l2sink_query_support_formats: supported format:[RGB4]RGB32

0:00:01.057879489  2606    0x17050 INFO             mfw_v4lsink mfw_gst_v4lsink.c:300:mfw_gst_v4l2sink_query_support_formats: supported format:[BGR4]BGR32

0:00:01.057944156  2606    0x17050 INFO             mfw_v4lsink mfw_gst_v4lsink.c:300:mfw_gst_v4l2sink_query_support_formats: supported format:[NV12]NV12

0:00:01.058009156  2606    0x17050 INFO             mfw_v4lsink mfw_gst_v4lsink.c:300:mfw_gst_v4l2sink_query_support_formats: supported format:[UYVY]UYVY

0:00:01.058073156  2606    0x17050 INFO             mfw_v4lsink mfw_gst_v4lsink.c:300:mfw_gst_v4l2sink_query_support_formats: supported format:[YUYV]YUYV

0:00:01.058138489  2606    0x17050 INFO             mfw_v4lsink mfw_gst_v4lsink.c:300:mfw_gst_v4l2sink_query_support_formats: supported format:[422P]YUV422 planar

0:00:01.058202489  2606    0x17050 WARN             mfw_v4lsink mfw_gst_v4lsink.c:303:mfw_gst_v4l2sink_query_support_formats: unrecognized format:[Y444]YUV444

0:00:01.058268822  2606    0x17050 INFO             mfw_v4lsink mfw_gst_v4lsink.c:300:mfw_gst_v4l2sink_query_support_formats: supported format:[YU12]YUV420

0:00:01.058333489  2606    0x17050 INFO             mfw_v4lsink mfw_gst_v4lsink.c:300:mfw_gst_v4l2sink_query_support_formats: supported format:[YV12]YVU420

0:00:01.058397489  2606    0x17050 INFO             mfw_v4lsink mfw_gst_v4lsink.c:300:mfw_gst_v4l2sink_query_support_formats: supported format:[TNVP]TILED NV12P

0:00:01.058461489  2606    0x17050 INFO             mfw_v4lsink mfw_gst_v4lsink.c:300:mfw_gst_v4l2sink_query_support_formats: supported format:[TNVF]TILED NV12F

0:00:01.058525155  2606    0x17050 INFO             mfw_v4lsink mfw_gst_v4lsink.c:300:mfw_gst_v4l2sink_query_support_formats: supported format:[444P]YUV444 planar

MFW_GST_V4LSINK_PLUGIN 3.0.5 build on Jan 31 2013 08:29:57.

0:00:01.060863154  2606    0x17050 DEBUG            mfw_v4lsink mfw_gst_v4lsink.c:782:mfw_gst_v4lsink_set_property: axis_top = 0

0:00:01.060979487  2606    0x17050 DEBUG            mfw_v4lsink mfw_gst_v4lsink.c:786:mfw_gst_v4lsink_set_property: axis_left = 0

0:00:01.061081154  2606    0x17050 DEBUG            mfw_v4lsink mfw_gst_v4lsink.c:774:mfw_gst_v4lsink_set_property: width = 800

0:00:01.061181487  2606    0x17050 DEBUG            mfw_v4lsink mfw_gst_v4lsink.c:778:mfw_gst_v4lsink_set_property: height = 450

0:00:01.061282154  2606    0x17050 DEBUG            mfw_v4lsink mfw_gst_v4lsink.c:782:mfw_gst_v4lsink_set_property: axis_top = 85

Setting pipeline to PAUSED ...

0:00:01.062855153  2606    0x17050 DEBUG            mfw_v4lsink mfw_gst_v4lsink.c:1468:mfw_gst_v4lsink_change_state:

>>V4LSINK: State: 10

0:00:01.705054828  2606    0x17050 DEBUG            mfw_v4lsink mfw_gst_v4lsink.c:1468:mfw_gst_v4lsink_change_state:

>>V4LSINK: State: 19

Pipeline is live and does not need PREROLL ...

Setting pipeline to PLAYING ...

New clock: GstSystemClock

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso8859-9' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso8859-9' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso8859-9' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso8859-9' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso8859-9' to 'utf-8' is not supported

 

 

(gst-launch-0.10:2606): GStreamer-WARNING **: Trying to set string on structure field 'extended-text', but string is not valid UTF-8. Please file a bug.

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso8859-9' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso8859-9' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso8859-9' to 'utf-8' is not supported

 

 

(gst-launch-0.10:2606): GStreamer-WARNING **: Trying to set string on structure field 'extended-text', but string is not valid UTF-8. Please file a bug.

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso8859-9' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso8859-9' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso8859-9' to 'utf-8' is not supported

 

 

(gst-launch-0.10:2606): GStreamer-WARNING **: Trying to set string on structure field 'extended-text', but string is not valid UTF-8. Please file a bug.

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso8859-9' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso8859-9' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso8859-9' to 'utf-8' is not supported

 

 

(gst-launch-0.10:2606): GStreamer-WARNING **: Trying to set string on structure field 'extended-text', but string is not valid UTF-8. Please file a bug.

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso8859-9' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso8859-9' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso8859-9' to 'utf-8' is not supported

 

 

(gst-launch-0.10:2606): GStreamer-WARNING **: Trying to set string on structure field 'extended-text', but string is not valid UTF-8. Please file a bug.

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

 

 

** (gst-launch-0.10:2606): CRITICAL **: Could not convert string: Conversion from character set 'iso6937' to 'utf-8' is not supported

0:00:08.375314161  2606   0x106348 DEBUG       mfw_mpeg2decoder mfw_gst_mpeg2dec.c:1007:mfw_gst_mpeg2dec_sink_event: handling newsegment event

0:00:08.375504494  2606   0x106348 DEBUG       mfw_mpeg2decoder mfw_gst_mpeg2dec.c:1019:mfw_gst_mpeg2dec_sink_event:  receiving new seg

 

 

0:00:08.375590828  2606   0x106348 DEBUG       mfw_mpeg2decoder mfw_gst_mpeg2dec.c:1020:mfw_gst_mpeg2dec_sink_event:  start = 20:22:25.317944444

0:00:08.375658161  2606   0x106348 DEBUG       mfw_mpeg2decoder mfw_gst_mpeg2dec.c:1021:mfw_gst_mpeg2dec_sink_event:  stop = 99:99:99.999999999

0:00:08.375721828  2606   0x106348 DEBUG       mfw_mpeg2decoder mfw_gst_mpeg2dec.c:1024:mfw_gst_mpeg2dec_sink_event:  position in mpeg2dec   =0:00:00.000000000

0:00:08.375952161  2606   0x106348 DEBUG       mfw_mpeg2decoder mfw_gst_mpeg2dec.c:1116:mfw_gst_mpeg2dec_set_caps:  in mfw_gst_mpeg2dec_set_caps function

 

 

0:00:08.376037828  2606   0x106348 DEBUG       mfw_mpeg2decoder mfw_gst_mpeg2dec.c:1127:mfw_gst_mpeg2dec_set_caps:  Frame Rate = nan

 

 

0:00:08.376215828  2606   0x106348 DEBUG       mfw_mpeg2decoder mfw_gst_mpeg2dec.c:681:mfw_gst_mpeg2dec_chain:

Coming for the first time to do the decoder                          initialization

 

 

Caught SIGSEGV accessing address 0x14

Spinning.  Please run 'gdb gst-launch 2606' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.

 

 

root@freescale /$

 

 

 

//-----------------

 

Outcomes