Problem when using imxcompositor_g2d with i.MX8QM apalis

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Problem when using imxcompositor_g2d with i.MX8QM apalis

731件の閲覧回数
hhami_2040
Contributor III

 


Hi all,
I’m running an application with the i.MX8QMand have used gstreamer pipline for display CSI Camera that using the imxcompositor_g2d


I want to use a pipeline using imxcompositor_g2d and multifilesrc png file but faced an error (multifilesrc and imxcompositor_g2d)
bellow is comparing the following two pipelines Pipe#1 have run without error:

Pipe#1

root@apalis-imx8:~#gst-launch-1.0 multifilesrc location=“/home/root/feeds-st.png” caps=“image/png,framerate=1/1” ! pngdec ! imagefreeze ! videoconvert ! waylandsink -v


output is ok and display picture


Pipe#2

root@apalis-imx8:~# gst-launch-1.0 imxcompositor_g2d name=comp sink_0::width=460 sink_0::height=288 ! waylandsink multifilesrc location="/hroot@apalis-imx8-06506314:~# gst-launch-1.0 imxcompositor_g2d name=comp sink_0::width=460 sink_0::height=288 sink_0::xpos=160 sink_0::ypos=120  ! waylandsink multifilesrc location="/home/root/feeds-st.png"  caps="image/png,framerate=1/1"  ! pngdec ! imagefreeze  ! videoconvert  ! comp.sink_0 -v
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstMultiFileSrc:multifilesrc0.GstPad:src: caps = image/png, width=(int)64, height=(int)64, framerate=(fraction)1/1
/GstPipeline:pipeline0/GstPngDec:pngdec0.GstPad:sink: caps = image/png, width=(int)64, height=(int)64, framerate=(fraction)1/1
/GstPipeline:pipeline0/GstPngDec:pngdec0.GstPad:src: caps = video/x-raw, format=(string)RGBA, width=(int)25, height=(int)25, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB, framerate=(fraction)1/1
ERROR: from element /GstPipeline:pipeline0/GstMultiFileSrc:multifilesrc0: Internal data stream error.
Additional debug info:
../git/libs/gst/base/gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstMultiFileSrc:multifilesrc0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...


feeds-st.png is a 25x25 pix image.
Maybe there is conflict configuration between tow pipeline!! What should I do?Can anyone guide Me?!
Sure, I will wait for your feedback.
Best regards,

 

0 件の賞賛
返信
1 返信

700件の閲覧回数
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @hhami_2040,

I hope you are doing well.

Please make sure to use the latest Gstreamer version.
Please refer to section 12.2. i.MX 8QXP/QM in the link.

For more details please refer to this link.
https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/imx-processors%40tkb/15/2/i.MX8GStreamer...

I hope it will help!

Thanks & Regards,
Dhruvit Vasavada

0 件の賞賛
返信