Gstreamer not playing videos in weston/wayland
Abin P
abinp12 at gmail.com
Fri Sep 30 14:07:30 UTC 2016
Hi sudip
I tried to play like this
Gst-play-1.0 filesrc location=/home/root/sample.bgra -
-videosink=waylandsink
I got errors like
Error resource not found for file://home/root/filesrc
Error resource not found.
Pls help me
Regards Abin
On Friday, September 30, 2016, sudipj <sudipj79 at gmail.com> wrote:
> That means it's not a wayland issue. Can you try a simple playback using a
> standard video stream, for e.g
>
> gst-play-1.0 filesrc location = <path/stream > --videosink = waylandsink
>
> Sudip
>
> On 30 September 2016 at 17:56, Abin P [via GStreamer-devel] <[hidden
> email] <http:///user/SendEmail.jtp?type=node&node=4679885&i=0>> wrote:
>
>> I checked with fbdevsink. Its getting error and glisink not installed in
>> my arm board. Same buffer issue again comes.
>> Thanks
>> Abin
>>
>> On Friday, September 30, 2016, Abin P <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=4679884&i=0>> wrote:
>>
>>> Hi sudip
>>>
>>> With videoparser
>>> Gst-launch-1.0 filesrc location=sample.bgra ! Videoparse width=352
>>> height =288 framerate=25/1 format=brgx ! Waylandsink
>>>
>>> I get first video frame, a freezed image on window. Video not playing
>>> and getting buffer error.
>>> Regards Abin
>>>
>>> On Friday, September 30, 2016, Sudip Jain <<a
>>> href="javascript:_e(%7B%7D,'cvml',&#[hidden email]
>>> <http:///user/SendEmail.jtp?type=node&node=4679885&i=1>');"
>>> target="_blank">sudipj79 at ...> wrote:
>>>
>>>>
>>>>
>>>> On 30 September 2016 at 15:20, Abin P <[hidden email]
>>>> <http:///user/SendEmail.jtp?type=node&node=4679884&i=1>> wrote:
>>>>
>>>>>
>>>>>
>>>>> ---------- Forwarded message ----------
>>>>> From: *Abin P* <[hidden email]
>>>>> <http:///user/SendEmail.jtp?type=node&node=4679884&i=2>>
>>>>> Date: Friday, September 30, 2016
>>>>> Subject: Gstreamer not playing videos in weston/wayland
>>>>> To: Discussion of the development of and with GStreamer <[hidden
>>>>> email] <http:///user/SendEmail.jtp?type=node&node=4679884&i=3>ktop.org
>>>>> >
>>>>>
>>>>>
>>>>> Thanks sudip
>>>>>
>>>>> I tried with
>>>>> Gst-launch1-0 videotestsrc ! Video/x-raw, format =BGRA,
>>>>> width=352,height=288,framerate=25/1 ! Waylandsink
>>>>>
>>>>
>>>> Where is the video parse element ?
>>>> You don't need videoconvert
>>>>
>>>>
>>>>> I get currect the output.
>>>>> But when tried to play using
>>>>> Gst-launch-1.0 filesrc location=sample.bgra ! Video/x-raw, format
>>>>> =BGRX, width=352,height =288,framerate =25/1 ! videoconvert ! Waylandsink.
>>>>> I get a black window that i am attaching with this mail. I am already
>>>>> specified my gstreamer version and weston version. I dont know why video
>>>>> not showing on this window.
>>>>> Regards
>>>>> Abin
>>>>>
>>>>>
>>>>> On Friday, September 30, 2016, sudipj <[hidden email]
>>>>> <http:///user/SendEmail.jtp?type=node&node=4679884&i=4>> wrote:
>>>>>
>>>>>> Abin,
>>>>>>
>>>>>> I can play sample.bgra with no issues http://paste.ubuntu.com/232542
>>>>>> 94/
>>>>>>
>>>>>> Does this work ?
>>>>>> gst-launch-1.0 videotestsrc ! video/x-raw, format=BGRA, width=352,
>>>>>> height=288, framerate=25/1 ! waylandsink
>>>>>>
>>>>>> Sudip
>>>>>>
>>>>>> On 30 September 2016 at 10:32, Abin P [via GStreamer-devel] <[hidden
>>>>>> email] <http:///user/SendEmail.jtp?type=node&node=4679862&i=0>>
>>>>>> wrote:
>>>>>>
>>>>>>> Dear nicolas, sudip
>>>>>>>
>>>>>>> Thank you for helping me.
>>>>>>> Actually i did pipeline using videoparse and i already posted
>>>>>>> before.
>>>>>>> When using videoparse getting a freezed image, no video playing and
>>>>>>> getting error like
>>>>>>>
>>>>>>> (gst-launch-1.0:290) Gstreamer-CRITICAL **:gst_buffer_fill:assertion
>>>>>>> 'GST_IS_BUFFER(buffer)' failed
>>>>>>> caught SIGSEGV
>>>>>>> #0 0Xb6bfc380 in poll () from /lib/libc. So. 6
>>>>>>> #1 0xb6f164c0 in?? ()
>>>>>>> Spinning. Please run gdb gst-launch-1.0 290' to continue debugging.
>>>>>>>
>>>>>>> Buffer error still there. How can i solve it. Please help me
>>>>>>> Thanks and regards
>>>>>>> Abin
>>>>>>>
>>>>>>> On Thursday, September 29, 2016, sudipj <[hidden email]
>>>>>>> <http:///user/SendEmail.jtp?type=node&node=4679860&i=0>> wrote:
>>>>>>>
>>>>>>>> Abin,
>>>>>>>>
>>>>>>>> Yeah.. you need to use videoparse for raw files. This should work ..
>>>>>>>>
>>>>>>>> gst-launch-1.0 filesrc location= sample.bgra ! videoparse
>>>>>>>> format=bgrx width=352 height=288 framerate=25/1 ! waylandsink
>>>>>>>>
>>>>>>>> Sudip
>>>>>>>>
>>>>>>>> On 29 September 2016 at 20:31, Nicolas Dufresne-4 [via
>>>>>>>> GStreamer-devel] <[hidden email]
>>>>>>>> <http:///user/SendEmail.jtp?type=node&node=4679856&i=0>> wrote:
>>>>>>>>
>>>>>>>>> Le mercredi 28 septembre 2016 à 20:46 -0700, sudipj a écrit :
>>>>>>>>> > 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 ?
>>>>>>>>>
>>>>>>>>> Raw files need to be frames, you can't just read them from files
>>>>>>>>> in 4kb
>>>>>>>>> chunk. Use videoparse element, or at least set the appropriate
>>>>>>>>> size.
>>>>>>>>>
>>>>>>>>> >
>>>>>>>>> > 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]> 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]> 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]> 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]> 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]> 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_src_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]
>>>>>>>>> > > > > > > https://lists.freedesktop.org/
>>>>>>>>> mailman/listinfo/gstreamer-de
>>>>>>>>> > > > > > > vel
>>>>>>>>> > > > > > >
>>>>>>>>> > > > > > >
>>>>>>>>> > > > > > > If you reply to this email, your message will be added
>>>>>>>>> to
>>>>>>>>>
>>>>>>>>> > > > > > > the discussion below:
>>>>>>>>> > > > > > > http://gstreamer-devel.966125.
>>>>>>>>> n4.nabble.com/Gstreamer-not-p
>>>>>>>>> > > > > > > laying-videos-in-weston-wayland-tp4679767.html
>>>>>>>>> > > > > > > To start a new topic under GStreamer-devel, email
>>>>>>>>> [hidden
>>>>>>>>> > > > > > > email]
>>>>>>>>> > > > > > > To unsubscribe from GStreamer-devel, click here.
>>>>>>>>> > > > > > > NAML
>>>>>>>>> > > > > > >
>>>>>>>>> > > > > >
>>>>>>>>> > > > > >
>>>>>>>>> > > > > > View this message in context: Re: Gstreamer not playing
>>>>>>>>>
>>>>>>>>> > > > > > videos in weston/wayland
>>>>>>>>> > > > > > Sent from the GStreamer-devel mailing list archive at
>>>>>>>>> > > > > > Nabble.com.
>>>>>>>>> > > > > >
>>>>>>>>> > > > > > _______________________________________________
>>>>>>>>> > > > > > gstreamer-devel mailing list
>>>>>>>>> > > > > > [hidden email]
>>>>>>>>> > > > > > https://lists.freedesktop.org/
>>>>>>>>> mailman/listinfo/gstreamer-deve
>>>>>>>>> > > > > > l
>>>>>>>>> > > > > >
>>>>>>>>> > > > > >
>>>>>>>>> > > > >
>>>>>>>>> > > > > _______________________________________________
>>>>>>>>> > > > > gstreamer-devel mailing list
>>>>>>>>> > > > > [hidden email]
>>>>>>>>> > > > > https://lists.freedesktop.org/
>>>>>>>>> mailman/listinfo/gstreamer-devel
>>>>>>>>> > > > >
>>>>>>>>> > > > > log.txt (24K) Download Attachment
>>>>>>>>> > > > >
>>>>>>>>> > > > >
>>>>>>>>> > > > > If you reply to this email, your message will be added to
>>>>>>>>> the
>>>>>>>>> > > > > discussion below:
>>>>>>>>> > > > > http://gstreamer-devel.966125.
>>>>>>>>> n4.nabble.com/Gstreamer-not-playi
>>>>>>>>> > > > > ng-videos-in-weston-wayland-tp4679767p4679817.html
>>>>>>>>> > > > > To start a new topic under GStreamer-devel, email [hidden
>>>>>>>>> > > > > email]
>>>>>>>>> > > > > To unsubscribe from GStreamer-devel, click here.
>>>>>>>>> > > > > NAML
>>>>>>>>> > > > >
>>>>>>>>> > > >
>>>>>>>>> > > >
>>>>>>>>> > > > View this message in context: Re: Gstreamer not playing
>>>>>>>>> videos in
>>>>>>>>> > > > weston/wayland
>>>>>>>>> > > > Sent from the GStreamer-devel mailing list archive at
>>>>>>>>> Nabble.com.
>>>>>>>>> > > >
>>>>>>>>> > >
>>>>>>>>> > > _______________________________________________
>>>>>>>>> > > gstreamer-devel mailing list
>>>>>>>>> > > [hidden email]
>>>>>>>>> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>>>>>>> > >
>>>>>>>>> > > log2.txt (5K) Download Attachment
>>>>>>>>> > >
>>>>>>>>> > >
>>>>>>>>> > > 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-v
>>>>>>>>> > > ideos-in-weston-wayland-tp4679767p4679847.html
>>>>>>>>> > > To start a new topic under GStreamer-devel, email [hidden
>>>>>>>>> email]
>>>>>>>>> > > To unsubscribe from GStreamer-devel, click here.
>>>>>>>>> > > NAML
>>>>>>>>> > >
>>>>>>>>> >
>>>>>>>>> >
>>>>>>>>> > View this message in context: Re: Gstreamer not playing videos
>>>>>>>>> in
>>>>>>>>> > weston/wayland
>>>>>>>>> > Sent from the GStreamer-devel mailing list archive at
>>>>>>>>> Nabble.com.
>>>>>>>>> > _______________________________________________
>>>>>>>>> > gstreamer-devel mailing list
>>>>>>>>> > [hidden email]
>>>>>>>>> <http:///user/SendEmail.jtp?type=node&node=4679855&i=0>
>>>>>>>>> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>>>>>>> _______________________________________________
>>>>>>>>> gstreamer-devel mailing list
>>>>>>>>> [hidden email]
>>>>>>>>> <http:///user/SendEmail.jtp?type=node&node=4679855&i=1>
>>>>>>>>> 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-tp4679767p4679855.html
>>>>>>>>> To start a new topic under GStreamer-devel, email [hidden email]
>>>>>>>>> <http:///user/SendEmail.jtp?type=node&node=4679856&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-tp4679767p4679856.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=4679860&i=1>
>>>>>>> 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-tp4679767p4679860.html
>>>>>>> To start a new topic under GStreamer-devel, email [hidden email]
>>>>>>> <http:///user/SendEmail.jtp?type=node&node=4679862&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-tp4679767p4679862.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=4679884&i=5>
>> 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-tp4679767p4679884.html
>> To start a new topic under GStreamer-devel, email [hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=4679885&i=2>
>> 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-tp4679767p4679885.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/20160930/ce4cf792/attachment-0001.html>
More information about the gstreamer-devel
mailing list