Gstreamer not playing videos in weston/wayland
Abin P
abinp12 at gmail.com
Wed Sep 28 14:45:53 UTC 2016
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 <sudipj79 at gmail.com> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160928/e08d9208/attachment-0001.html>
-------------- next part --------------
GNU gdb (GDB) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-poky-linux-gnueabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from gst-launch-1.0...(no debugging symbols found)...done.
Attaching to program: /usr/bin/gst-launch-1.0, process 442
Reading symbols from /usr/lib/libgstreamer-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgstreamer-1.0.so.0
Reading symbols from /usr/lib/libgobject-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgobject-2.0.so.0
Reading symbols from /usr/lib/libglib-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libglib-2.0.so.0
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
To enable execution of this file add
add-auto-load-safe-path /lib/libthread_db-1.0.so
line to your configuration file "/home/root/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/home/root/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/lib/libffi.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libffi.so.6
Reading symbols from /usr/lib/libgmodule-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgmodule-2.0.so.0
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/ld-linux-armhf.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux-armhf.so.3
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /usr/lib/gstreamer-1.0/libgstcoreelements.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/gstreamer-1.0/libgstcoreelements.so
Reading symbols from /usr/lib/libgstbase-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgstbase-1.0.so.0
Reading symbols from /usr/lib/gstreamer-1.0/libgstwaylandsink.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/gstreamer-1.0/libgstwaylandsink.so
Reading symbols from /usr/lib/libgstvideo-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgstvideo-1.0.so.0
Reading symbols from /usr/lib/liborc-0.4.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/liborc-0.4.so.0
Reading symbols from /usr/lib/libkms.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libkms.so.1
Reading symbols from /usr/lib/libwayland-kms.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libwayland-kms.so.0
Reading symbols from /usr/lib/libwayland-server.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libwayland-server.so.0
Reading symbols from /usr/lib/libdrm.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdrm.so.2
Reading symbols from /usr/lib/libgstallocators-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgstallocators-1.0.so.0
Reading symbols from /usr/lib/libwayland-client.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libwayland-client.so.0
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
0xb6c27380 in poll () from /lib/libc.so.6
More information about the gstreamer-devel
mailing list