AnsweredAssumed Answered

mfw_ipucsc on imx6 solo

Question asked by jordan guillot on Nov 17, 2014
Latest reply on Nov 25, 2014 by jordan guillot

Hi community,

 

I am trying to display subtitles on a imx6 solo based board with gstreamer0.10

The setup is the following:

rootfs built with yocto master-next, image based on fsl-image-multimedia, and MACHINE is imx6solosabresd.conf, linux kernel is 3.10.31 BETA.

 

To display subtitles :

gst-launch filesrc location=/home/root/myvideo.avi ! mpegtsdemux name=demux demux. ! queue ! h264parse ! vpudec low-latency=true ! dvbsuboverlay name=overlay ! imxv4l2sink demux. ! subpicture/x-dvb ! queue ! overlay.

 

But with this pipeline, I had no video on screen and after investigations, I inserted a Color Space Conversion (mfw_ipucsc plugin) in pipeline:

gst-launch filesrc location=/home/root/M6HD.avi ! mpegtsdemux name=demux demux. ! queue ! h264parse ! vpudec low-latency=true ! dvbsuboverlay name=overlay ! 'video/x-raw-yuv,format=(fourcc)I420' ! mfw_ipucsc !'video/x-raw-yuv,format=(fourcc)NV12' ! imxv4l2sink demux. ! subpicture/x-dvb ! queue ! overlay.

 

With this pipeline, the video is displayed with subtitles but it's very slow (less 1 fps) and following logs:

IPU_CSC_CORE_LIBRARY_VERSION_INFOR_01.00.

MFW_GST_IPU_CSC_PLUGIN 4.0.1 build on Nov  3 2014 14:02:29.

MFW_GST_V4LSINK_PLUGIN 4.0.1 build on Nov  3 2014 14:02:15.

Setting pipeline to PAUSED ...

[INFO]    Product Info: i.MX6Q/D/S

vpudec versions

    plugin: 4.0.1

    wrapper: 1.0.54(VPUWRAPPER_ARM_LINUX Build on Sep 19 2014 16:08:56)

    vpulib: 5.4.26

    firmware: 3.1.1.46060

Pipeline is PREROLLING ...

[INFO]    bitstreamMode 1, chromaInterleave 0, mapType 0, tiled2LinearEnable 0

[WARN]    VPU iram is less than needed, some parts don't use iram

set v4l rotate sucessfully

>>V4L_SINK: Actually buffer status:

    hardware buffer : 12

    software buffer : 0

hwbuf allocator zone(3133440) created

Pipeline is PREROLLED ...

Setting pipeline to PLAYING ...

full screen size:1920x1080

[V4L Update Display]: left=0, top=0, width=1920, height=1080

set v4l display crop sucessfully

New clock: GstSystemClock

WARNING: from element /GstPipeline:pipeline0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0: A lot of buffers are being dropped.

Additional debug info:

/data/fsl-community-bsp/build-elio/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/gstreamer-0.10.36/libs/gst/base/gstbasesink.c(2875): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0:

There may be a timestamping problem, or this computer is too slow.


Could you help me to resolve this problem.


Regards,

Jordan

Outcomes