avdec_h264 seg fault

Gary Metalle Gary.Metalle at rvl.co.uk
Fri Aug 14 11:16:10 UTC 2020


Hi


I am getting a segmentation fault trying to use the avdec_h264 decoder in the libav plugin.


I am running on an ARM platform running Linux with kernel 4.14.78-mx6+ge692c3062368.

Gstreamer 1.14.4

LSB Version:    core-5.0-noarch:core-5.0-arm
Distributor ID: fslc-framebuffer
Description:    FSLC FrameBuffer 2.6
Release:        2.6
Codename:       thud


libavcodec     58. 18.100 / 58. 18.100?


root at var-som-mx6:~# gst-launch-1.0 filesrc location=/home/root/Big_Buck_Bunny_360_10s_10MB.mp4 ! qtdemux ! video/x
x-h264,alignment=au,stream-format=avc ! queue ! h264parse ! avdec_h264 ! imxipuvideosink
Setting pipeline to PAUSED ...
0:00:00.215072334  2126  0x16ded60 WARN                 basesrc gstbasesrc.c:3583:gst_base_src_start_complete:<filesrc0> pad not activated yet
Pipeline is PREROLLING ...
0:00:00.216257001  2126  0x169a400 WARN                 qtdemux qtdemux_types.c:233:qtdemux_type_get: unknown QuickTime node type pasp
0:00:00.216454334  2126  0x169a400 WARN                 qtdemux qtdemux.c:3031:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults for stream 1
0:00:00.216890334  2126  0x169a400 WARN                 basesrc gstbasesrc.c:2445:gst_base_src_update_length:<filesrc0> processing at or past EOS
Redistribute latency...
Segmentation fault


If I use a Freescale implemented imxvpudec hardware decoder then it works fine (see below).


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.


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200814/fe232d84/attachment-0001.htm>


More information about the gstreamer-devel mailing list