<div dir="ltr"><div>Abin,<br><br>Yeah.. you need to use videoparse for raw files. This should work ..<br><br>gst-launch-1.0 filesrc location= sample.bgra ! videoparse format=bgrx width=352 height=288 framerate=25/1 ! waylandsink<br><br></div>Sudip<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 29 September 2016 at 20:31, Nicolas Dufresne-4 [via GStreamer-devel] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4679856&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Le mercredi 28 septembre 2016 à 20:46 -0700, sudipj a écrit :
<br>> Abin,
<br>>
<br>> Do you get the issue with this pipeline ?
<br>>
<br>> gst-launch-1.0 filesrc location=sample.bgra ! video/raw,
<br>> format=BGRx, width=352, height=288, framerate=25/1 ! waylandsink ?
<br><br></span>Raw files need to be frames, you can't just read them from files in 4kb
<br>chunk. Use videoparse element, or at least set the appropriate size.
<br><div><span class=""><br>>
<br>> Which is your wayland version and the rendering mechanism (pixman,
<br>> EGL) ?
<br>>
<br>> ,
<br>> Sudip
<br>>
<br></span>> On 29 September 2016 at 08:44, Abin P [via GStreamer-devel] <[hidden
<br><div><div class="h5">> email]> wrote:
<div class='shrinkable-quote'><br>> > Dear sudipj
<br>> >
<br>> > I tried to add caps in gstreamer pipeline like
<br>> > "gst-launch-1.0 videotestsrc ! Video/x-raw, format=BGRx !
<br>> > Waylandsink".its working successfully.
<br>> > Then i tried with a BGRA video like
<br>> > "gst-launch-1.0 filesrc location=sample.bgra ! Video/raw,
<br>> > format=BGRA, width=352, height=288, framerate=25/1 ! Waylandsink"
<br>> > I got a green line in display with errors like
<br>> > (gst-launch-1.0:442):<wbr>Gstreamer-CRITICAL **:gst_buffer_fill:
<br>> > assertion 'GST_IS_BUFFER(buffer)' failed caught SIGENV
<br>> > #0 0Xb6c27380 in poll() from /lib/libc.so.6
<br>> > #1 0xb6f414c0 in?? ()
<br>> > Spinning. Please run 'gdb gst-launch-1.0 442' to continue
<br>> > debugging
<br>> >
<br>> > So i debugged it. That i attached with this mail.
<br>> > Then i used another pipeline
<br>> > "gst-launch-1.0 filesrc location=sample.bgra ! Videoparse
<br>> > width=352 height=288 format=8 ! Videoconvert ! Waylandsink ".
<br>> > I got a freeze image on the display, video not playing and showing
<br>> > same error.
<br>> > I think some buffer error behind it. I am using gstreamer 1.4.1
<br>> >
<br>> > Thanks and regards
<br>> > Abin
<br>> >
<br>> > On Tuesday, September 27, 2016, sudipj <[hidden email]> wrote:
<br>> > > Can you try gst-launch-1.0 videotestsrc ! video/x-raw,
<br>> > > format=BGRx ! waylandsink. If you change to format=I420, you
<br>> > > should see the same error.
<br>> > >
<br>> > > Wayland supports only RGB formats(BGRA, BGRx, RGB16) , but for
<br>> > > some reasons other formats are also included in the caps.
<br>> > >
<br>> > > Sudip
<br>> > >
<br>> > >
<br>> > > On 27 September 2016 at 21:52, Abin P [via GStreamer-devel]
<br>> > > <[hidden email]> wrote:
<br>> > > > Thanks sudipj
<br>> > > > I already checked waylandsink with wayland flower experiment
<br>> > > > and EGLWLMOCK NAVIGATION its works fine.
<br>> > > > I am here attaching debug log. Using
<br>> > > > Gst-launch-1.0 videotestsrc ! Videoconvert ! Waylandsink - -
<br>> > > > gst-debug=*sink*:5
<br>> > > > Thanks
<br>> > > > Abin
<br>> > > >
<br>> > > > On Sep 26, 2016 1:53 PM, "sudipj" <[hidden email]> wrote:
<br>> > > > > Can you try gst-launch-1.0 videotestsrc ! videoconvert !
<br>> > > > > waylandsink ?
<br>> > > > >
<br>> > > > > Regards,
<br>> > > > > Sudip
<br>> > > > >
<br>> > > > > On 26 September 2016 at 11:18, Abin P [via GStreamer-devel]
<br>> > > > > <[hidden email]> wrote:
<br>> > > > > > Hi I am trying t build a player in R car-E2 (arm based
<br>> > > > > > board).I already build weston /wayland ,gststreamer-1.0 and
<br>> > > > > > waylandsink in R car-E2. I checked all the plugins using
<br>> > > > > > gst-inspect-1.0.Then i started to test video rendering as "
<br>> > > > > > gst-launch-1.0 videotestsrc ! waylandsink.I got plenty of
<br>> > > > > > errors like ERROR:from element
<br>> > > > > > /Gstpipeline:pipeline0/<wbr>GstvVideoTestSrc:<wbr>videotestsrc0:
<br>> > > > > > Internal data flow error Additional debug info: gstreamer-
<br>> > > > > > 1.4.1/libs/gst/base/<wbr>gstbasesrc.c(2933):gst_base_<wbr>src_loop():
<br>> > > > > > /GstVideoTestSrc:<wbr>videotestsrc0: streaming task paused,
<br>> > > > > > reason not negotiated (-4) ERROR:pipeline doesn't want to
<br>> > > > > > preroll." .Can anyone help me to solve this problem.I
<br>> > > > > > debugged with GST_DEBUG=4 gst-launch-1.0 videotestsrc !
<br>> > > > > > waylandsink.
<br>> > > > > > regards Abin
<br>> > > > > >
<br>> > > > > > ______________________________<wbr>_________________
<br>> > > > > > gstreamer-devel mailing list
<br>> > > > > > [hidden email]
<br>> > > > > > <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-de" rel="nofollow" link="external" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-de</a><br>> > > > > > vel
<br>> > > > > >
<br>> > > > > >
</div></div></div><span class="">> > > > > > If you reply to this email, your message will be added to
<div class='shrinkable-quote'><br>> > > > > > the discussion below:
<br>> > > > > > <a href="http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-not-p" rel="nofollow" link="external" target="_blank">http://gstreamer-devel.966125.<wbr>n4.nabble.com/Gstreamer-not-p</a><br>> > > > > > laying-videos-in-weston-<wbr>wayland-tp4679767.html
<br>> > > > > > To start a new topic under GStreamer-devel, email [hidden
<br>> > > > > > email]
<br>> > > > > > To unsubscribe from GStreamer-devel, click here.
<br>> > > > > > NAML
<br>> > > > > >
<br>> > > > >
<br>> > > > >
</div></span><span class="">> > > > > View this message in context: Re: Gstreamer not playing
<div class='shrinkable-quote'><br>> > > > > videos in weston/wayland
<br>> > > > > Sent from the GStreamer-devel mailing list archive at
<br>> > > > > Nabble.com.
<br>> > > > >
<br>> > > > > ______________________________<wbr>_________________
<br>> > > > > gstreamer-devel mailing list
<br>> > > > > [hidden email]
<br>> > > > > <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-deve" rel="nofollow" link="external" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>deve</a><br>> > > > > l
<br>> > > > >
<br>> > > > >
<br>> > > >
</div></span><span class="">> > > > ______________________________<wbr>_________________
<br>> > > > gstreamer-devel mailing list
<br>> > > > [hidden email]
<br>> > > > <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" link="external" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>> > > >
<br></span>> > > > log.txt (24K) Download Attachment
<br><span class="">> > > >
<br>> > > >
<br>> > > > If you reply to this email, your message will be added to the
<br>> > > > discussion below:
<br>> > > > <a href="http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-not-playi" rel="nofollow" link="external" target="_blank">http://gstreamer-devel.966125.<wbr>n4.nabble.com/Gstreamer-not-<wbr>playi</a><br></span>> > > > ng-videos-in-weston-wayland-<wbr>tp4679767p4679817.html
<br><span class="">> > > > To start a new topic under GStreamer-devel, email [hidden
<br>> > > > email]
<br>> > > > To unsubscribe from GStreamer-devel, click here.
<br>> > > > NAML
<br>> > > >
<br>> > >
<br>> > >
<br></span><span class="">> > > View this message in context: Re: Gstreamer not playing videos in
<br>> > > weston/wayland
<br>> > > Sent from the GStreamer-devel mailing list archive at Nabble.com.
<br>> > >
<br>> >
<br>> > ______________________________<wbr>_________________
<br>> > gstreamer-devel mailing list
<br>> > [hidden email]
<br>> > <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" link="external" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>> >
<br></span>> > log2.txt (5K) Download Attachment
<br><span class="">> >
<br>> >
<br>> > If you reply to this email, your message will be added to the
<br>> > discussion below:
<br>> > <a href="http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-not-playing-v" rel="nofollow" link="external" target="_blank">http://gstreamer-devel.966125.<wbr>n4.nabble.com/Gstreamer-not-<wbr>playing-v</a><br></span>> > ideos-in-weston-wayland-<wbr>tp4679767p4679847.html
<br><span class="">> > To start a new topic under GStreamer-devel, email [hidden email]
<br>> > To unsubscribe from GStreamer-devel, click here.
<br>> > NAML
<br>> >
<br>>
<br>>
<br></span><span class="">> View this message in context: Re: Gstreamer not playing videos in
<br>> weston/wayland
<br>> Sent from the GStreamer-devel mailing list archive at Nabble.com.
<br>> ______________________________<wbr>_________________
<br>> gstreamer-devel mailing list
<br>> <a href="http:///user/SendEmail.jtp?type=node&node=4679855&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br>> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" link="external" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a></span></div><span class="">______________________________<wbr>_________________
<br>gstreamer-devel mailing list
<br><a href="http:///user/SendEmail.jtp?type=node&node=4679855&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" link="external" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br>
<br>
</span><hr noshade size="1" color="#cccccc">
<div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><span class="">
<div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
</span><a href="http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-not-playing-videos-in-weston-wayland-tp4679767p4679855.html" target="_blank" rel="nofollow" link="external">http://gstreamer-devel.966125.<wbr>n4.nabble.com/Gstreamer-not-<wbr>playing-videos-in-weston-<wbr>wayland-tp4679767p4679855.html</a>
</div><div class="HOEnZb"><div class="h5">
<div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To start a new topic under GStreamer-devel, email <a href="/user/SendEmail.jtp?type=node&node=4679856&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a> <br>
To unsubscribe from GStreamer-devel, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
<a href="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" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
</div></div></div></blockquote></div><br></div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-not-playing-videos-in-weston-wayland-tp4679767p4679856.html">Re: Gstreamer not playing videos in weston/wayland</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>