<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">Hi</span></p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);"><br>
</span></p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">I am getting a segmentation fault trying to use the avdec_h264 decoder in the libav plugin.</span></p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);"><br>
</span></p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">I am running on an ARM platform running Linux with kernel 4.14.78-mx6+ge692c3062368.</span></p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">Gstreamer 1.14.4</span></p>
<div>LSB Version: core-5.0-noarch:core-5.0-arm</div>
<div>Distributor ID: fslc-framebuffer</div>
<div>Description: FSLC FrameBuffer 2.6</div>
<div>Release: 2.6</div>
<div>Codename: thud<br>
</div>
<p><br>
</p>
<p>libavcodec 58. 18.100 / 58. 18.100<br>
</p>
<p><br>
</p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);"></span></p>
<div>root@var-som-mx6:~# gst-launch-1.0 filesrc location=/home/root/Big_Buck_Bunny_360_10s_10MB.mp4 ! qtdemux ! video/x</div>
<div>x-h264,alignment=au,stream-format=avc ! queue ! h264parse ! avdec_h264 ! imxipuvideosink</div>
<div>Setting pipeline to PAUSED ...</div>
<div>0:00:00.215072334 2126 0x16ded60 WARN basesrc gstbasesrc.c:3583:gst_base_src_start_complete:<filesrc0> pad not activated yet</div>
<div>Pipeline is PREROLLING ...</div>
<div>0:00:00.216257001 2126 0x169a400 WARN qtdemux qtdemux_types.c:233:qtdemux_type_get: unknown QuickTime node type pasp</div>
<div>0:00:00.216454334 2126 0x169a400 WARN qtdemux qtdemux.c:3031:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults for stream 1</div>
<div>0:00:00.216890334 2126 0x169a400 WARN basesrc gstbasesrc.c:2445:gst_base_src_update_length:<filesrc0> processing at or past EOS</div>
<div>Redistribute latency...</div>
<div>Segmentation fault<br>
</div>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);"></span><br>
</p>
<p>If I use a Freescale implemented imxvpudec hardware decoder then it works fine (see below).<br>
</p>
<p><br>
</p>
<p>I appreciate the platform is very specific, I will speak to my boss on Monday who built the distribution and see if he can rebuild it. Just wanted to know if sort of issue anyone has seen or can recommend some further investigation.<br>
</p>
<p><br>
</p>
<p>gst-launch-1.0 filesrc location=/home/root/Big_Buck_Bunny_360_10s_10MB.mp4 ! qtdemux ! video/x-h264,alignment=au,stream-format=avc ! queue ! h264parse ! imxvpudec ! imxipuvideosink<br>
</p>
</body>
</html>