I am getting following error when writing a sample program in C++ for qt and gsteamer on nitrogen6X (imx6Q) board. I am using timesys mid march 2013 release.
----
GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed
0:00:00.000310000 1807 (UNKNOWN FORMAT) segment start=0, stop=105536, last_stop=0, duration=105568, rate=0.000000, applied_rate=0.000000, flags=0x00, time=0:00:00.000000000, accum=0:00:00.000000000 INFO GST_INIT gst.c:613:init_pre: Initializing GStreamer Core Library version 0.10.36
(samp1:1807): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed
0:00:00.001499334 1807 (UNKNOWN FORMAT) segment start=0, stop=105536, last_stop=0, duration=105568, rate=0.000000, applied_rate=0.000000, flags=0x00, time=0:00:00.000000000, accum=0:00:00.000000000 INFO GST_INIT gst.c:614:init_pre: Using library installed in /usr/lib
(samp1:1807): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed
0:00:00.001752667 1807 (UNKNOWN FORMAT) segment start=0, stop=105536, last_stop=0, duration=105568, rate=0.000000, applied_rate=0.000000, flags=0x00, time=0:00:00.000000000, accum=0:00:00.000000000 INFO GST_INIT gst.c:624:init_pre: Linux nitrogen6x 3.0.35-ts-armv7l #1 SMP PREEMPT Thu Mar 7 18:19:57 EST 2013 armv7l
0:00:00.002436334 1807 default segment start=0, stop=105536, last_stop=0, duration=105568, rate=0.000000, applied_rate=0.000000, flags=0x00, time=0:00:00.000000000, accum=0:00:00.000000000 INFO GST_INIT gstquery.c:107:_gst_query_initialize: init queries
0:00:00.006112334 1807 default segment start=0, stop=111669308552, last_stop=0, duration=8590092504, rate=0.000000, applied_rate=0.000000, flags=0x00, time=0:02:17.438954496, accum=0:00:04.294967296 ERROR GST_MFWBUFFER gstmfwbuffer.c:69:open_allocator_dll: Can not open dll, libmfwba.so: cannot open shared object file: No such file or directory.
--------------------------code ---------------------------------------------------------------------------
#include <QtCore/QCoreApplication>
#include <gst/gst.h>
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
//GMainLoop *loop;
gst_init (NULL,NULL);
//loop = g_main_loop_new (NULL, FALSE);
GstElement *bin = gst_pipeline_new ("pipeline");
g_assert(bin);
//GstElement *testSrc = gst_element_factory_make("videotestsrc", "source");
GstElement *source = gst_element_factory_make("filesrc", "source");
g_assert(source);
gchar * filename = "/home/media/bbb_short_1080p.avi";
g_object_set(G_OBJECT(source), "location", filename, "typefind",true,NULL);
GstElement *videoconvert = gst_element_factory_make ("vpudec", "videoconvert");
GstElement *demux = gst_element_factory_make("aiurdemux", "demux");
GstElement *videoOut = gst_element_factory_make("mfw_isink", "videosink");
g_assert(videoOut);
gst_bin_add_many(GST_BIN(bin), source,demux, videoconvert, videoOut, NULL);
gst_element_link_many(source, videoconvert, videoOut, NULL);
gst_element_set_state(GST_ELEMENT(bin), GST_STATE_PLAYING);
a.exec();
/* unset */
//gst_element_set_state (GST_ELEMENT (bin), GST_STATE_NULL);
//gst_object_unref (GST_OBJECT (bin)); }
~
While this works with gst-launch pipeline.
Any quick suggestion is highly appreciated.
Thanks
Alok
Can you please check with the prebuilt images (rootfs) from freescale.com. Whether the same problem is reproducible?