Gstreamer on qt4

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Gstreamer on qt4

1,722 次查看
xiaoqiangyang
Contributor III

Hello all,

  I built core-image-base and meta-toolchain-qte on Yocto(L4.1.15_1.1.0-ga)and installed phonon and gstreamer. After build the demo 'qmediaplayer' inside qt-4.8.7, I successfully played video on Windows. Then I compiled the project under linux using my Qt lib created by meta-toolchain-qte. The app can run on my target board and can display the ui, but with no video.

some errors I got:

qmediaplayer:311): GStreamer-CRITICAL **: gst_bin_add_many: assertion 'GST_IS_ELEMENT (element_1)' failed

(qmediaplayer:311): GStreamer-CRITICAL **: gst_element_get_pad: assertion 'GST_IS_ELEMENT (element)' failed

(qmediaplayer:311): GStreamer-CRITICAL **: gst_ghost_pad_new: assertion 'GST_IS_PAD (target)' failed

(qmediaplayer:311): GStreamer-CRITICAL **: gst_element_add_pad: assertion 'GST_IS_PAD (pad)' failed

(qmediaplayer:311): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed

(qmediaplayer:311): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(qmediaplayer:311): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed

Gstreamer plugin I install are:gst-meta-base,gst-plugins-bad,gst-plugins-base,gst-plugins-good,gst-plugins-ugly, the version is 0.10, CPU is a single A5 core with out GPU enabled. The app displays on framebuffer.

Some tells my that maybe a gstreamer plugin is missed but I don't know which one.

Who can help me?

 

Thanks in advance!

Xiaoqiang

标签 (3)
0 项奖励
回复
2 回复数

1,320 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Xiaoqiang

there are 2 separate plugin's : community GStreamer-imx plugins and
nxp GStreamer Plugins (fsl-gst-plugin package)

trac.gateworks.com/wiki/Yocto/gstreamer

One can try nxp using bsps on below link

i.MX 6 Series Software and Development Tool|NXP 

http://www.nxp.com/webapp/Download?colCode=L4.1.15_1.0.0_LINUX_DOCS&Parent_nodeId=133769948107170617... 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,320 次查看
xiaoqiangyang
Contributor III

I followed your advice, when I use ' bitbake fsl-gst-plugin', it gives :

ERROR: Nothing PROVIDES 'fsl-gst-plugin'. Close matches:
fsl-alsa-plugins
gst-plugins-gl
imx-gst1.0-plugin

if I use 'bitbake gst-fsl-plugin' it gives:

ERROR: Nothing PROVIDES 'gst-fsl-plugin'. Close matches:
gst1.0-fsl-plugin
gst-plugins-gl

I don't know if I used the correct command and whether gst1.0 conflicts with my gst0.10 and qt4-embedded.

By the way, how can I build community GStreamer-imx plugins with bitbake?

Thank you!

0 项奖励
回复