Unable to use gstreamer imxg2dcompositor plugin with v4l2src

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

Unable to use gstreamer imxg2dcompositor plugin with v4l2src

1,901 次查看
aurelienbouin
Contributor IV

Hi all,

I am using custom image based on yocto krogoth freescale branch using linux 4.1.35, gstreamer 1.6.3 with imx plugin on iMX6DL
I have a strange behavior with the display compositor imxg2dcompositor

A working pipeline :

gst-launch-1.0 -vvvv \
imxg2dcompositor name=c sink_0::xpos=0   sink_0::ypos=0   sink_0::width=160 sink_0::height=120 sink_0::fill_color=0x00000000 ! queue ! imxg2dvideosink window-width=240 window-height=320 window-y-coord=0 window-x-coord=0 output-rotation=3 \
videotestsrc ! avenc_mjpeg ! "image/jpeg, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)15/1" ! \
jpegparse ! imxvpudec ! video/x-raw,width=640,height=480,framerate=15/1 ! imxipuvideotransform ! video/x-raw,width=320,height=240,framerate=15/1 ! imxvpuenc_h264 idr-interval=16 quant-param=2 ! h264parse ! rtph264pay ! queue ! rtph264depay ! h264parse ! imxvpudec ! imxipuvideotransform ! queue ! c.sink_0

working-pipe.log - Pastebin.com with export GST_DEBUG="imxg2d*:6"

A pipeline that do not work :

gst-launch-1.0 -vvvv \
imxg2dcompositor name=c sink_0::xpos=0   sink_0::ypos=0   sink_0::width=160 sink_0::height=120 sink_0::fill_color=0x00000000 ! queue ! imxg2dvideosink window-width=240 window-height=320 window-y-coord=0 window-x-coord=0 output-rotation=3 \
v4l2src device=/dev/v4l/by-id/usb-Alcor_Micro__Corp._USB_2.0_PC_Camera-video-index0 ! "image/jpeg, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)15/1" ! \
 jpegparse ! imxvpudec ! video/x-raw,width=640,height=480,framerate=15/1 ! imxipuvideotransform ! video/x-raw,width=320,height=240,framerate=15/1 ! imxvpuenc_h264 idr-interval=16 quant-param=2 ! h264parse ! rtph264pay ! queue ! rtph264depay ! h264parse ! imxvpudec ! imxipuvideotransform ! queue ! c.sink_0

not-working-pipe.log - Pastebin.com  with export GST_DEBUG="imxg2d*:6"

Do you have any suggestion ?

Thank you

Regards,

Aurelien BOUIN

标签 (1)
标记 (1)
2 回复数

1,320 次查看
tyounger
Contributor II

I have the same problem. I ended up lowering the frame rate and using videomixer instead.

0 项奖励
回复

1,320 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Aurelien

please check usage imxg2dcompositor plugin on
http://trac.gateworks.com/wiki/Yocto/gstreamer/compositing
also as gstreamer-imx plugins are developed and supported by community,
questions can be posted on  meta-fsl-arm mailing list
https://lists.yoctoproject.org/listinfo/meta-freescale

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

0 项奖励
回复