AnsweredAssumed Answered

mfw_vpudecoder to ximagesink

Question asked by Wouter Vanhauwaert on Jul 2, 2018
Latest reply on Jul 6, 2018 by Bio_TICFSL

As I seem to have issues with video-timings when streaming video on our imx53 for a long time, I want to test it differently. 

I want the VPU to decode the frames, but let the kernel compose the image again afterwards. For that I want to try out ximagesink in stead of mfw_v4l2sink.

My approach would be:

DISPLAY=:0 GST_DEBUG=*:2 gst-launch-0.10 -vvv udpsrc multicast-iface=eth0 multicast-group=239.0.0.10 port=20011 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! rtph264depay access-unit=true ! mfw_vpudecoder parser=false ! mfw_ipucsc ! ximagesink

 

But I get first a warning:

0:00:00.203707250 1753 0xf4490 WARN mfw_vpudecoder /opt/yocto/fsl-community-bsp_fido/build_imx53/tmp/work/imx53qsb-poky-linux-gnueabi/gst-fsl-plugin/4.0.3-r0/gst-fsl-plugins-4.0.3/src/video/vpu_dec.full/src/mfw_gst_vpu_decoder.c:2116:mfw_gst_vpudec_check_allowed_caps: video sink does not support NV12, try I420

 

And after a while errors:

0:00:10.549960125 1761 0xf4490 ERROR mfw_vpudecoder /opt/yocto/fsl-community-bsp_fido/build_imx53/tmp/work/imx53qsb-poky-linux-gnueabi/gst-fsl-plugin/4.0.3-r0/gst-fsl-plugins-4.0.3/src/video/vpu_dec.full/src/mfw_gst_vpu_decoder.c:2804:mfw_gst_vpudec_render: >>VPU_DEC: Error -4 Pushing Output onto the Source Pad, idx=0
0:00:10.559277250 1761 0xf4490 WARN basetransform /opt/yocto/fsl-community-bsp_fido/build_imx53/tmp/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/gstreamer-0.10.36/libs/gst/base/gstbasetransform.c:1304:gst_base_transform_setcaps:<mfwgstipucsc0> transform could not transform video/x-raw-yuv, format=(fourcc)I420, width=(int)1920, height=(int)304, width_align=(int)16, height_align=(int)16, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, crop-top=(int)0, crop-left=(int)0, crop-right=(int)0, crop-bottom=(int)4, num-buffers-required=(int)12, field=(int)0 in anything we support
0:00:10.559694125 1761 0xf4490 ERROR mfw_vpudecoder /opt/yocto/fsl-community-bsp_fido/build_imx53/tmp/work/imx53qsb-poky-linux-gnueabi/gst-fsl-plugin/4.0.3-r0/gst-fsl-plugins-4.0.3/src/video/vpu_dec.full/src/mfw_gst_vpu_decoder.c:2804:mfw_gst_vpudec_render: >>VPU_DEC: Error -4 Pushing Output onto the Source Pad, idx=3
0:00:10.571086500 1761 0xf4490 WARN basetransform /opt/yocto/fsl-community-bsp_fido/build_imx53/tmp/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/gstreamer-0.10.36/libs/gst/base/gstbasetransform.c:1304:gst_base_transform_setcaps:<mfwgstipucsc0> transform could not transform video/x-raw-yuv, format=(fourcc)I420, width=(int)1920, height=(int)304, width_align=(int)16, height_align=(int)16, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, crop-top=(int)0, crop-left=(int)0, crop-right=(int)0, crop-bottom=(int)4, num-buffers-required=(int)12, field=(int)0 in anything we support

 

.......

 

Anyone knows what to add where? I don't see an issue...

Outcomes