<div dir="ltr">Hello all,<div><br></div><div>I have written the same problem before gstreamer-devel forum but I cannot find any support to assist me in this problem. So I am writing here, expecting to find some support here.</div><div><br></div><div>Here is the link to post in gstreamer-devel forum.</div><div><br></div><div><a href="http://gstreamer-devel.966125.n4.nabble.com/Compilation-of-gstreamer-vaapi-from-source-tc4673454.html">http://gstreamer-devel.966125.n4.nabble.com/Compilation-of-gstreamer-vaapi-from-source-tc4673454.html</a><br></div><div><br></div><div>Meanwhile I have been working on problem and I want to share a more detailed version of the problem:</div><div><br></div><div>I have compiled gstreamer, gstreamer-base and gstreamer-bad of versions 1.5.90.</div><div>I have compiled gstreamer-vaapi 0.6.0 version. Before compilation I have been using the following flags to configure the library:</div><div><br></div><div><b>./configure --prefix=/usr/local --enable-builtin-videoparsers --enable-builtin-codecparsers=no --enable-encoders</b><br></div><div><b><br></b></div><div>The library was compiled successfully and I have installed it. After installation I run the following command:</div><div><b>$ gst-inspect-1.0 -b</b><br></div><div><br></div><div>and I got the following output:</div><div><div><b>(gst-plugin-scanner:26005): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-1.0/libgstvaapi_parse.so': /usr/local/lib/gstreamer-1.0/libgstvaapi_parse.so: undefined symbol: gst_h265_parser_free</b></div><div><b>Blacklisted files:</b></div><div><b> libgstvaapi_parse.so</b></div><div><b><br></b></div><div>I control the file <b>libgstvaapi_parse.so</b> <b>, </b>the following is portion of output that contains h265 word:</div><div><br></div><div><div><b>000000000001c3b0 t gst_h265_parse_class_intern_init</b></div><div><b>000000000001da80 t gst_h265_parse_event</b></div><div><b>000000000001d880 t gst_h265_parse_finalize</b></div><div><b>000000000001c720 t gst_h265_parse_format_from_caps</b></div><div><b>000000000001c640 t gst_h265_parse_get_caps</b></div><div><b>000000000001dc90 t gst_h265_parse_get_property</b></div><div><b>000000000001d8b0 t gst_h265_parse_get_string.isra.1.part.2</b></div><div><b>00000000000229b0 t gst_h265_parse_get_type</b></div><div><b>000000000001f480 t gst_h265_parse_handle_frame</b></div><div><b>000000000001c380 t gst_h265_parse_init</b></div><div><b>000000000001ddb0 t gst_h265_parse_negotiate</b></div><div><b>000000000022dfd8 b gst_h265_parse_parent_class</b></div><div><b>000000000001f380 t gst_h265_parse_parse_frame</b></div><div><b>0000000000020bf0 t gst_h265_parse_pre_push_frame</b></div><div><b>000000000022dfd0 b GstH265Parse_private_offset</b></div><div><b>000000000001cc20 t gst_h265_parse_process_nal</b></div><div><b>000000000001d500 t gst_h265_parse_push_codec_buffer</b></div><div><b>000000000001d620 t gst_h265_parse_reset</b></div><div><b>000000000001d570 t gst_h265_parse_reset_frame</b></div><div><b> U gst_h265_parser_free</b></div><div><b> U gst_h265_parser_identify_nalu</b></div><div><b> U gst_h265_parser_identify_nalu_hevc</b></div><div><b> U gst_h265_parser_identify_nalu_unchecked</b></div><div><b> U gst_h265_parser_new</b></div><div><b> U gst_h265_parser_parse_nal</b></div><div><b> U gst_h265_parser_parse_pps</b></div><div><b> U gst_h265_parser_parse_slice_hdr</b></div><div><b> U gst_h265_parser_parse_sps</b></div><div><b> U gst_h265_parser_parse_vps</b></div><div><b>000000000001c900 t gst_h265_parser_store_nal</b></div><div><b>0000000000020610 t gst_h265_parse_set_caps</b></div><div><b>000000000001dd20 t gst_h265_parse_set_property</b></div><div><b>000000000001d8e0 t gst_h265_parse_src_event</b></div><div><b>000000000001d800 t gst_h265_parse_start</b></div><div><b>000000000001d710 t gst_h265_parse_stop</b></div><div><b>000000000001e060 t gst_h265_parse_update_src_caps</b></div><div><b>000000000001cb20 t gst_h265_parse_wrap_nal</b></div><div><b> U gst_h265_slice_hdr_free</b></div></div><div><b><br></b></div><div>It seems that, the symbol <b>gst_h265_parser_free </b>actually is not undefined. However this is normal in circumstances where this undefined symbol is defined somewhere else. So I have controlled the ldd output of the <b>libgstvaapi_parse.so</b> file to see the external dependencies:</div><div><br></div><div><div><b>$ ldd libgstvaapi_parse.so </b></div><div><b><br></b></div><div>The following is the output:</div><div><b><br></b></div><div><b><span class="" style="white-space:pre"> </span>linux-vdso.so.1 => (0x00007fffe5aa6000)</b></div><div><b><span class="" style="white-space:pre"> </span>libgstcodecparsers_vpx.so.0 => /usr/local/lib/libgstcodecparsers_vpx.so.0 (0x00007faec7ba9000)</b></div><div><b><span class="" style="white-space:pre"> </span>libgstvideo-1.0.so.0 => /usr/local/lib/libgstvideo-1.0.so.0 (0x00007faec793c000)</b></div><div><b><span class="" style="white-space:pre"> </span>libgstbase-1.0.so.0 => /usr/local/lib/libgstbase-1.0.so.0 (0x00007faec76de000)</b></div><div><b><span class="" style="white-space:pre"> </span>libgstreamer-1.0.so.0 => /usr/local/lib/libgstreamer-1.0.so.0 (0x00007faec73c4000)</b></div><div><b><span class="" style="white-space:pre"> </span>libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007faec7173000)</b></div><div><b><span class="" style="white-space:pre"> </span>libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007faec6e6a000)</b></div><div><b><span class="" style="white-space:pre"> </span>libgstpbutils-1.0.so.0 => /usr/local/lib/libgstpbutils-1.0.so.0 (0x00007faec6c40000)</b></div><div><b><span class="" style="white-space:pre"> </span>libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007faec6a22000)</b></div><div><b><span class="" style="white-space:pre"> </span>libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007faec665b000)</b></div><div><b><span class="" style="white-space:pre"> </span>libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007faec6355000)</b></div><div><b><span class="" style="white-space:pre"> </span>libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007faec6151000)</b></div><div><b><span class="" style="white-space:pre"> </span>librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007faec5f48000)</b></div><div><b><span class="" style="white-space:pre"> </span>libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007faec5d44000)</b></div><div><b><span class="" style="white-space:pre"> </span>libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007faec5b3c000)</b></div><div><b><span class="" style="white-space:pre"> </span>libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007faec58fd000)</b></div><div><b><span class="" style="white-space:pre"> </span>libgstaudio-1.0.so.0 => /usr/local/lib/libgstaudio-1.0.so.0 (0x00007faec56b3000)</b></div><div><b><span class="" style="white-space:pre"> </span>/lib64/ld-linux-x86-64.so.2 (0x00007faec8045000)</b></div><div><b><span class="" style="white-space:pre"> </span>libgsttag-1.0.so.0 => /usr/local/lib/libgsttag-1.0.so.0 (0x00007faec5479000)</b></div><div><b><span class="" style="white-space:pre"> </span>libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007faec5260000)</b></div></div><div><br></div><div><br></div><div>I have found that the symbol is defined in <b><a href="http://libgstcodecparsers-1.0.so">libgstcodecparsers-1.0.so</a> </b>but libgstvaapi_parse.so does not have any dependency on this library nor files it is depended. </div><div><br></div><div>Could you please help me to find the problem?</div><div><br></div><div>Regards.</div>
</div></div>