On Fri, Nov 14, 2014 at 6:27 AM, Pierre Eliotec <[email protected]> wrote: > > Hello, > > 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. > > - When I am trying the following gstreamer command, It works, I have the > video on the screen > > gst-launch filesrc location=/home/root/M6HD.avi ! mpegtsdemux name=demux > demux. ! queue !h264parse ! vpudec low-latency=true ! imxv4l2sink > > > MFW_GST_V4LSINK_PLUGIN 4.0.1 build on Sep 19 2014 16:09:46. > > 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 1, 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 > > 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 > > - But, when I am trying this gstreamer command, i haven't video on screen: > > gst-launch filesrc location=/home/root/M6HD.avi ! mpegtsdemux name=demux > demux. ! queue ! h264parse ! vpudec low-latency=true ! dvbsuboverlay > name=overlay ! imxv4l2sink demux. ! queue ! subpict ure/x-dvb ! overlay. > > > MFW_GST_V4LSINK_PLUGIN 4.0.1 build on Sep 19 2014 16:09:46. > > 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 > > 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 > > (gst-launch-0.10:734): GStreamer-CRITICAL **: gst_buffer_create_sub: > assertion 'buffer->mini_object.refcount > 0' failed > > (gst-launch-0.10:734): GStreamer-CRITICAL **: gst_mini_object_unref: > assertion 'mini_object->refcount > 0' failed > > ** (gst-launch-0.10:734): CRITICAL **: gst_base_parse_push_frame: assertion > 'frame->buffer != NULL' failed > > ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data > flow error. > > 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/gstbasesrc.c(2625): > gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0: > > streaming task paused, reason error (-5) > > Execution ended after 1523804333 ns. > > Setting pipeline to PAUSED ... > > Running time 0:00:01.634884667 render fps 3.058 > > Setting pipeline to READY ... > > (gst-launch-0.10:734): GStreamer-CRITICAL **: gst_mini_object_unref: > assertion 'mini_object->refcount > 0' failed > > Setting pipeline to NULL ... > > Total rendered:5 > > Freeing pipeline ... > > > > I think the problem is the input format of imxv4l2sink because in the first > case it's NV12 and in the second case it's I420. Do you confirm? If it's > true, could you help me please? >
The first time I saw your email, I saw no picture (because I was using a plain-text only client). Now, using gmail I got surprised by a picture. If it´s a NV12 X I420 problem (your log is pointless as it does not really shows the caps) you can try a color space conversion. If you´re using fsl gstreamer plugins, there is a plugin for csc. Daiane > Pierre, > Regards. > > > -- > _______________________________________________ > meta-freescale mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/meta-freescale > -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
