Gstreamer not playing videos in weston/wayland

Abin P abinp12 at gmail.com
Thu Sep 29 07:05:06 UTC 2016


Hi

I didn't get exact issue with pipeline. I think some sort of buffer issue.
I tried with gst-launch-1.0 filesrc location=sample.bgra !
Video/raw,format=BGRx, width=352,height=288, framerate=25/1 !  Waylandsink
The result have same buffer error and a blue line on the display.
Actually I build wayland for RcarE2 using yocto 1.6
Weston version-1.5.0
I don't know which rendering mechanism using because both EGL and pixman
libraries are present in my  RcarE2.
Egl library versions
Libwayland-egl1-10.1.3
Libegl1-1.0
Libegl-dev-1.0
Pixman library version
Libpixman-1-0.0.32.6
Please help me to solve buffer issue.

Thanks abin

On Thursday, September 29, 2016, sudipj <sudipj79 at gmail.com> wrote:

> Abin,
>
> Do you get the issue with this pipeline ?
>
> gst-launch-1.0 filesrc location=sample.bgra !  video/raw, format=BGRx,
>  width=352, height=288, framerate=25/1 !  waylandsink ?
>
> Which is your wayland version and the rendering mechanism (pixman, EGL) ?
>
> ,
> Sudip
>
> On 29 September 2016 at 08:44, Abin P [via GStreamer-devel] <[hidden
> email] <http:///user/SendEmail.jtp?type=node&node=4679848&i=0>> wrote:
>
>> Dear sudipj
>>
>> I tried to add caps in gstreamer pipeline like
>> "gst-launch-1.0 videotestsrc !  Video/x-raw, format=BGRx !
>> Waylandsink".its working successfully.
>> Then i tried with a BGRA video like
>> "gst-launch-1.0 filesrc location=sample.bgra !  Video/raw, format=BGRA,
>>  width=352, height=288, framerate=25/1 !  Waylandsink"
>> I got a green line in display  with errors like
>> (gst-launch-1.0:442):Gstreamer-CRITICAL **:gst_buffer_fill: assertion
>> 'GST_IS_BUFFER(buffer)'  failed caught SIGENV
>> #0 0Xb6c27380 in poll() from /lib/libc.so.6
>> #1 0xb6f414c0 in?? ()
>> Spinning. Please run 'gdb gst-launch-1.0 442' to continue debugging
>>
>> So i debugged it. That i attached with this mail.
>> Then i used another pipeline
>> "gst-launch-1.0 filesrc location=sample.bgra !  Videoparse width=352
>> height=288 format=8 !  Videoconvert ! Waylandsink ".
>> I got a freeze image on the display, video not playing and showing same
>> error.
>> I think some buffer error behind it. I am using gstreamer 1.4.1
>>
>> Thanks and regards
>> Abin
>>
>> On Tuesday, September 27, 2016, sudipj <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=4679847&i=0>> wrote:
>>
>>> Can you try gst-launch-1.0 videotestsrc ! video/x-raw, format=BGRx !
>>> waylandsink. If you change to format=I420, you should see the same error.
>>>
>>> Wayland supports only RGB formats(BGRA, BGRx, RGB16) , but for some
>>> reasons other formats are also included in the caps.
>>>
>>> Sudip
>>>
>>>
>>> On 27 September 2016 at 21:52, Abin P [via GStreamer-devel] <[hidden
>>> email] <http:///user/SendEmail.jtp?type=node&node=4679821&i=0>> wrote:
>>>
>>>> Thanks sudipj
>>>>
>>>> I already checked waylandsink with wayland flower experiment and
>>>> EGLWLMOCK NAVIGATION  its works fine.
>>>> I am here attaching debug log. Using
>>>> Gst-launch-1.0 videotestsrc !  Videoconvert !  Waylandsink - -
>>>> gst-debug=*sink*:5
>>>>
>>>> Thanks
>>>> Abin
>>>>
>>>> On Sep 26, 2016 1:53 PM, "sudipj" <[hidden email]
>>>> <http:///user/SendEmail.jtp?type=node&node=4679817&i=0>> wrote:
>>>>
>>>>> Can you try  gst-launch-1.0 videotestsrc ! videoconvert ! waylandsink
>>>>> ?
>>>>>
>>>>> Regards,
>>>>> Sudip
>>>>>
>>>>> On 26 September 2016 at 11:18, Abin P [via GStreamer-devel] <[hidden
>>>>> email] <http:///user/SendEmail.jtp?type=node&node=4679770&i=0>> wrote:
>>>>>
>>>>>> Hi I am trying t build a player in R car-E2 (arm based board).I
>>>>>> already build weston /wayland ,gststreamer-1.0 and waylandsink in R car-E2.
>>>>>> I checked all the plugins using gst-inspect-1.0.Then i started to test
>>>>>> video rendering as " gst-launch-1.0 videotestsrc ! waylandsink.I got plenty
>>>>>> of errors like ERROR:from element /Gstpipeline:pipeline0/GstvVideoTestSrc:videotestsrc0:
>>>>>> Internal data flow error Additional debug info:
>>>>>> gstreamer-1.4.1/libs/gst/base/gstbasesrc.c(2933):gst_base_sr
>>>>>> c_loop():/GstVideoTestSrc:videotestsrc0: streaming task paused,
>>>>>> reason not negotiated (-4) ERROR:pipeline doesn't want to preroll." .Can
>>>>>> anyone help me to solve this problem.I debugged with GST_DEBUG=4
>>>>>> gst-launch-1.0 videotestsrc ! waylandsink.
>>>>>>
>>>>>> regards Abin
>>>>>>
>>>>>> _______________________________________________
>>>>>> gstreamer-devel mailing list
>>>>>> [hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=4679767&i=0>
>>>>>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>>>>
>>>>>>
>>>>>> ------------------------------
>>>>>> If you reply to this email, your message will be added to the
>>>>>> discussion below:
>>>>>> http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-not-pl
>>>>>> aying-videos-in-weston-wayland-tp4679767.html
>>>>>> To start a new topic under GStreamer-devel, email [hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=4679770&i=1>
>>>>>> To unsubscribe from GStreamer-devel, click here.
>>>>>> NAML
>>>>>> <http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>>
>>>>>
>>>>>
>>>>> ------------------------------
>>>>> View this message in context: Re: Gstreamer not playing videos in
>>>>> weston/wayland
>>>>> <http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-not-playing-videos-in-weston-wayland-tp4679767p4679770.html>
>>>>> Sent from the GStreamer-devel mailing list archive
>>>>> <http://gstreamer-devel.966125.n4.nabble.com/> at Nabble.com.
>>>>>
>>>>> _______________________________________________
>>>>> gstreamer-devel mailing list
>>>>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4679817&i=1>
>>>>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>>>
>>>>>
>>>> _______________________________________________
>>>> gstreamer-devel mailing list
>>>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4679817&i=2>
>>>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>>
>>>> *log.txt* (24K) Download Attachment
>>>> <http://gstreamer-devel.966125.n4.nabble.com/attachment/4679817/0/log.txt>
>>>>
>>>>
>>>> ------------------------------
>>>> If you reply to this email, your message will be added to the
>>>> discussion below:
>>>> http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-not-pl
>>>> aying-videos-in-weston-wayland-tp4679767p4679817.html
>>>> To start a new topic under GStreamer-devel, email [hidden email]
>>>> <http:///user/SendEmail.jtp?type=node&node=4679821&i=1>
>>>> To unsubscribe from GStreamer-devel, click here.
>>>> NAML
>>>> <http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>
>>>
>>>
>>> ------------------------------
>>> View this message in context: Re: Gstreamer not playing videos in
>>> weston/wayland
>>> <http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-not-playing-videos-in-weston-wayland-tp4679767p4679821.html>
>>> Sent from the GStreamer-devel mailing list archive
>>> <http://gstreamer-devel.966125.n4.nabble.com/> at Nabble.com.
>>>
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4679847&i=1>
>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>> *log2.txt* (5K) Download Attachment
>> <http://gstreamer-devel.966125.n4.nabble.com/attachment/4679847/0/log2.txt>
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-not-pl
>> aying-videos-in-weston-wayland-tp4679767p4679847.html
>> To start a new topic under GStreamer-devel, email [hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=4679848&i=1>
>> To unsubscribe from GStreamer-devel, click here.
>> NAML
>> <http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
> ------------------------------
> View this message in context: Re: Gstreamer not playing videos in
> weston/wayland
> <http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-not-playing-videos-in-weston-wayland-tp4679767p4679848.html>
> Sent from the GStreamer-devel mailing list archive
> <http://gstreamer-devel.966125.n4.nabble.com/> at Nabble.com.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160929/0c0fe506/attachment.html>


More information about the gstreamer-devel mailing list