<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div><div>Hello,<br><br></div>I am trying to display subtitles on a imx6 solo based board with gstreamer0.10.<br><br>The setup is the following:<br>rootfs
built with yocto master-next, image based on fsl-image-multimedia, and
MACHINE is imx6solosabresd.conf, linux kernel is 3.10.31 BETA.<br><br></div>- When I am trying the following gstreamer command, It works, I have the video on the screen<br><div>
<p style="margin-bottom:0cm;line-height:100%">gst-launch filesrc
location=/home/root/M6HD.avi ! mpegtsdemux name=demux demux. ! queue
!h264parse ! vpudec low-latency=true ! imxv4l2sink
</p>
<p style="margin-bottom:0cm;line-height:100%"><br>
</p>
<p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">MFW_GST_V4LSINK_PLUGIN
4.0.1 build on Sep 19 2014 16:09:46.
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">Setting pipeline to
PAUSED ...
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">[INFO] Product Info:
i.MX6Q/D/S
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">vpudec versions :)
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)"> plugin: 4.0.1
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)"> wrapper:
1.0.54(VPUWRAPPER_ARM_LINUX Build on Sep 19 2014 16:08:56)
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)"> vpulib: 5.4.26
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)"> firmware:
3.1.1.46060
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">Pipeline is
PREROLLING ...
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">[INFO] bitstreamMode
1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">[WARN] VPU iram is
less than needed, some parts don't use iram
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">set v4l rotate
sucessfully
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">>>V4L_SINK:
Actually buffer status:
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)"> hardware buffer :
12
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)"> software buffer :
0
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">Pipeline is
PREROLLED ...
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">Setting pipeline to
PLAYING ...
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">full screen
size:1920x1080
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">[V4L Update
Display]: left=0, top=0, width=1920, height=1080
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">set v4l display crop
sucessfully
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">New clock:
GstSystemClock
</span></p>
<p style="margin-bottom:0cm;line-height:100%"><img alt="Images intégrées 1" src="cid:ii_1498084632028bfb" height="281" width="535"></p><p style="margin-bottom:0cm;line-height:100%">- But, when I am trying this gstreamer command, i haven't video on screen:</p>
<p style="margin-bottom:0cm;line-height:100%">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. <br></p><p style="margin-bottom:0cm;line-height:100%"><br></p>
<p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">MFW_GST_V4LSINK_PLUGIN
4.0.1 build on Sep 19 2014 16:09:46.
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">Setting pipeline to
PAUSED ...
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">[INFO] Product Info:
i.MX6Q/D/S
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">vpudec versions :)
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)"> plugin: 4.0.1
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)"> wrapper:
1.0.54(VPUWRAPPER_ARM_LINUX Build on Sep 19 2014 16:08:56)
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)"> vpulib: 5.4.26
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)"> firmware:
3.1.1.46060
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">Pipeline is
PREROLLING ...
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">[INFO] bitstreamMode
1, chromaInterleave 0, mapType 0, tiled2LinearEnable 0
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">[WARN] VPU iram is
less than needed, some parts don't use iram
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">set v4l rotate
sucessfully
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">>>V4L_SINK:
Actually buffer status:
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)"> hardware buffer :
12
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)"> software buffer :
0
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">Pipeline is
PREROLLED ...
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">Setting pipeline to
PLAYING ...
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">full screen
size:1920x1080
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">[V4L Update
Display]: left=0, top=0, width=1920, height=1080
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">set v4l display crop
sucessfully
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">New clock:
GstSystemClock
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%">
</p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">(gst-launch-0.10:734):
GStreamer-CRITICAL **: gst_buffer_create_sub: assertion
'buffer->mini_object.refcount > 0' failed
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%">
</p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">(gst-launch-0.10:734):
GStreamer-CRITICAL **: gst_mini_object_unref: assertion
'mini_object->refcount > 0' failed
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%">
</p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">**
(gst-launch-0.10:734): CRITICAL **: gst_base_parse_push_frame:
assertion 'frame->buffer != NULL' failed
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">ERROR: from element
/GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data flow
error.
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">Additional debug
info:
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">/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:
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">streaming task
paused, reason error (-5)
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">Execution ended
after 1523804333 ns.
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">Setting pipeline to
PAUSED ...
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">Running time
0:00:01.634884667 render fps 3.058
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">Setting pipeline to
READY ...
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%">
</p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">(gst-launch-0.10:734):
GStreamer-CRITICAL **: gst_mini_object_unref: assertion
'mini_object->refcount > 0' failed
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">Setting pipeline to
NULL ...
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(204,204,204)">Total rendered:5
</span></p><span style="background-color:rgb(204,204,204)">
</span><p style="margin-bottom:0cm;line-height:100%"><span style="background-color:rgb(153,153,153)"><span style="background-color:rgb(204,204,204)">Freeing pipeline
...</span>
</span></p><img alt="Images intégrées 2" src="cid:ii_149808ecd0a343a7" height="211" width="535"><br></div><div><br>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?<br><br></div><div>Pierre,<br></div><div>Regards.<br></div></div>
</div><br></div>